diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-12-30 10:25:15 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-12-30 10:28:26 +0100 |
commit | a650a09095416e59c7315ccf7064ac3defbb38fb (patch) | |
tree | 38e221fd7628c38c664117c04b1e5d652487036e /dev-ruby/async-io | |
parent | dev-ruby/async-io: drop 1.34.3-r1, 1.36.0, 1.36.1 (diff) | |
download | gentoo-a650a09095416e59c7315ccf7064ac3defbb38fb.tar.gz gentoo-a650a09095416e59c7315ccf7064ac3defbb38fb.tar.bz2 gentoo-a650a09095416e59c7315ccf7064ac3defbb38fb.zip |
dev-ruby/async-io: add 1.38.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/async-io')
-rw-r--r-- | dev-ruby/async-io/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/async-io/async-io-1.38.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/async-io/Manifest b/dev-ruby/async-io/Manifest index b8d0ac5d096a..453eeb948a85 100644 --- a/dev-ruby/async-io/Manifest +++ b/dev-ruby/async-io/Manifest @@ -1,3 +1,4 @@ DIST async-io-1.35.0.tar.gz 34418 BLAKE2B 0aa7d5636c4a3f89b67c8543ad7e0826661e4d7f19cc968c1d75757cd5330f876da6606b94fab4bce82771f7a143905edb2c799e2a2e91dca2ba16115d11bd29 SHA512 0e5de633343b90eb73bac1114ec0ad5770ba58afaf20a2d246b86572820cb66b4919d751102c0d14bb1d3ea8aa27742842bce860cdc94ba6a4845a6f4efcf6aa 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 diff --git a/dev-ruby/async-io/async-io-1.38.1.ebuild b/dev-ruby/async-io/async-io-1.38.1.ebuild new file mode 100644 index 000000000000..a63a9576595f --- /dev/null +++ b/dev-ruby/async-io/async-io-1.38.1.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="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 +} |