1 |
commit: 4a3325f76793a9a27cafde681143845d360a26c5 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 25 07:33:46 2018 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 26 07:11:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a3325f7 |
7 |
|
8 |
eclass/ruby-utils.eclass: add ruby26 support |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
eclass/ruby-utils.eclass | 6 +++++- |
13 |
1 file changed, 5 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/eclass/ruby-utils.eclass b/eclass/ruby-utils.eclass |
16 |
index 1b3d5a51e63..4406724f380 100644 |
17 |
--- a/eclass/ruby-utils.eclass |
18 |
+++ b/eclass/ruby-utils.eclass |
19 |
@@ -31,7 +31,7 @@ if [[ ! ${_RUBY_UTILS} ]]; then |
20 |
RUBY_TARGETS_PREFERENCE="ruby24 ruby23 " |
21 |
|
22 |
# All other active ruby targets |
23 |
-RUBY_TARGETS_PREFERENCE+="ruby25" |
24 |
+RUBY_TARGETS_PREFERENCE+="ruby25 ruby26" |
25 |
|
26 |
|
27 |
_ruby_implementation_depend() { |
28 |
@@ -71,6 +71,10 @@ _ruby_implementation_depend() { |
29 |
rubypn="dev-lang/ruby" |
30 |
rubyslot=":2.5" |
31 |
;; |
32 |
+ ruby26) |
33 |
+ rubypn="dev-lang/ruby" |
34 |
+ rubyslot=":2.6" |
35 |
+ ;; |
36 |
ree18) |
37 |
rubypn="dev-lang/ruby-enterprise" |
38 |
rubyslot=":1.8" |