* [gentoo-commits] repo/gentoo:master commit in: eclass/
@ 2016-12-26 19:17 99% Hans de Graaff
0 siblings, 0 replies; 1+ results
From: Hans de Graaff @ 2016-12-26 19:17 UTC (permalink / raw
To: gentoo-commits
commit: e15fca00e4360cec0ee0a57cf75879a793bc02e9
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 25 07:00:56 2016 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Dec 26 19:16:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e15fca00
ruby-ng.eclass, ruby-utils.eclass: Add ruby24 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 f144c9e..c83778d 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -20,6 +20,7 @@
# * ruby21 - Ruby (MRI) 2.1.x
# * ruby22 - Ruby (MRI) 2.2.x
# * ruby23 - Ruby (MRI) 2.3.x
+# * ruby24 - Ruby (MRI) 2.4.x
# * jruby - JRuby
# * rbx - Rubinius
#
diff --git a/eclass/ruby-utils.eclass b/eclass/ruby-utils.eclass
index 9e16d4a..66ba5e8 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 ruby23"
+RUBY_TARGETS_PREFERENCE+="ruby21 ruby22 ruby23 ruby24"
_ruby_implementation_depend() {
@@ -63,6 +63,10 @@ _ruby_implementation_depend() {
rubypn="dev-lang/ruby"
rubyslot=":2.3"
;;
+ ruby24)
+ rubypn="dev-lang/ruby"
+ rubyslot=":2.4"
+ ;;
ree18)
rubypn="dev-lang/ruby-enterprise"
rubyslot=":1.8"
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-12-26 19:17 99% [gentoo-commits] repo/gentoo:master commit in: eclass/ Hans de Graaff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox