summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-01-22 08:08:01 +0100
committerHans de Graaff <graaff@gentoo.org>2024-01-22 08:08:10 +0100
commit868f37945a43aba0896624343ba2de1f70ca3a2f (patch)
treecdeded03fa7384bf9507de783017af4edda6ac3a
parentdev-python/reportlab: Stabilize 4.0.8 ppc64, #921052 (diff)
downloadgentoo-868f37945a43aba0896624343ba2de1f70ca3a2f.tar.gz
gentoo-868f37945a43aba0896624343ba2de1f70ca3a2f.tar.bz2
gentoo-868f37945a43aba0896624343ba2de1f70ca3a2f.zip
dev-ruby/async-io: add 1.41.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/async-io/Manifest1
-rw-r--r--dev-ruby/async-io/async-io-1.41.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/async-io/Manifest b/dev-ruby/async-io/Manifest
index 453eeb948a85..86854cca084f 100644
--- a/dev-ruby/async-io/Manifest
+++ b/dev-ruby/async-io/Manifest
@@ -2,3 +2,4 @@ DIST async-io-1.35.0.tar.gz 34418 BLAKE2B 0aa7d5636c4a3f89b67c8543ad7e0826661e4d
DIST async-io-1.37.0.tar.gz 41344 BLAKE2B a0b71d4747c7b56a6662aa45813f3ee82b539cb3f5133f1f4469bb57fe61e261e5d111ec01b96f0515858a355e43f8441442d7005bc284ae24a4902ea97dcf36 SHA512 5a631bbc79409959b95acff67a5d7de667e0361b02279b3cc98e2cc1a1baf4a8e6ea61998c6ecf5ae71658445d83a63dde8e8e4a29173de388b3b7ae0675b884
DIST async-io-1.38.0.tar.gz 41347 BLAKE2B 092e2b0d6265145a1cfc32df9aa02b1b2a46c1339b80355de53b6da7e1ba69ac1eb3fd1bae229360ed3a618eeba6a9f7f1302ae7341f6b8581f4a643d7cb4c42 SHA512 0156d4c81a643b6b7ca5753f28658adcb2cd0b78c52e5539e29ed45d737b9de91d54ba85804b2d55bb9c0eb33a4dd1ba888961fa69b2acd93fe2234d1700a215
DIST async-io-1.38.1.tar.gz 41362 BLAKE2B 9160f464a8aca07e33f60f48d3bfcce2d11bfdadccb0254cbc481ac3ac9285be66569507b7afdc7083a95d08a91d916083df31e266d42464be20ebfaa811754d SHA512 2515fb0a0493a44acb65715f1df06567fe3c6461d6e4de1c72c37a028227c37aefafd87b06560a9c1dd7d9fbc2df412ebcdebf3276e8ff48c9331aff1f1300a0
+DIST async-io-1.41.0.tar.gz 41428 BLAKE2B 21d0e900f5aaf4c1b8e3a00032833f244d6a1715637a887809e2dee839b33f29b403a0b714a1392d05a4aeade959f2162d0b434bd235a66f1f2b92a9e0e45e39 SHA512 7b87b08f6dddc1e1e27a5d4c29e0d08ffbbdacc30bba4878cdd8f7afe588c0ecae7efc22f1d0cc66d0488d02559ecf7278c860838877ab7500cb7a173c441e92
diff --git a/dev-ruby/async-io/async-io-1.41.0.ebuild b/dev-ruby/async-io/async-io-1.41.0.ebuild
new file mode 100644
index 000000000000..76cc82f4ac1d
--- /dev/null
+++ b/dev-ruby/async-io/async-io-1.41.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRA_DOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Provides support for asynchronous TCP, UDP, UNIX and SSL sockets"
+HOMEPAGE="https://github.com/socketry/async-io"
+SRC_URI="https://github.com/socketry/async-io/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test"
+
+ruby_add_rdepend "dev-ruby/async"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/async-container-0.15:0
+ >=dev-ruby/async-rspec-1.10:1
+ dev-ruby/rack-test
+)"
+
+all_ruby_prepare() {
+ sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ # Avoid test dependency on covered
+ sed -i -e '/covered/ s:^:#:' spec/spec_helper.rb || die
+}