Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Tue, 28 Feb 2023 08:14:08
Message-Id: 1677571987.f123c18997c8609ad298b3f0fde7007ceab645c3.graaff@gentoo
1 commit: f123c18997c8609ad298b3f0fde7007ceab645c3
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 26 08:40:15 2023 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 08:13:07 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f123c189
7
8 eclass/ruby-utils.eclass: add ruby32
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 eclass/ruby-utils.eclass | 8 ++++++--
13 1 file changed, 6 insertions(+), 2 deletions(-)
14
15 diff --git a/eclass/ruby-utils.eclass b/eclass/ruby-utils.eclass
16 index 80ec269eaf8b..557e158771c7 100644
17 --- a/eclass/ruby-utils.eclass
18 +++ b/eclass/ruby-utils.eclass
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2022 Gentoo Authors
21 +# Copyright 1999-2023 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 # @ECLASS: ruby-utils.eclass
25 @@ -36,7 +36,7 @@ if [[ ! ${_RUBY_UTILS} ]]; then
26 RUBY_TARGETS_PREFERENCE="ruby27 "
27
28 # All other active ruby targets
29 -RUBY_TARGETS_PREFERENCE+="ruby30 ruby31"
30 +RUBY_TARGETS_PREFERENCE+="ruby30 ruby31 ruby32"
31
32
33 _ruby_implementation_depend() {
34 @@ -92,6 +92,10 @@ _ruby_implementation_depend() {
35 rubypn="dev-lang/ruby"
36 rubyslot=":3.1"
37 ;;
38 + ruby32)
39 + rubypn="dev-lang/ruby"
40 + rubyslot=":3.2"
41 + ;;
42 ree18)
43 rubypn="dev-lang/ruby-enterprise"
44 rubyslot=":1.8"