dev-ruby/net-scp: enable ruby33

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff
2024-01-13 09:24:47 +01:00
parent a2e9ebfdc7
commit 5bb973d2f5

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby27 ruby30 ruby31 ruby32"
USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc"
@@ -26,7 +26,8 @@ RESTRICT="!test? ( test )"
ruby_add_bdepend "
doc? ( dev-ruby/net-ssh:7 )
test? (
dev-ruby/mocha:1.0
dev-ruby/mocha:2
dev-ruby/test-unit
)"
ruby_add_rdepend "dev-ruby/net-ssh:7"
@@ -35,6 +36,9 @@ all_ruby_prepare() {
sed -e "s:_relative ': './:" \
-e 's/git ls-files -z/find -print0/' \
-i ${RUBY_FAKEGEM_GEMSPEC} || die
sed -e '/mocha/ s/setup/test_unit/' \
-i test/common.rb || die
}
each_ruby_test() {