summaryrefslogtreecommitdiff
path: root/dev-ruby/async-pool
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-02 00:07:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-02 00:07:23 +0100
commit6657c680376cedf378fcf328e5fa03ed3b41d580 (patch)
tree44ea8d174f647daca562b9bdcbcb527a85a77d0a /dev-ruby/async-pool
parent1551fe56fd6ba43a94509cffc61b6bf854b7ac9f (diff)
gentoo auto-resync : 02:06:2024 - 00:07:23
Diffstat (limited to 'dev-ruby/async-pool')
-rw-r--r--dev-ruby/async-pool/Manifest3
-rw-r--r--dev-ruby/async-pool/async-pool-0.6.1.ebuild34
-rw-r--r--dev-ruby/async-pool/metadata.xml11
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/async-pool/Manifest b/dev-ruby/async-pool/Manifest
new file mode 100644
index 000000000000..2343dccdae52
--- /dev/null
+++ b/dev-ruby/async-pool/Manifest
@@ -0,0 +1,3 @@
+DIST async-pool-0.6.1.tar.gz 10671 BLAKE2B f9dd19d15a2c1076b8c899d76c5e8ec6d5f98da82c2c574e701d098286027579c6e1728510801c9b471a864ea0533a4df68f13fcc57d75e4d92b464186e37740 SHA512 8221ccfdfe5a21b80f963da360efab682627346b7384870edbd8b53d71906dd6a471cf7b0e5d0bd995263089ce7d1a05278bf84cf7feec52a7360e106eba6016
+EBUILD async-pool-0.6.1.ebuild 877 BLAKE2B c264861dbf41d4ec03855381d7c9783f8457ef3cf1e60c66b18c21107c1a7821150312a7389509b784124d26e2f0527b6c8e39d48233ad0ed534783308d14420 SHA512 cb806e579b51378243332a9e3e63277d8d10b0a6f15fc4681d666b0c7585b299162ec618f6f567224a52a7ac67021e95de27f9d1f817ccb246d17ac8a76b6442
+MISC metadata.xml 346 BLAKE2B 5e6c7553c8af7ab2b27fc11762b4b17fc7a34e39851c6c52136ad9c56228e19141d12c418c752a4a7a01b6d1f0fa8ad19bbccb84e485b3ab6811dde39ce60fe4 SHA512 fbe2e33898a365b26d44efe83d36432769ba67e348eaf2077da10dbea3b1b6466d75a9892788fa02e7b9fbdb7b89eeca9759f8f201cdf660ab2c12f1d0110ad1
diff --git a/dev-ruby/async-pool/async-pool-0.6.1.ebuild b/dev-ruby/async-pool/async-pool-0.6.1.ebuild
new file mode 100644
index 000000000000..4a6044261d69
--- /dev/null
+++ b/dev-ruby/async-pool/async-pool-0.6.1.ebuild
@@ -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
+}
diff --git a/dev-ruby/async-pool/metadata.xml b/dev-ruby/async-pool/metadata.xml
new file mode 100644
index 000000000000..f5ce2126bc42
--- /dev/null
+++ b/dev-ruby/async-pool/metadata.xml
@@ -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>