dev-ruby/tty-reader: enable ruby40

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2026-01-15 21:09:52 +01:00
parent a7cba4a431
commit f982f62f2b

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="ruby32 ruby33 ruby34"
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
@@ -30,6 +30,8 @@ ruby_add_rdepend "
"
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
sed -e '/bundler/ s:^:#:' \
-e '2igem "wisper", "~> 2.0"' \
-i spec/spec_helper.rb || die
sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die
}