commit: 83622c9b1cd13993a4bc8a676468f9bdea2c737a Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sat Dec 26 07:31:24 2015 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Dec 27 09:21:52 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83622c9b
ruby-ng.eclass, ruby-utils.eclass: add ruby23 support eclass/ruby-ng.eclass | 1 + eclass/ruby-utils.eclass | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index ad25456..4842e0d 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 d365272..9e16d4a 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"