dev-ruby/forwardable-extended: enable ruby40

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2026-01-12 19:46:33 +01:00
parent 818eb6e03e
commit e6d859a94d

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33 ruby34"
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
@@ -20,6 +20,8 @@ SLOT="0"
KEYWORDS="~amd64 ~arm64"
all_ruby_prepare() {
sed -e '/has_rdoc/ s:^:#:' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/\(coverage\|luna\|rspec\/helpers\)/ s:^:#:' spec/rspec/helper.rb || die
rm -f spec/support/coverage.rb || die
}