diff options
-rw-r--r-- | dev-ruby/ferret/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/ferret/ferret-0.11.8.4.ebuild | 18 |
2 files changed, 15 insertions, 12 deletions
diff --git a/dev-ruby/ferret/ChangeLog b/dev-ruby/ferret/ChangeLog index 40ef834c8718..27c2460ab76f 100644 --- a/dev-ruby/ferret/ChangeLog +++ b/dev-ruby/ferret/ChangeLog @@ -1,6 +1,10 @@ -# ChangeLog for dev-ruby/ruby-ferret +# ChangeLog for dev-ruby/ferret # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ferret/ChangeLog,v 1.1 2012/08/16 03:44:08 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ferret/ChangeLog,v 1.2 2012/08/16 14:19:27 flameeyes Exp $ + + 16 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> ferret-0.11.8.4.ebuild: + Simplify; bump to EAPI 4; drop rake dependency for testing and add a + dependency over the tets-unit virtual. 20 Jun 2012; Hans de Graaff <graaff@gentoo.org> -ruby-ferret-0.11.6-r1.ebuild: @@ -46,4 +50,3 @@ 14 Nov 2007; Christian Parpart <trapni@gentoo.org> +ruby-ferret-0.11.4.ebuild: initial import - diff --git a/dev-ruby/ferret/ferret-0.11.8.4.ebuild b/dev-ruby/ferret/ferret-0.11.8.4.ebuild index 8203261182d5..f7de5374e153 100644 --- a/dev-ruby/ferret/ferret-0.11.8.4.ebuild +++ b/dev-ruby/ferret/ferret-0.11.8.4.ebuild @@ -1,14 +1,16 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ferret/ferret-0.11.8.4.ebuild,v 1.1 2012/08/16 03:44:08 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ferret/ferret-0.11.8.4.ebuild,v 1.2 2012/08/16 14:19:27 flameeyes Exp $ -EAPI=2 +EAPI=4 # ruby19 fails tests USE_RUBY="ruby18 ree18" RUBY_FAKEGEM_NAME="ferret" +RUBY_FAKEGEM_RECIPE_TEST="none" + RUBY_FAKEGEM_TASK_DOC="doc" RUBY_FAKEGEM_DOCDIR="doc/api" @@ -24,19 +26,17 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" +ruby_add_bdepend "test? ( virtual/ruby-test-unit )" + each_ruby_configure() { ${RUBY} -Cext extconf.rb || die } each_ruby_compile() { - emake -Cext || die + emake -Cext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" + cp ext/ferret_ext$(get_modname) lib/ || die } each_ruby_test() { - ${RUBY} -Iext:lib test/test_all.rb || die -} - -each_ruby_install() { - mv ext/ferret_ext$(get_modname) lib/ || die - each_fakegem_install + ${RUBY} -Ilib test/test_all.rb || die } |