mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
dev-ruby/gruff: enable ruby40
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -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_TASK_DOC=""
|
||||
|
||||
@@ -40,11 +40,13 @@ ruby_add_rdepend "
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/test-unit
|
||||
dev-ruby/minitest:5
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/\(reporters\|simplecov\)/I s:^:#:' test/gruff_test_case.rb || die
|
||||
sed -e '/\(reporters\|simplecov\)/I s:^:#:' \
|
||||
-e '2igem "minitest", "~> 5.0"' \
|
||||
-i test/gruff_test_case.rb || die
|
||||
sed -i -e '2irequire "date"' test/test_scatter.rb || die
|
||||
|
||||
sed -e 's/git ls-files/find * -print/' \
|
||||
|
||||
Reference in New Issue
Block a user