diff options
author | Rick Farina <zerochaos@gentoo.org> | 2013-08-20 15:36:28 +0000 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2013-08-20 15:36:28 +0000 |
commit | 8c3d313f57a12380d0f8dda80e0974c16cea9f26 (patch) | |
tree | a7dc3c5a85842e9b7591e1760e02be7b0b2075c8 /dev-ruby/network_interface | |
parent | use /run instead of /var/run (bug #479714#c1) (diff) | |
download | gentoo-2-8c3d313f57a12380d0f8dda80e0974c16cea9f26.tar.gz gentoo-2-8c3d313f57a12380d0f8dda80e0974c16cea9f26.tar.bz2 gentoo-2-8c3d313f57a12380d0f8dda80e0974c16cea9f26.zip |
make network_interface do something useful, also fix tests
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
Diffstat (limited to 'dev-ruby/network_interface')
-rw-r--r-- | dev-ruby/network_interface/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/network_interface/network_interface-0.0.1-r1.ebuild (renamed from dev-ruby/network_interface/network_interface-0.0.1.ebuild) | 16 |
2 files changed, 18 insertions, 6 deletions
diff --git a/dev-ruby/network_interface/ChangeLog b/dev-ruby/network_interface/ChangeLog index 717f9c38c40e..0477d545430d 100644 --- a/dev-ruby/network_interface/ChangeLog +++ b/dev-ruby/network_interface/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/network_interface # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/network_interface/ChangeLog,v 1.1 2013/08/19 22:41:53 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/network_interface/ChangeLog,v 1.2 2013/08/20 15:36:28 zerochaos Exp $ + +*network_interface-0.0.1-r1 (20 Aug 2013) + + 20 Aug 2013; Rick Farina <zerochaos@gentoo.org> + +network_interface-0.0.1-r1.ebuild, -network_interface-0.0.1.ebuild: + make network_interface do something useful, also fix tests *network_interface-0.0.1 (19 Aug 2013) diff --git a/dev-ruby/network_interface/network_interface-0.0.1.ebuild b/dev-ruby/network_interface/network_interface-0.0.1-r1.ebuild index 10e667cb1dc9..a23749227dc5 100644 --- a/dev-ruby/network_interface/network_interface-0.0.1.ebuild +++ b/dev-ruby/network_interface/network_interface-0.0.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/network_interface/network_interface-0.0.1.ebuild,v 1.1 2013/08/19 22:41:53 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/network_interface/network_interface-0.0.1-r1.ebuild,v 1.1 2013/08/20 15:36:28 zerochaos Exp $ EAPI=5 @@ -8,10 +8,7 @@ USE_RUBY="ruby18 ruby19" RUBY_FAKEGEM_TASK_DOC="" -# Tests depend on unpackaged factory_girl -RUBY_FAKEGEM_RECIPE_TEST="" - -#RUBY_FAKEGEM_EXTRAINSTALL="app db script spec" +RUBY_FAKEGEM_RECIPE_TEST="default" inherit ruby-fakegem @@ -22,3 +19,12 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" IUSE="" + +each_ruby_configure() { + ${RUBY} -C ext/network_interface_ext extconf.rb || die +} + +each_ruby_compile() { + emake -C ext/network_interface_ext + cp ext/network_interface_ext/network_interface_ext.so lib/ || die +} |