diff options
| author | Hans de Graaff <graaff@gentoo.org> | 2025-07-14 07:46:08 +0200 |
|---|---|---|
| committer | Hans de Graaff <graaff@gentoo.org> | 2025-07-14 07:46:08 +0200 |
| commit | 123ab2ef2c812169605b4a69c4a661d379d19cdb (patch) | |
| tree | 13aa81cc69bedc31981f6c4d81d1f8b080cdb7c9 /dev-ruby/async-pool/async-pool-0.11.0.ebuild | |
| parent | cc21eb2944656e22633cd4ef3609f71262f624e1 (diff) | |
| download | gentoo-123ab2ef2c812169605b4a69c4a661d379d19cdb.tar.gz gentoo-123ab2ef2c812169605b4a69c4a661d379d19cdb.tar.bz2 gentoo-123ab2ef2c812169605b4a69c4a661d379d19cdb.zip | |
dev-ruby/async-pool: add 0.11.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/async-pool/async-pool-0.11.0.ebuild')
| -rw-r--r-- | dev-ruby/async-pool/async-pool-0.11.0.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-ruby/async-pool/async-pool-0.11.0.ebuild b/dev-ruby/async-pool/async-pool-0.11.0.ebuild new file mode 100644 index 000000000000..c31ec75df38f --- /dev/null +++ b/dev-ruby/async-pool/async-pool-0.11.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_RECIPE_TEST="sus" +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A singleplex and multiplex resource pool for implementing robust clients" +HOMEPAGE="https://github.com/socketry/async-pool" +SRC_URI="https://github.com/socketry/async-pool/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend " + dev-ruby/async:2 +" + +ruby_add_bdepend "test? ( + dev-ruby/sus-fixtures-async +)" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + + # Avoid test dependency on unpackaged covered + rm -f config/sus.rb || die +} |
