dev-ruby/faraday: avoid live network test
authorHans de Graaff <graaff@gentoo.org>
Sun, 25 Nov 2018 10:07:46 +0000 (11:07 +0100)
committerHans de Graaff <graaff@gentoo.org>
Sun, 25 Nov 2018 10:09:41 +0000 (11:09 +0100)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-ruby/faraday/faraday-0.15.3.ebuild

index c12dbcec7c0d223b13e06913a5ff75963023c4e8..c17052d85c423c3e056330564f2606618d259af1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -48,6 +48,9 @@ all_ruby_prepare() {
        # Remove tests for adapters that are not packaged for Gentoo.
        rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die
 
+       # Remove tests against live services
+       sed -i -e '/test_dynamic_no_proxy/askip "live network test"' test/connection_test.rb || die
+
        # The proxy server is already killed, may be OS X vs Linux issue.
        sed -i -e '138 s/^/#/' script/test || die