diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-06-19 06:38:57 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-06-19 06:38:57 +0200 |
commit | ab8cec7100e9bc2329945787e5ad9203babc938d (patch) | |
tree | 7be419568d058bacfb71e54a3665f5591025e5ca /dev-ruby | |
parent | dev-python/apsw: Remove old (diff) | |
download | gentoo-ab8cec7100e9bc2329945787e5ad9203babc938d.tar.gz gentoo-ab8cec7100e9bc2329945787e5ad9203babc938d.tar.bz2 gentoo-ab8cec7100e9bc2329945787e5ad9203babc938d.zip |
dev-ruby/async-io: add 1.35.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/async-io/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/async-io/async-io-1.35.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/async-io/Manifest b/dev-ruby/async-io/Manifest index 6de907f061f7..9a18bdad4231 100644 --- a/dev-ruby/async-io/Manifest +++ b/dev-ruby/async-io/Manifest @@ -1,3 +1,4 @@ DIST async-io-1.34.0.tar.gz 34147 BLAKE2B 85cb79423bcbcc45e7c3f703d5ce7866522e66c55f866a0545369b65eda9c8a4b5637eaeeb7e17a5a8ee7256c6a991871dbb96244e4647fa19f8f027fad37961 SHA512 d35389ebfb748ea1c44f4a7ea7707511e32d40e98ae3fd7e8a5b22fdbb5f8f5a00933ec48346e2ed44c679ee6121a6fdf980c8ee6a1da609fb7571abb703aa02 DIST async-io-1.34.1.tar.gz 34163 BLAKE2B 782131de9b652d2b9e622dd6026835df2089936ea97f360e3edd7425a4b9180cfd6dadbdd1c5537a06f0cda152a04aedd2fc983dc4559271c41f9ac5496bff94 SHA512 0a1e643d3879eed4e2ed2b347429a00a68b6c5dd8b63c66ab67218dfc4a00066499158fb84c4ae9f1848b5347a8d64728d16c84c6740348cfcae6c1cb82554b0 DIST async-io-1.34.3.tar.gz 34178 BLAKE2B 0af09d723682f6818e63e43a356539c098c37f5ea2ee72638e8aa1af888def845f412eb5ebc6a0fd4b51d76a03ba66b78cb70d09336ef50cd68bcd6ba7c50002 SHA512 2523ae6aa4590672e2fd6a4755cde30fe3cc54a98bf8d75d7eba0b9ec052fad232f4feaf4d6e948421b152695cc2217c4173e2475c9ce5859e4230d1078d0444 +DIST async-io-1.35.0.tar.gz 34418 BLAKE2B 0aa7d5636c4a3f89b67c8543ad7e0826661e4d7f19cc968c1d75757cd5330f876da6606b94fab4bce82771f7a143905edb2c799e2a2e91dca2ba16115d11bd29 SHA512 0e5de633343b90eb73bac1114ec0ad5770ba58afaf20a2d246b86572820cb66b4919d751102c0d14bb1d3ea8aa27742842bce860cdc94ba6a4845a6f4efcf6aa diff --git a/dev-ruby/async-io/async-io-1.35.0.ebuild b/dev-ruby/async-io/async-io-1.35.0.ebuild new file mode 100644 index 000000000000..c1027a4c5e5c --- /dev/null +++ b/dev-ruby/async-io/async-io-1.35.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 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="" + +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 +} |