From f98e69ae7a482b0f2bfe0f5ad97aeca0e4a8fa46 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 2 Feb 2026 07:28:57 +0000 Subject: [PATCH] eclass/ruby-utils: Sync with Gentoo It's from Gentoo commit 28010e9c48394e664cd1087b797ee86ae1fb857c. Signed-off-by: Flatcar Buildbot --- .../src/third_party/portage-stable/eclass/ruby-utils.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/ruby-utils.eclass b/sdk_container/src/third_party/portage-stable/eclass/ruby-utils.eclass index f55fcb29af..9f0f7e6c04 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/ruby-utils.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/ruby-utils.eclass @@ -33,17 +33,17 @@ esac # provide for a better first installation experience. # All stable RUBY_TARGETS -RUBY_TARGETS_PREFERENCE="ruby32 " +RUBY_TARGETS_PREFERENCE="ruby32 ruby33 " # All other active ruby targets -RUBY_TARGETS_PREFERENCE+="ruby33 ruby34" +RUBY_TARGETS_PREFERENCE+="ruby34 ruby40" _ruby_implementation_depend() { local rubypn= local rubyslot= case $1 in - ruby1[89]|ruby2[0-7]|ruby3[0-4]) + ruby1[89]|ruby2[0-7]|ruby3[0-4]|ruby40) rubypn="dev-lang/ruby" rubyslot=":${1:4:1}.${1:5}" ;;