mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
dev-ruby/minispec-metadata: enable ruby40
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# Copyright 1999-2024 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"
|
||||
|
||||
@@ -15,8 +16,11 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/minitest"
|
||||
ruby_add_rdepend "dev-ruby/minitest:5"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/\(bundler\|awesome_print\)/ s:^:#:' Rakefile spec/helper.rb || die
|
||||
|
||||
sed -e '1igem "minitest", "~> 5.0"' \
|
||||
-i spec/helper.rb || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user