mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-ruby/http: drop 5.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
parent
bb7c96bd21
commit
0965103e29
@ -1,3 +1,2 @@
|
||||
DIST http-5.2.0.gem 85504 BLAKE2B 60391b959752c63e2f8cffcb86d6aad47fd30817f348ac6fc28ebce4fa5186f482c08db5e4413fc84eb54a9beb2682260c0c7241a76b40c3489fe7f2abcfb154 SHA512 88a813498db68827ea665c3a568ce45b0096203484564f3de18d46abdd87d2ecd756745f9f530965db306f8e37185d3d0b31959082bbe01fee5545b36b0716bd
|
||||
DIST http-5.3.0.gem 92672 BLAKE2B 23556006e7a178905a4f19e776655a7536067eb9b941e3e38245fe54b5bbdf2cf65bc00edba94ee90f7a68e53c2d2906330a4b3ac714c6370f79a8e89b647ca0 SHA512 7f197299925b1ea7673c5b11701e3c1fad0f115015ca1fe2dbe805bfec85aa506f0f175010c0a827434a26bb3e67f171f7a2fe5a37df6a1beff2005730f8c689
|
||||
DIST http-5.3.1.gem 92672 BLAKE2B 8e5e84d608fc52064f3d17e38456ae09da2471b37a52c2b01b665c3ca4a6d29530d73fb6d3d35f58ad9b201522df22b9dacf87f13ec61ada9dd601e4bdfda7d2 SHA512 57902d997cfa51b8cb091ce0651d12a9bffb05992b6582c7fc0260a5208539faebedbcc1e837a2ff502336a8930abf4a1b8d531bac3f5643986850735efaa658
|
||||
|
||||
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby31 ruby32 ruby33"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md CHANGES_OLD.md README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An easy-to-use client library for making requests from Ruby"
|
||||
HOMEPAGE="https://github.com/httprb/http"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "=dev-ruby/addressable-2*
|
||||
>=dev-ruby/addressable-2.8
|
||||
=dev-ruby/base64-0*:*
|
||||
=dev-ruby/http-cookie-1*
|
||||
>=dev-ruby/http-form_data-2.2:2
|
||||
>=dev-ruby/llhttp-ffi-0.5.0:0/0.5"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
=dev-ruby/certificate_authority-1*
|
||||
dev-ruby/rspec-its
|
||||
dev-ruby/webrick
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid specs that require network access
|
||||
sed -i -e '/.persistent/,/^ end/ s:^:#:' \
|
||||
spec/lib/http_spec.rb || die
|
||||
sed -i -e '/with non-ASCII URLs/,/^ end/ s:^:#:' \
|
||||
spec/lib/http/client_spec.rb || die
|
||||
|
||||
# Avoid spec that may fail with a running web server
|
||||
sed -i -e '/unifies socket errors into HTTP::ConnectionError/,/^ end/ s:^:#:' spec/lib/http_spec.rb || die
|
||||
|
||||
# Fix spec for production release
|
||||
sed -i -e '/User-Agent:/ s/.dev//' spec/lib/http/features/logging_spec.rb || die
|
||||
|
||||
# Avoid specs also failing upstream due to some certificate issue
|
||||
sed -i -e '/context "ssl"/,/^ end/ s:^:#:' spec/lib/http_spec.rb || die
|
||||
sed -i -e '/describe "working with SSL"/,/^ end/ s:^:#:' spec/lib/http/client_spec.rb || die
|
||||
|
||||
# Disable coverage
|
||||
sed -i -e 's/require_relative ".\/support\/simplecov"//g' "spec/spec_helper.rb" || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# disables dev-ruby/fuubar dep
|
||||
CI=1 each_fakegem_test
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user