summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-14 03:28:46 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-08-14 03:28:46 +0000
commitcfedc5aac74380979e627e3547180056d1510405 (patch)
tree83eaa7d6b9c6dc7e8f0a230d718617a23785cbc1 /dev-ruby/extlib
parentFix dependencies: hoe is needed for USE=doc, but no longer for USE=test. (diff)
downloadgentoo-2-cfedc5aac74380979e627e3547180056d1510405.tar.gz
gentoo-2-cfedc5aac74380979e627e3547180056d1510405.tar.bz2
gentoo-2-cfedc5aac74380979e627e3547180056d1510405.zip
Port to rspec helper for testing. Bump to EAPI 4.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/extlib')
-rw-r--r--dev-ruby/extlib/ChangeLog6
-rw-r--r--dev-ruby/extlib/extlib-0.9.15.ebuild15
2 files changed, 12 insertions, 9 deletions
diff --git a/dev-ruby/extlib/ChangeLog b/dev-ruby/extlib/ChangeLog
index a177729bd509..ad5d225009d4 100644
--- a/dev-ruby/extlib/ChangeLog
+++ b/dev-ruby/extlib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/extlib
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/extlib/ChangeLog,v 1.4 2012/05/16 16:06:24 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/extlib/ChangeLog,v 1.5 2012/08/14 03:28:46 flameeyes Exp $
+
+ 14 Aug 2012; Diego E. Pettenò <flameeyes@gentoo.org> extlib-0.9.15.ebuild:
+ Port to rspec helper for testing. Bump to EAPI 4.
16 May 2012; Hans de Graaff <graaff@gentoo.org> extlib-0.9.15.ebuild:
Fix USE=doc not to require jeweler, bug 416273. Add ruby19, ree19, jruby.
@@ -18,4 +21,3 @@
19 Feb 2010; Hans de Graaff <graaff@gentoo.org> +extlib-0.9.14.ebuild,
+metadata.xml:
Moved from ruby overlay.
-
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
}