1 |
commit: eeb21a009bb31d39881979975dc9a5fd9b643a0c |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 7 09:28:10 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 7 09:44:18 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb21a00 |
7 |
|
8 |
dev-ruby/rspec-its: add ruby24 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
11 |
|
12 |
dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild | 10 +++++++++- |
13 |
1 file changed, 9 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild b/dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild |
16 |
index 695e2213558..45e97645980 100644 |
17 |
--- a/dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild |
18 |
+++ b/dev-ruby/rspec-its/rspec-its-1.2.0-r1.ebuild |
19 |
@@ -2,7 +2,7 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
EAPI=5 |
23 |
-USE_RUBY="ruby20 ruby21 ruby22 ruby23" |
24 |
+USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
25 |
|
26 |
RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
27 |
RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
28 |
@@ -20,3 +20,11 @@ KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 ~x86" |
29 |
IUSE="" |
30 |
|
31 |
ruby_add_rdepend ">=dev-ruby/rspec-core-3.0.0 >=dev-ruby/rspec-expectations-3.0.0" |
32 |
+ |
33 |
+each_ruby_prepare() { |
34 |
+ case ${RUBY} in |
35 |
+ *ruby24) |
36 |
+ sed -i -e 's/Fixnum/Integer/' spec/rspec/its_spec.rb || die |
37 |
+ ;; |
38 |
+ esac |
39 |
+} |