ruby-ng.eclass, ruby-utils.eclass: add ruby23 support

This commit is contained in:
Hans de Graaff
2015-12-26 08:31:24 +01:00
parent ce9344124b
commit 83622c9b1c
2 changed files with 6 additions and 1 deletions

View File

@@ -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

View File

@@ -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"