2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-01-19 00:09:37 +03:00

dev-ruby/sourcemap: enable ruby40

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2026-01-04 07:51:03 +01:00
parent d370da4f39
commit a01a01e397

View File

@@ -1,8 +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_EXTRADOC="README.md"
@@ -17,5 +18,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die
sed -i -e 's/MiniTest/Minitest/' test/test_*.rb || die
sed -e 's/MiniTest/Minitest/' \
-e '1igem "minitest", "~> 5.0"' \
-i test/test_*.rb || die
}