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/curb/
Date: Tue, 15 Sep 2020 06:00:55
Message-Id: 1600149296.57d1b661dcac42d90fda66fdcb6a93016636de5c.graaff@gentoo
1 commit: 57d1b661dcac42d90fda66fdcb6a93016636de5c
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 15 05:54:56 2020 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 15 05:54:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d1b661
7
8 dev-ruby/curb: add ruby27; fix broken test
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/curb/curb-0.9.10.ebuild | 7 +++++--
14 1 file changed, 5 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-ruby/curb/curb-0.9.10.ebuild b/dev-ruby/curb/curb-0.9.10.ebuild
17 index 37839c5e585..a5668b1b81a 100644
18 --- a/dev-ruby/curb/curb-0.9.10.ebuild
19 +++ b/dev-ruby/curb/curb-0.9.10.ebuild
20 @@ -1,9 +1,9 @@
21 -# Copyright 1999-2019 Gentoo Authors
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=6
26
27 -USE_RUBY="ruby24 ruby25 ruby26"
28 +USE_RUBY="ruby25 ruby26 ruby27"
29
30 RUBY_FAKEGEM_RECIPE_TEST="rake"
31 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
32 @@ -32,6 +32,9 @@ all_ruby_prepare() {
33 sed -e '/test_connection_keepalive/aomit "network connection needed"' \
34 -i tests/tc_curl_multi.rb || die
35
36 + # Fix test that expects wrong output
37 + sed -i -e 's/200 OK /200 OK/' tests/tc_curl_easy.rb || die
38 +
39 # avoid failing tests where failure condition seems weird, no
40 # upstream travis so not clear if the test is indeed broken.
41 sed -i -e '/test_multi_easy_http/,/^ end/ s:^:#:' tests/tc_curl_multi.rb || die