commit:     0d62d2439ba82cff58a7ea15323844778b2833d1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 06:01:40 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 06:31:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d62d243

dev-ruby/typhoeus: depend on older dev-ruby/ethon

I've reported the failure upstream at 
https://github.com/typhoeus/typhoeus/issues/710
but I consistently get test failures with ethon-0.16.0 and they go away
when I downgrade it to 0.15.0.

Bug: https://github.com/typhoeus/typhoeus/issues/710
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/typhoeus/typhoeus-1.4.0-r1.ebuild                            | 4 +++-
 .../typhoeus/{typhoeus-1.4.0-r1.ebuild => typhoeus-1.4.0-r2.ebuild}   | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/typhoeus/typhoeus-1.4.0-r1.ebuild 
b/dev-ruby/typhoeus/typhoeus-1.4.0-r1.ebuild
index b6c62ee9b3be..ffaf7dcb9362 100644
--- a/dev-ruby/typhoeus/typhoeus-1.4.0-r1.ebuild
+++ b/dev-ruby/typhoeus/typhoeus-1.4.0-r1.ebuild
@@ -21,7 +21,9 @@ SLOT="1"
 KEYWORDS="~amd64"
 IUSE=""
 
-ruby_add_rdepend ">=dev-ruby/ethon-0.9.0"
+# Tests fail with ethon-0.16.0
+# https://github.com/typhoeus/typhoeus/issues/710
+ruby_add_rdepend "<dev-ruby/ethon-0.16.0"
 
 ruby_add_bdepend "test? ( dev-ruby/json || ( dev-ruby/faraday:1 
>=dev-ruby/faraday-0.9:0 ) >=dev-ruby/sinatra-1.3 >=dev-ruby/redis-3.0 
>=dev-ruby/dalli-2.7.9 )"
 

diff --git a/dev-ruby/typhoeus/typhoeus-1.4.0-r1.ebuild 
b/dev-ruby/typhoeus/typhoeus-1.4.0-r2.ebuild
similarity index 88%
copy from dev-ruby/typhoeus/typhoeus-1.4.0-r1.ebuild
copy to dev-ruby/typhoeus/typhoeus-1.4.0-r2.ebuild
index b6c62ee9b3be..ffaf7dcb9362 100644
--- a/dev-ruby/typhoeus/typhoeus-1.4.0-r1.ebuild
+++ b/dev-ruby/typhoeus/typhoeus-1.4.0-r2.ebuild
@@ -21,7 +21,9 @@ SLOT="1"
 KEYWORDS="~amd64"
 IUSE=""
 
-ruby_add_rdepend ">=dev-ruby/ethon-0.9.0"
+# Tests fail with ethon-0.16.0
+# https://github.com/typhoeus/typhoeus/issues/710
+ruby_add_rdepend "<dev-ruby/ethon-0.16.0"
 
 ruby_add_bdepend "test? ( dev-ruby/json || ( dev-ruby/faraday:1 
>=dev-ruby/faraday-0.9:0 ) >=dev-ruby/sinatra-1.3 >=dev-ruby/redis-3.0 
>=dev-ruby/dalli-2.7.9 )"
 

Reply via email to