mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07: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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
USE_RUBY="ruby32 ruby33 ruby34"
|
USE_RUBY="ruby32 ruby33 ruby34 ruby40"
|
||||||
|
|
||||||
RUBY_FAKEGEM_TASK_DOC=""
|
RUBY_FAKEGEM_TASK_DOC=""
|
||||||
|
|
||||||
@@ -40,11 +40,13 @@ ruby_add_rdepend "
|
|||||||
|
|
||||||
ruby_add_bdepend "
|
ruby_add_bdepend "
|
||||||
test? (
|
test? (
|
||||||
dev-ruby/test-unit
|
dev-ruby/minitest:5
|
||||||
)"
|
)"
|
||||||
|
|
||||||
all_ruby_prepare() {
|
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 -i -e '2irequire "date"' test/test_scatter.rb || die
|
||||||
|
|
||||||
sed -e 's/git ls-files/find * -print/' \
|
sed -e 's/git ls-files/find * -print/' \
|
||||||
|
|||||||
Reference in New Issue
Block a user