From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C939A158090 for ; Mon, 23 May 2022 05:05:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27940E08F4; Mon, 23 May 2022 05:05:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C43D9E08F4 for ; Mon, 23 May 2022 05:05:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C92C2340FB8 for ; Mon, 23 May 2022 05:05:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B87DE48C for ; Mon, 23 May 2022 05:05:02 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1653282286.bc345797a61d2532e1f383f5c6a7de35fa6bde58.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/webmock/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/webmock/webmock-3.14.0.ebuild X-VCS-Directories: dev-ruby/webmock/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: bc345797a61d2532e1f383f5c6a7de35fa6bde58 X-VCS-Branch: master Date: Mon, 23 May 2022 05:05:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f6c8ca2f-c20f-4cb9-a80f-5c867634e281 X-Archives-Hash: 0416226955db15dfdb12393ebd4eb38e commit: bc345797a61d2532e1f383f5c6a7de35fa6bde58 Author: Hans de Graaff gentoo org> AuthorDate: Sun May 22 08:47:32 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon May 23 05:04:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc345797 dev-ruby/webmock: drop httpclient test dependency dev-ruby/httpclient is no longer maintained and has various test failures. Drop the tests for it in webmock to make removal easier. Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/webmock/webmock-3.14.0.ebuild | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/dev-ruby/webmock/webmock-3.14.0.ebuild b/dev-ruby/webmock/webmock-3.14.0.ebuild index 14e65474461e..01c54fdd73ab 100644 --- a/dev-ruby/webmock/webmock-3.14.0.ebuild +++ b/dev-ruby/webmock/webmock-3.14.0.ebuild @@ -30,7 +30,6 @@ ruby_add_bdepend "test? ( dev-ruby/rspec:3 >=dev-ruby/test-unit-3.0.0 dev-ruby/rack - >=dev-ruby/httpclient-2.8.0 )" all_ruby_prepare() { @@ -43,19 +42,14 @@ all_ruby_prepare() { # There is now optional support for curb and typhoeus which we don't # have in Gentoo yet. em_http_request is available in Gentoo but its # version is too old. patron's latest version is not compatible. - sed -i -e '/\(curb\|typhoeus\|em-http\|patron\)/ s:^:#:' spec/spec_helper.rb || die - rm -f spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client}/* || die + # httpclient is no longer maintained and has various test failures. + sed -i -e '/\(curb\|typhoeus\|em-http\|patron\|httpclient\)/ s:^:#:' spec/spec_helper.rb || die + rm -f spec/acceptance/{typhoeus,curb,excon,em_http_request,patron,async_http_client,httpclient}/* || die # Drop tests for dev-ruby/http for now since this package only works with ruby26 sed -i -e '/http_rb/ s:^:#:' spec/spec_helper.rb || die rm -f spec/acceptance/http_rb/* || die - # Avoid httpclient specs that require network access, most likely - # because mocking does not fully work. - 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 }