diff options
Diffstat (limited to 'dev-ruby/extlib/extlib-0.9.15.ebuild')
-rw-r--r-- | dev-ruby/extlib/extlib-0.9.15.ebuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/dev-ruby/extlib/extlib-0.9.15.ebuild b/dev-ruby/extlib/extlib-0.9.15.ebuild index 36392443b2a4..290d7640cc8e 100644 --- a/dev-ruby/extlib/extlib-0.9.15.ebuild +++ b/dev-ruby/extlib/extlib-0.9.15.ebuild @@ -1,14 +1,14 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/extlib/extlib-0.9.15.ebuild,v 1.2 2012/05/16 16:06:24 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/extlib/extlib-0.9.15.ebuild,v 1.3 2012/08/14 03:28:46 flameeyes Exp $ -EAPI="2" +EAPI=4 USE_RUBY="ruby18 ruby19 ree18 jruby" RUBY_FAKEGEM_TASK_DOC="-f tasks/yard.rake yard" RUBY_FAKEGEM_DOCDIR="doc" RUBY_FAKEGEM_EXTRADOC="README.rdoc" -RUBY_FAKEGEM_TASK_TEST="-f tasks/spec.rake spec" +RUBY_FAKEGEM_RECIPE_TEST="rspec" inherit ruby-fakegem @@ -20,9 +20,10 @@ SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" -ruby_add_bdepend "doc? ( dev-ruby/yard )" -ruby_add_bdepend "test? ( >=dev-ruby/json-1.4.0 >=dev-ruby/rspec-1.3.0 )" +ruby_add_bdepend " + doc? ( dev-ruby/yard ) + test? ( >=dev-ruby/json-1.4.0 )" -each_ruby_prepare() { - sed -i '/check_dependencies/d' tasks/spec.rake || die "Unable to remove check_dependencies rules." +all_ruby_prepare() { + sed -i -e '/spec/d' spec/spec_helper.rb || die } |