mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-ruby/io-endpoint: add 0.16.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
parent
5f5aa98a21
commit
cb1954cba0
@ -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
|
||||
|
||||
39
dev-ruby/io-endpoint/io-endpoint-0.16.0.ebuild
Normal file
39
dev-ruby/io-endpoint/io-endpoint-0.16.0.ebuild
Normal file
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user