summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-02-26 09:40:15 +0100
committerHans de Graaff <graaff@gentoo.org>2023-02-28 09:13:07 +0100
commitf123c18997c8609ad298b3f0fde7007ceab645c3 (patch)
treedd97b6cbe2dc6b0256d97930aa62cded5e9fbbf2
parentdev-util/perf: add 6.2, drop 6.1.11 (diff)
downloadgentoo-f123c189.tar.gz
gentoo-f123c189.tar.bz2
gentoo-f123c189.zip
eclass/ruby-utils.eclass: add ruby32
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--eclass/ruby-utils.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/ruby-utils.eclass b/eclass/ruby-utils.eclass
index 80ec269eaf8b..557e158771c7 100644
--- a/eclass/ruby-utils.eclass
+++ b/eclass/ruby-utils.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: ruby-utils.eclass
@@ -36,7 +36,7 @@ if [[ ! ${_RUBY_UTILS} ]]; then
RUBY_TARGETS_PREFERENCE="ruby27 "
# All other active ruby targets
-RUBY_TARGETS_PREFERENCE+="ruby30 ruby31"
+RUBY_TARGETS_PREFERENCE+="ruby30 ruby31 ruby32"
_ruby_implementation_depend() {
@@ -92,6 +92,10 @@ _ruby_implementation_depend() {
rubypn="dev-lang/ruby"
rubyslot=":3.1"
;;
+ ruby32)
+ rubypn="dev-lang/ruby"
+ rubyslot=":3.2"
+ ;;
ree18)
rubypn="dev-lang/ruby-enterprise"
rubyslot=":1.8"