commit:     f123c18997c8609ad298b3f0fde7007ceab645c3
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 08:40:15 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 08:13:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f123c189

eclass/ruby-utils.eclass: add ruby32

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 eclass/ruby-utils.eclass | 8 ++++++--
 1 file 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"

Reply via email to