commit: cb1954cba0ce95bb0b619d06da3bfc0fe6661c50
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 9 18:51:30 2025 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Dec 9 18:55:03 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb1954cb
dev-ruby/io-endpoint: add 0.16.0
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
dev-ruby/io-endpoint/Manifest | 1 +
dev-ruby/io-endpoint/io-endpoint-0.16.0.ebuild | 39 ++++++++++++++++++++++++++
2 files changed, 40 insertions(+)
diff --git a/dev-ruby/io-endpoint/Manifest b/dev-ruby/io-endpoint/Manifest
index 370b5ecf3df9..5da6912816b1 100644
--- a/dev-ruby/io-endpoint/Manifest
+++ b/dev-ruby/io-endpoint/Manifest
@@ -1 +1,2 @@
DIST io-endpoint-0.15.2.tar.gz 15357 BLAKE2B
e5444a5c4b5bc9b559d1a81774d6b610bd33de2f64be0b2ea1e2e2338a47f65f8829c0d8c5a4fa22215c7c2e75f862af7818295008bd923721d8153735e3dacf
SHA512
50d37fa51b585f962c9485aed1f8cf167ca815ea82f7a06f287c8d059d05b2cd8e49806be5ad59074ea79dcb337dc65039abf3dadc9ebdb03853937191c49ae0
+DIST io-endpoint-0.16.0.tar.gz 19849 BLAKE2B
2b9c989c85a08f89f72552e795bf111f5e1a7847e25e5bd65d8375b2b84055cc919ecbb9492cffedb4ca50129d93bb727630c1e1d744b9daacd5731e51190d94
SHA512
63e1de06239a27f5c7f4747d1750d4653241bc43d95c1f879db48a98b79d0fc61eb71fd3e022314ec903017dae283cd7a4daf5d26fff07b5d9e8823c8c9ba374
diff --git a/dev-ruby/io-endpoint/io-endpoint-0.16.0.ebuild
b/dev-ruby/io-endpoint/io-endpoint-0.16.0.ebuild
new file mode 100644
index 000000000000..14ee94e1f222
--- /dev/null
+++ b/dev-ruby/io-endpoint/io-endpoint-0.16.0.ebuild
@@ -0,0 +1,39 @@
+# 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="Provides a separation of concerns interface for IO endpoints"
+HOMEPAGE="https://github.com/socketry/io-endpoint"
+SRC_URI="https://github.com/socketry/io-endpoint/archive/refs/tags/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_bdepend "test? (
+ dev-ruby/sus-fixtures-async
+ dev-ruby/sus-fixtures-openssl
+)"
+
+all_ruby_prepare() {
+ sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g'
"${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ sed -e '/covered/I s:^:#:' -i config/sus.rb || die
+
+ sed -e "s:/tmp/test.ipc:${TMP}/test.ipc:" \
+ -i test/io/endpoint/unix_endpoint.rb || die
+
+ # Avoid tests that require unpackaged "bake" and require running
+ # with Bundler.
+ rm -f test/traces/backend/capture.rb || die
+}