summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-01-15 07:39:09 +0000
committerHans de Graaff <graaff@gentoo.org>2014-01-15 07:39:09 +0000
commit50d6ab777e88a0b872a794381e795742aa6891c0 (patch)
treed0eca65874c638ad09ded6a1595d3cf537be01b4 /dev-ruby/packetfu
parentApply fixes for bug 495042 suggested by TomWij (thanks): one src_prepare, cor... (diff)
downloadgentoo-2-50d6ab777e88a0b872a794381e795742aa6891c0.tar.gz
gentoo-2-50d6ab777e88a0b872a794381e795742aa6891c0.tar.bz2
gentoo-2-50d6ab777e88a0b872a794381e795742aa6891c0.zip
Version bump. Run tests. Drop unused sdoc dependency. Fix broken USE=doc and install documentation.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/packetfu')
-rw-r--r--dev-ruby/packetfu/ChangeLog10
-rw-r--r--dev-ruby/packetfu/packetfu-1.1.10.ebuild29
2 files changed, 37 insertions, 2 deletions
diff --git a/dev-ruby/packetfu/ChangeLog b/dev-ruby/packetfu/ChangeLog
index b072e61c29cc..d65d023f36a2 100644
--- a/dev-ruby/packetfu/ChangeLog
+++ b/dev-ruby/packetfu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/packetfu
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/packetfu/ChangeLog,v 1.1 2013/12/15 16:34:31 zerochaos Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/packetfu/ChangeLog,v 1.2 2014/01/15 07:39:09 graaff Exp $
+
+*packetfu-1.1.10 (15 Jan 2014)
+
+ 15 Jan 2014; Hans de Graaff <graaff@gentoo.org> +packetfu-1.1.10.ebuild:
+ Version bump. Run tests. Drop unused sdoc dependency. Fix broken USE=doc and
+ install documentation.
*packetfu-1.1.9 (15 Dec 2013)
diff --git a/dev-ruby/packetfu/packetfu-1.1.10.ebuild b/dev-ruby/packetfu/packetfu-1.1.10.ebuild
new file mode 100644
index 000000000000..b44326acade1
--- /dev/null
+++ b/dev-ruby/packetfu/packetfu-1.1.10.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/packetfu/packetfu-1.1.10.ebuild,v 1.1 2014/01/15 07:39:09 graaff Exp $
+
+EAPI=5
+
+# ruby20 fails tests
+USE_RUBY="ruby19"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="A mid-level packet manipulation library"
+HOMEPAGE="https://rubygems.org/gems/packetfu"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+ruby_add_rdepend " >=dev-ruby/pcaprub-0.9.2"
+
+all_ruby_prepare() {
+ # Broken for version numbers with multiple digits...
+ sed -i -e '/reports a version number/,/end/ s:^:#:' spec/packetfu_spec.rb || die
+}