1 |
commit: 6a97aab53566516854a609ad550039f8593698b6 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 14 18:54:01 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 14 19:42:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a97aab5 |
7 |
|
8 |
dev-ruby/json: add ruby22 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ruby/json/json-1.8.2-r1.ebuild | 6 +++--- |
13 |
1 file changed, 3 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-ruby/json/json-1.8.2-r1.ebuild b/dev-ruby/json/json-1.8.2-r1.ebuild |
16 |
index a7de3ac6233..e15a6827e7d 100644 |
17 |
--- a/dev-ruby/json/json-1.8.2-r1.ebuild |
18 |
+++ b/dev-ruby/json/json-1.8.2-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" |
24 |
+USE_RUBY="ruby21 ruby22" |
25 |
|
26 |
RUBY_FAKEGEM_TASK_DOC="doc" |
27 |
RUBY_FAKEGEM_EXTRADOC="CHANGES TODO README.rdoc README-json-jruby.markdown" |
28 |
@@ -52,11 +52,11 @@ each_ruby_compile() { |
29 |
|
30 |
each_ruby_test() { |
31 |
JSON=pure \ |
32 |
- ${RUBY} -Iext:lib -S testrb tests/test_*.rb || die "pure ruby tests failed" |
33 |
+ ${RUBY} -Iext:lib -S testrb-2 tests/test_*.rb || die "pure ruby tests failed" |
34 |
|
35 |
if [[ $(basename ${RUBY}) != "jruby" ]]; then |
36 |
JSON=ext \ |
37 |
- ${RUBY} -Iext:lib -S testrb tests/test_*.rb || die "ext ruby tests failed" |
38 |
+ ${RUBY} -Iext:lib -S testrb-2 tests/test_*.rb || die "ext ruby tests failed" |
39 |
fi |
40 |
} |