commit:     57d1b661dcac42d90fda66fdcb6a93016636de5c
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 15 05:54:56 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Sep 15 05:54:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d1b661

dev-ruby/curb: add ruby27; fix broken test

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/curb/curb-0.9.10.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/curb/curb-0.9.10.ebuild b/dev-ruby/curb/curb-0.9.10.ebuild
index 37839c5e585..a5668b1b81a 100644
--- a/dev-ruby/curb/curb-0.9.10.ebuild
+++ b/dev-ruby/curb/curb-0.9.10.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-USE_RUBY="ruby24 ruby25 ruby26"
+USE_RUBY="ruby25 ruby26 ruby27"
 
 RUBY_FAKEGEM_RECIPE_TEST="rake"
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
@@ -32,6 +32,9 @@ all_ruby_prepare() {
        sed -e '/test_connection_keepalive/aomit "network connection needed"' \
                -i tests/tc_curl_multi.rb || die
 
+       # Fix test that expects wrong output
+       sed -i -e 's/200 OK /200 OK/' tests/tc_curl_easy.rb || die
+
        # avoid failing tests where failure condition seems weird, no
        # upstream travis so not clear if the test is indeed broken.
        sed -i -e '/test_multi_easy_http/,/^  end/ s:^:#:' 
tests/tc_curl_multi.rb || die

Reply via email to