mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-09 00:10:21 +03:00
dev-ruby/net-http-persistent: add 4.0.8
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST net-http-persistent-4.0.5.tar.gz 24367 BLAKE2B 724f72ed14198493c1b044157cb233010bab470be6915998eb19c32ced5f701e86f2534fefea088d3f46ea0acd4b07c1c5e3b8e6d191a006a97d012a4b6adca7 SHA512 79aea45a34631935de65d21db2b7f8832f60a107e70d40cd6d52b4a0fe5c4790222c8aa673b677b4c9a5c58e5d1718c95c81a33866b35c390d49d41854361d05
|
||||
DIST net-http-persistent-4.0.6.tar.gz 24710 BLAKE2B ade3149e6c745d6cafe3baba2baa982eb705c1e848250d142820ef630da141cf496192b3a907f4c6b4019d99c02abac60b454526e1c7fefa19001e80356c8d26 SHA512 25a4cba18943c034b1b8abe4eebb1b314f1bfc534b5815e590ca6a53bd1fb112aab00eef95ce4073807e2ee9328661efe7249a70822aa7c627d503c70ce47d4c
|
||||
DIST net-http-persistent-4.0.8.tar.gz 25376 BLAKE2B 549f851b6b011d0241f8001009a8aeb495506c758875a00c6f2ee873e38f1e2ce91b129f8258a70c52b572d89a01ce3d3c005277a2f2db22300d4e8862051dbc SHA512 1df7211c108d531dda0619a0e22a6f43ad433f051e1e99bda83807be2cb89041dd85903d5fad80c01783303f0e476c3ccce01ac1642d5df1030477381620563e
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Manages persistent connections using Net::HTTP plus a speed fix for Ruby 1.8"
|
||||
HOMEPAGE="https://github.com/drbrain/net-http-persistent"
|
||||
SRC_URI="https://github.com/drbrain/net-http-persistent/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
ruby_add_rdepend "|| ( dev-ruby/connection_pool:3 >=dev-ruby/connection_pool-2.2.4:0 )"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Not relevant for us (we're just using rake for the tests)
|
||||
sed -i -e '/require "rake\/manifest"/,/^end/ s:^:#:' Rakefile || die
|
||||
|
||||
# avoid test with implicit dependency on net-http-pipeline which
|
||||
# fails and is not tested upstream
|
||||
sed -i -e '/net-http-pipeline not installed/ s/unless.*$//' test/test_net_http_persistent.rb || die
|
||||
}
|
||||
Reference in New Issue
Block a user