diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-05-21 07:22:30 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-05-23 07:27:48 +0200 |
commit | 9f8a5a4b8668342f907136b465f49f4e76eb5a55 (patch) | |
tree | edc511b4a63f7081dc952d3133a45c9e7590adda /dev-ruby/fakeweb | |
parent | app-shells/loksh: bump to 6.7 (diff) | |
download | gentoo-9f8a5a4b8668342f907136b465f49f4e76eb5a55.tar.gz gentoo-9f8a5a4b8668342f907136b465f49f4e76eb5a55.tar.bz2 gentoo-9f8a5a4b8668342f907136b465f49f4e76eb5a55.zip |
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 <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/fakeweb')
-rw-r--r-- | dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
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 } |