From 9f8a5a4b8668342f907136b465f49f4e76eb5a55 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Thu, 21 May 2020 07:22:30 +0200 Subject: dev-ruby/fakeweb: avoid network tests Closes: https://bugs.gentoo.org/723808 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff --- dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'dev-ruby/fakeweb') diff --git a/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild b/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild index 94a8307834a1..99dd3e6ce4b7 100644 --- a/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild +++ b/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 # ruby26: not compatible -USE_RUBY="ruby23 ruby24 ruby25" +USE_RUBY="ruby24 ruby25" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc" @@ -46,4 +46,7 @@ all_ruby_prepare() { rm test/test_other_net_http_libraries.rb || die sed -i -e '/test:preflight/ s:^:#:' Rakefile || die + + # Avoid tests that require a network connection + sed -i -e '/test_real_https_request/aomit "requires network"' test/test_fake_web.rb || die } -- cgit v1.2.3-65-gdbad