diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-12-28 08:35:40 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-12-28 08:46:43 +0100 |
commit | 3ff77a4693b4e89eb6e4290947414d5e39bfbbd0 (patch) | |
tree | 067befe057871154274527150ebb93e49dfdff3b /eclass | |
parent | profiles: add new ruby30 ruby target (diff) | |
download | gentoo-3ff77a4693b4e89eb6e4290947414d5e39bfbbd0.tar.gz gentoo-3ff77a4693b4e89eb6e4290947414d5e39bfbbd0.tar.bz2 gentoo-3ff77a4693b4e89eb6e4290947414d5e39bfbbd0.zip |
ruby-utils.eclass: add support for ruby30
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ruby-utils.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/ruby-utils.eclass b/eclass/ruby-utils.eclass index 45ad3d274028..e5752dca2d7b 100644 --- a/eclass/ruby-utils.eclass +++ b/eclass/ruby-utils.eclass @@ -31,7 +31,7 @@ if [[ ! ${_RUBY_UTILS} ]]; then RUBY_TARGETS_PREFERENCE="ruby26 ruby25 " # All other active ruby targets -RUBY_TARGETS_PREFERENCE+="ruby27" +RUBY_TARGETS_PREFERENCE+="ruby27 ruby30" _ruby_implementation_depend() { @@ -79,6 +79,10 @@ _ruby_implementation_depend() { rubypn="dev-lang/ruby" rubyslot=":2.7" ;; + ruby30) + rubypn="dev-lang/ruby" + rubyslot=":3.0" + ;; ree18) rubypn="dev-lang/ruby-enterprise" rubyslot=":1.8" |