summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-09-15 07:54:56 +0200
committerHans de Graaff <graaff@gentoo.org>2020-09-15 07:54:56 +0200
commit57d1b661dcac42d90fda66fdcb6a93016636de5c (patch)
tree28647a75031e3434b3c34ff209179c2da06119f9 /dev-ruby
parentdev-ruby/curses: add 1.3.2 (diff)
downloadgentoo-57d1b661dcac42d90fda66fdcb6a93016636de5c.tar.gz
gentoo-57d1b661dcac42d90fda66fdcb6a93016636de5c.tar.bz2
gentoo-57d1b661dcac42d90fda66fdcb6a93016636de5c.zip
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@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/curb/curb-0.9.10.ebuild7
1 files 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 37839c5e5854..a5668b1b81a9 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