mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
ruby-ng.eclass, ruby-utils.eclass: add ruby23 support
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user