summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-01-13 09:24:47 +0100
committerHans de Graaff <graaff@gentoo.org>2024-01-13 09:28:43 +0100
commit5bb973d2f54adf5486e7c2bf7d6f59fb84d9d37e (patch)
tree33b5a3d6ee06840fcc758547b6b794ee3d80df71 /dev-ruby/net-scp
parentdev-ruby/http-cookie: enable ruby33 (diff)
downloadgentoo-5bb973d2f54adf5486e7c2bf7d6f59fb84d9d37e.tar.gz
gentoo-5bb973d2f54adf5486e7c2bf7d6f59fb84d9d37e.tar.bz2
gentoo-5bb973d2f54adf5486e7c2bf7d6f59fb84d9d37e.zip
dev-ruby/net-scp: enable ruby33
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/net-scp')
-rw-r--r--dev-ruby/net-scp/net-scp-4.0.0.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-ruby/net-scp/net-scp-4.0.0.ebuild b/dev-ruby/net-scp/net-scp-4.0.0.ebuild
index abc476035535..4472f255fba4 100644
--- a/dev-ruby/net-scp/net-scp-4.0.0.ebuild
+++ b/dev-ruby/net-scp/net-scp-4.0.0.ebuild
@@ -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() {