summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-12-25 08:33:46 +0100
committerHans de Graaff <graaff@gentoo.org>2018-12-26 08:11:20 +0100
commit4a3325f76793a9a27cafde681143845d360a26c5 (patch)
tree0c3833422bc3784658efae69a56e315ea81e78c2 /eclass/ruby-utils.eclass
parentdev-lang/ruby: add ruby 2.6 (diff)
downloadgentoo-4a3325f76793a9a27cafde681143845d360a26c5.tar.gz
gentoo-4a3325f76793a9a27cafde681143845d360a26c5.tar.bz2
gentoo-4a3325f76793a9a27cafde681143845d360a26c5.zip
eclass/ruby-utils.eclass: add ruby26 support
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'eclass/ruby-utils.eclass')
-rw-r--r--eclass/ruby-utils.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/ruby-utils.eclass b/eclass/ruby-utils.eclass
index 1b3d5a51e633..4406724f380f 100644
--- a/eclass/ruby-utils.eclass
+++ b/eclass/ruby-utils.eclass
@@ -31,7 +31,7 @@ if [[ ! ${_RUBY_UTILS} ]]; then
RUBY_TARGETS_PREFERENCE="ruby24 ruby23 "
# All other active ruby targets
-RUBY_TARGETS_PREFERENCE+="ruby25"
+RUBY_TARGETS_PREFERENCE+="ruby25 ruby26"
_ruby_implementation_depend() {
@@ -71,6 +71,10 @@ _ruby_implementation_depend() {
rubypn="dev-lang/ruby"
rubyslot=":2.5"
;;
+ ruby26)
+ rubypn="dev-lang/ruby"
+ rubyslot=":2.6"
+ ;;
ree18)
rubypn="dev-lang/ruby-enterprise"
rubyslot=":1.8"