commit:     c4a5511312e9d7013b29fc1b07ae6f237ab98349
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 30 23:59:19 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 31 00:00:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4a55113

dev-ruby/erb: add ruby40 to 6.0.0, drop ruby40 from 6.0.1

Workaround a collision on (only) 
/usr/lib64/ruby/gems/4.0.0/gems/erb-6.0.1/libexec/erb
by adding ruby40 to 6.0.0 and dropping it from 6.0.1, as 6.0.1 is the exact
version dev-lang/ruby:4.0 installs.

I'll keep the bug open as there may be a better way of doing it.

Bug: https://bugs.gentoo.org/968205
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/erb/erb-6.0.0.ebuild | 2 +-
 dev-ruby/erb/erb-6.0.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/erb/erb-6.0.0.ebuild b/dev-ruby/erb/erb-6.0.0.ebuild
index df7e56f8b2aa..13b7d19abc48 100644
--- a/dev-ruby/erb/erb-6.0.0.ebuild
+++ b/dev-ruby/erb/erb-6.0.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby32 ruby33 ruby34"
+USE_RUBY="ruby32 ruby33 ruby34 ruby40"
 
 # There is an erb binary in exe but that would conflict with the ruby
 # built-in version and other slots.

diff --git a/dev-ruby/erb/erb-6.0.1.ebuild b/dev-ruby/erb/erb-6.0.1.ebuild
index 13b7d19abc48..df7e56f8b2aa 100644
--- a/dev-ruby/erb/erb-6.0.1.ebuild
+++ b/dev-ruby/erb/erb-6.0.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby32 ruby33 ruby34 ruby40"
+USE_RUBY="ruby32 ruby33 ruby34"
 
 # There is an erb binary in exe but that would conflict with the ruby
 # built-in version and other slots.

Reply via email to