summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-03-26 07:53:45 +0100
committerHans de Graaff <graaff@gentoo.org>2024-03-27 07:36:13 +0100
commitbcaa5c0183863af5f6e352767b2dc4a95510c50b (patch)
tree97c60b98c1ac2090e03ff2e458b8550bb21a94e7 /dev-ruby/async-io
parentsys-devel/llvm: backport LTO filtering (diff)
downloadgentoo-bcaa5c0183863af5f6e352767b2dc4a95510c50b.tar.gz
gentoo-bcaa5c0183863af5f6e352767b2dc4a95510c50b.tar.bz2
gentoo-bcaa5c0183863af5f6e352767b2dc4a95510c50b.zip
dev-ruby/async-io: add 1.42.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/async-io')
-rw-r--r--dev-ruby/async-io/Manifest1
-rw-r--r--dev-ruby/async-io/async-io-1.42.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/async-io/Manifest b/dev-ruby/async-io/Manifest
index 35296758762a..64345a8b3495 100644
--- a/dev-ruby/async-io/Manifest
+++ b/dev-ruby/async-io/Manifest
@@ -1,3 +1,4 @@
DIST async-io-1.37.0.tar.gz 41344 BLAKE2B a0b71d4747c7b56a6662aa45813f3ee82b539cb3f5133f1f4469bb57fe61e261e5d111ec01b96f0515858a355e43f8441442d7005bc284ae24a4902ea97dcf36 SHA512 5a631bbc79409959b95acff67a5d7de667e0361b02279b3cc98e2cc1a1baf4a8e6ea61998c6ecf5ae71658445d83a63dde8e8e4a29173de388b3b7ae0675b884
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
+DIST async-io-1.42.0.tar.gz 41535 BLAKE2B a8c44fea9f70dbe32ef4efd0063540da41108b3cb5ae30614a6301b27cde7de2ea402423ea469193c37dc616463a92c480e779609ccc85893e9b590e324f7dea SHA512 d35516fffbbc486865b05f7d95a693caf95dc935e5b56801f1fceed49678f8537d840b4fcaebf5b50dfcc523a5fbc8cb9929e62658252c6e9d8ab143be3ba21d
diff --git a/dev-ruby/async-io/async-io-1.42.0.ebuild b/dev-ruby/async-io/async-io-1.42.0.ebuild
new file mode 100644
index 000000000000..b67f9f17f798
--- /dev/null
+++ b/dev-ruby/async-io/async-io-1.42.0.ebuild
@@ -0,0 +1,37 @@
+# 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="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-2.8.1:2
+ >=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
+}