summaryrefslogtreecommitdiff
path: root/eclass/ruby-utils.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-28 10:03:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-28 10:03:38 +0000
commit24a48769f03b243065aec42c384c39a2d2306964 (patch)
tree6ee4e01247ea4cbdae0b2c9e6b88d86658fae0d3 /eclass/ruby-utils.eclass
parent87f37a073fb5c2e1f6ebc780e60cdbdd2c583860 (diff)
gentoo auto-resync : 28:02:2023 - 10:03:37
Diffstat (limited to 'eclass/ruby-utils.eclass')
-rw-r--r--eclass/ruby-utils.eclass10
1 files changed, 7 insertions, 3 deletions
diff --git a/eclass/ruby-utils.eclass b/eclass/ruby-utils.eclass
index 80ec269eaf8b..d34ce47706ad 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
@@ -33,10 +33,10 @@ if [[ ! ${_RUBY_UTILS} ]]; then
# provide for a better first installation experience.
# All stable RUBY_TARGETS
-RUBY_TARGETS_PREFERENCE="ruby27 "
+RUBY_TARGETS_PREFERENCE="ruby30 ruby27 "
# All other active ruby targets
-RUBY_TARGETS_PREFERENCE+="ruby30 ruby31"
+RUBY_TARGETS_PREFERENCE+="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"