1 |
commit: e2a3718417bcd4f97b65f634de8f183d909d8bf3 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 24 07:41:31 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 24 08:35:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2a37184 |
7 |
|
8 |
dev-ruby/rspec-mocks: add ruby25 |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild | 14 +++++--------- |
13 |
1 file changed, 5 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild |
16 |
index 679cee53e25..b9d7f082005 100644 |
17 |
--- a/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild |
18 |
+++ b/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.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="ruby21 ruby22 ruby23 ruby24" |
24 |
+USE_RUBY="ruby22 ruby23 ruby24 ruby25" |
25 |
|
26 |
RUBY_FAKEGEM_RECIPE_TEST="rspec" |
27 |
|
28 |
@@ -39,13 +39,9 @@ all_ruby_prepare() { |
29 |
|
30 |
# Avoid a weird, and failing, test testing already installed code. |
31 |
sed -e '/has an up-to-date caller_filter file/,/end/ s:^:#:' -i spec/rspec/mocks_spec.rb || die |
32 |
-} |
33 |
|
34 |
-each_ruby_prepare() { |
35 |
- case ${RUBY} in |
36 |
- *ruby22|*ruby23|*ruby24) |
37 |
- # Psych and Syck are not supported by default anymore on ruby22. |
38 |
- rm spec/rspec/mocks/serialization_spec.rb || die |
39 |
- ;; |
40 |
- esac |
41 |
+ # Psych and Syck are not supported by default anymore on ruby22. |
42 |
+ rm spec/rspec/mocks/serialization_spec.rb || die |
43 |
+ |
44 |
+ sed -i -e '/does not affect the ability to access the top-level constant/,/end/ s:^:#:' spec/rspec/mocks/mutate_const_spec.rb || die |
45 |
} |