summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-12-26 08:31:24 +0100
committerHans de Graaff <graaff@gentoo.org>2015-12-27 10:21:52 +0100
commit83622c9b1cd13993a4bc8a676468f9bdea2c737a (patch)
tree7296439c0036db66b046a40cb287f9e9e5fade23 /eclass
parentprofiles: add ruby_targets_ruby23 USE flag (diff)
downloadgentoo-83622c9b1cd13993a4bc8a676468f9bdea2c737a.tar.gz
gentoo-83622c9b1cd13993a4bc8a676468f9bdea2c737a.tar.bz2
gentoo-83622c9b1cd13993a4bc8a676468f9bdea2c737a.zip
ruby-ng.eclass, ruby-utils.eclass: add ruby23 support
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby-ng.eclass1
-rw-r--r--eclass/ruby-utils.eclass6
2 files changed, 6 insertions, 1 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index ad25456cae5..4842e0dd9f7 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -20,6 +20,7 @@
# * ruby20 - Ruby (MRI) 2.0.x
# * ruby21 - Ruby (MRI) 2.1.x
# * ruby22 - Ruby (MRI) 2.2.x
+# * ruby23 - Ruby (MRI) 2.3.x
# * ree18 - Ruby Enterprise Edition 1.8.x
# * jruby - JRuby
# * rbx - Rubinius
diff --git a/eclass/ruby-utils.eclass b/eclass/ruby-utils.eclass
index d365272c26e..9e16d4ac9bc 100644
--- a/eclass/ruby-utils.eclass
+++ b/eclass/ruby-utils.eclass
@@ -31,7 +31,7 @@ if [[ ! ${_RUBY_UTILS} ]]; then
RUBY_TARGETS_PREFERENCE="ruby20 ruby19 "
# All other active ruby targets
-RUBY_TARGETS_PREFERENCE+="ruby21 ruby22 "
+RUBY_TARGETS_PREFERENCE+="ruby21 ruby22 ruby23"
_ruby_implementation_depend() {
@@ -59,6 +59,10 @@ _ruby_implementation_depend() {
rubypn="dev-lang/ruby"
rubyslot=":2.2"
;;
+ ruby23)
+ rubypn="dev-lang/ruby"
+ rubyslot=":2.3"
+ ;;
ree18)
rubypn="dev-lang/ruby-enterprise"
rubyslot=":1.8"