summaryrefslogtreecommitdiff
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/ruby-utils.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/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 d365272c26e3..9e16d4ac9bc4 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"