1 |
commit: 9f8a5a4b8668342f907136b465f49f4e76eb5a55 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 21 05:22:30 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 23 05:27:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f8a5a4b |
7 |
|
8 |
dev-ruby/fakeweb: avoid network tests |
9 |
|
10 |
Closes: https://bugs.gentoo.org/723808 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
13 |
|
14 |
dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild | 7 +++++-- |
15 |
1 file changed, 5 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild b/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild |
18 |
index 94a8307834a..99dd3e6ce4b 100644 |
19 |
--- a/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild |
20 |
+++ b/dev-ruby/fakeweb/fakeweb-1.3.0.20170806.ebuild |
21 |
@@ -1,10 +1,10 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
|
28 |
# ruby26: not compatible |
29 |
-USE_RUBY="ruby23 ruby24 ruby25" |
30 |
+USE_RUBY="ruby24 ruby25" |
31 |
|
32 |
RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
33 |
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc" |
34 |
@@ -46,4 +46,7 @@ all_ruby_prepare() { |
35 |
rm test/test_other_net_http_libraries.rb || die |
36 |
|
37 |
sed -i -e '/test:preflight/ s:^:#:' Rakefile || die |
38 |
+ |
39 |
+ # Avoid tests that require a network connection |
40 |
+ sed -i -e '/test_real_https_request/aomit "requires network"' test/test_fake_web.rb || die |
41 |
} |