commit: 62e2f3c7b317218d91596a690fb275202e4cf076
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 30 20:56:34 2025 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Dec 30 21:26:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62e2f3c7
dev-ruby/net-http-persistent: add 4.0.8
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/net-http-persistent/Manifest | 1 +
.../net-http-persistent-4.0.8.ebuild | 33 ++++++++++++++++++++++
2 files changed, 34 insertions(+)
diff --git a/dev-ruby/net-http-persistent/Manifest
b/dev-ruby/net-http-persistent/Manifest
index dbcda52328ad..8f144f7447dc 100644
--- a/dev-ruby/net-http-persistent/Manifest
+++ b/dev-ruby/net-http-persistent/Manifest
@@ -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
diff --git a/dev-ruby/net-http-persistent/net-http-persistent-4.0.8.ebuild
b/dev-ruby/net-http-persistent/net-http-persistent-4.0.8.ebuild
new file mode 100644
index 000000000000..320ef9612a6b
--- /dev/null
+++ b/dev-ruby/net-http-persistent/net-http-persistent-4.0.8.ebuild
@@ -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
+}