commit:     49db18bcce17ac53b0734b62e6dda6a926b618ef
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 17 05:30:48 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Apr 17 05:30:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49db18bc

dev-ruby/connection_pool: add 2.5.1

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/connection_pool/Manifest                  |  1 +
 .../connection_pool/connection_pool-2.5.1.ebuild   | 29 ++++++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/dev-ruby/connection_pool/Manifest 
b/dev-ruby/connection_pool/Manifest
index ae912b5ccedb..52d74b7273b2 100644
--- a/dev-ruby/connection_pool/Manifest
+++ b/dev-ruby/connection_pool/Manifest
@@ -1,2 +1,3 @@
 DIST connection_pool-2.4.1.tar.gz 11425 BLAKE2B 
17aae4f8ce0461554eaddb4ee3535062608d75a29219ca44b1535f087db39429ddbc591d996c020b1fa557337e75bb15b0ac218e8b9f393f94e32e70ffe76800
 SHA512 
4529446de89d01adee28127807fe104ada683866bc61b60ee77acb718881aced982aa1a1e6e2330077d79ed3d77af199e8612a6dc08de4c40468ac4e3623b799
 DIST connection_pool-2.5.0.tar.gz 13120 BLAKE2B 
e914c07de63367d61e0f136ac95cb15cfb0595a232f2c72095b0ae97959f7d49a7dd1295e1509a3a21a43429e2f44a454e3e2146076cce683fdf6a0229e274d4
 SHA512 
ce43edb4dd25c050ad93d13ad0a4243bd8ed3234f3af3593b5301696fe31574b4ec20ffb6410caa459876ab4ed4d39d4767ebf57dd2970c25ad18672b42342ed
+DIST connection_pool-2.5.1.tar.gz 13622 BLAKE2B 
bf044d0c50646349a45bc5ef0214bb5cd321700db31037b0dcb0973c5df697a6d0d146aa02f23dbce6ce641a8da75a7a1f6e28d59b78c4805b932bbd033184c5
 SHA512 
e2c1453c64de12606aedb2c20adf05dbff1892598dfeaac5865602788e3bba75c2252d27e72e16d1a9244bd4bf5fe3e4481e569d1e85d23ded74980a39a1cbcf

diff --git a/dev-ruby/connection_pool/connection_pool-2.5.1.ebuild 
b/dev-ruby/connection_pool/connection_pool-2.5.1.ebuild
new file mode 100644
index 000000000000..91a152103373
--- /dev/null
+++ b/dev-ruby/connection_pool/connection_pool-2.5.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_GEMSPEC="connection_pool.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rake"
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_EXTRADOC="Changes.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Generic connection pooling for Ruby"
+HOMEPAGE="https://github.com/mperham/connection_pool";
+SRC_URI="https://github.com/mperham/connection_pool/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+IUSE="test"
+
+ruby_add_bdepend "test? ( >=dev-ruby/minitest-5 )"
+
+all_ruby_prepare() {
+       sed -i -e '/git ls-files/d' connection_pool.gemspec || die
+       sed -i -e '/\(bundler\|standard\)/ s:^:#:' Rakefile || die
+       sed -i -e "s/gem 'minitest'/gem 'minitest', '~> 5.0'/" test/helper.rb 
|| die
+}

Reply via email to