summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-03-12 08:20:00 +0100
committerHans de Graaff <graaff@gentoo.org>2022-03-12 08:21:21 +0100
commitaf28a0c7330604bcc44b48aca118b31e8060b33f (patch)
treea3bcd441d84778734c54760aa6b6abe5459a5f7b
parentdev-ruby/rss: add ruby31; EAPI 8 (diff)
downloadgentoo-af28a0c7330604bcc44b48aca118b31e8060b33f.tar.gz
gentoo-af28a0c7330604bcc44b48aca118b31e8060b33f.tar.bz2
gentoo-af28a0c7330604bcc44b48aca118b31e8060b33f.zip
dev-ruby/rbs: add 2.2.2
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/rbs/rbs-2.2.2.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-ruby/rbs/rbs-2.2.2.ebuild b/dev-ruby/rbs/rbs-2.2.2.ebuild
index e7dfc3c0b10e..e107891a5fc4 100644
--- a/dev-ruby/rbs/rbs-2.2.2.ebuild
+++ b/dev-ruby/rbs/rbs-2.2.2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
@@ -39,5 +39,10 @@ all_ruby_prepare() {
# Avoid setup tests since they require a lot of development dependencies.
rm -f test/rbs/test/runtime_test_test.rb || die
+ # Avoid tests requiring a network connection
+ rm -f test/rbs/collection/installer_test.rb test/rbs/collection/collections_test.rb test/rbs/collection/config_test.rb || die
+ sed -i -e '/def test_collection_/aomit "Requires network"' test/rbs/cli_test.rb || die
+ sed -i -e '/def test_loading_from_rbs_collection/aomit "Requires network"' test/rbs/environment_loader_test.rb || die
+
sed -i -e '/def test_paths/aomit "Different paths in Gentoo test environment"' test/rbs/cli_test.rb || die
}