mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-ruby/async-pool: new package, add 0.6.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
1
dev-ruby/async-pool/Manifest
Normal file
1
dev-ruby/async-pool/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST async-pool-0.6.1.tar.gz 10671 BLAKE2B f9dd19d15a2c1076b8c899d76c5e8ec6d5f98da82c2c574e701d098286027579c6e1728510801c9b471a864ea0533a4df68f13fcc57d75e4d92b464186e37740 SHA512 8221ccfdfe5a21b80f963da360efab682627346b7384870edbd8b53d71906dd6a471cf7b0e5d0bd995263089ce7d1a05278bf84cf7feec52a7360e106eba6016
|
||||
34
dev-ruby/async-pool/async-pool-0.6.1.ebuild
Normal file
34
dev-ruby/async-pool/async-pool-0.6.1.ebuild
Normal file
@@ -0,0 +1,34 @@
|
||||
# Copyright 2022-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="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-1.25:*"
|
||||
|
||||
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
|
||||
}
|
||||
11
dev-ruby/async-pool/metadata.xml
Normal file
11
dev-ruby/async-pool/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">socketry/async-pool</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user