Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/httpclient/
Date: Sun, 01 Oct 2017 06:44:48
Message-Id: 1506840279.268eb4a609d0438db8d9fbadac231b8b0ee5ffed.graaff@gentoo
1 commit: 268eb4a609d0438db8d9fbadac231b8b0ee5ffed
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 1 06:36:22 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 1 06:44:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268eb4a6
7
8 dev-ruby/httpclient: skip failing tests, bug 632454
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.2
11
12 dev-ruby/httpclient/httpclient-2.8.3.ebuild | 8 +++++++-
13 1 file changed, 7 insertions(+), 1 deletion(-)
14
15 diff --git a/dev-ruby/httpclient/httpclient-2.8.3.ebuild b/dev-ruby/httpclient/httpclient-2.8.3.ebuild
16 index 62b42a2abb1..31d579ef823 100644
17 --- a/dev-ruby/httpclient/httpclient-2.8.3.ebuild
18 +++ b/dev-ruby/httpclient/httpclient-2.8.3.ebuild
19 @@ -3,7 +3,7 @@
20
21 EAPI=5
22
23 -USE_RUBY="ruby21 ruby22 ruby23 ruby24"
24 +USE_RUBY="ruby22 ruby23 ruby24"
25
26 RUBY_FAKEGEM_TASK_TEST="-Ilib test"
27 RUBY_FAKEGEM_TASK_DOC="doc"
28 @@ -54,6 +54,12 @@ all_ruby_prepare() {
29 # Skip tests using rack-ntlm which is not packaged. Weirdly these
30 # only fail on jruby.
31 rm test/test_auth.rb || die
32 +
33 + # Skip test failing due to hard-coded expired certificate
34 + sed -i -e '/test_verification_without_httpclient/,/^ end/ s:^:#:' test/test_ssl.rb || die
35 +
36 + # Skip test depending on obsolete and vulnerable SSLv3
37 + sed -i -e '/test_no_sslv3/,/^ end/ s:^:#:' test/test_ssl.rb || die
38 }
39
40 each_ruby_test() {