From b3fa42914452f464925404459203cae94aac3e04 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 26 Aug 2018 07:32:13 +0200 Subject: [PATCH] dev-ruby/webmock: amd64 stable Also avoid test that requires network access Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- dev-ruby/webmock/webmock-2.3.2.ebuild | 7 +++++-- dev-ruby/webmock/webmock-3.4.1.ebuild | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-ruby/webmock/webmock-2.3.2.ebuild b/dev-ruby/webmock/webmock-2.3.2.ebuild index e82604991669..cef9721304f7 100644 --- a/dev-ruby/webmock/webmock-2.3.2.ebuild +++ b/dev-ruby/webmock/webmock-2.3.2.ebuild @@ -3,7 +3,7 @@ EAPI=5 -USE_RUBY="ruby22 ruby23 ruby24" +USE_RUBY="ruby23 ruby24" RUBY_FAKEGEM_TASK_TEST="test spec NO_CONNECTION=true" @@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/bblimke/webmock" LICENSE="GPL-2" SLOT="2" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="" ruby_add_rdepend ">=dev-ruby/addressable-2.3.6 >=dev-ruby/crack-0.3.2 dev-ruby/hashdiff" @@ -49,6 +49,9 @@ all_ruby_prepare() { sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \ -e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \ spec/acceptance/httpclient/httpclient_spec.rb + + # Avoid specs that require network access + sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb } each_ruby_test() { diff --git a/dev-ruby/webmock/webmock-3.4.1.ebuild b/dev-ruby/webmock/webmock-3.4.1.ebuild index c5652a996a18..4f773cef98da 100644 --- a/dev-ruby/webmock/webmock-3.4.1.ebuild +++ b/dev-ruby/webmock/webmock-3.4.1.ebuild @@ -49,6 +49,9 @@ all_ruby_prepare() { sed -i -e '/httpclient streams response/,/^ end/ s:^:#:' \ -e '/are detected when manually specifying Authorization header/,/^ end/ s:^:#:' \ spec/acceptance/httpclient/httpclient_spec.rb + + # Avoid specs that require network access + sed -i -e '/when request is not stubbed/,/^ end/ s:^:#:' spec/acceptance/shared/callbacks.rb } each_ruby_test() { -- 2.26.2