diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-12-28 08:04:38 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-12-28 08:04:38 +0100 |
commit | 2e7da41b75ff84b95ce7f9f78cec5c9e17e3283d (patch) | |
tree | b20195066a83b031b24773f4d759e45adbdb42ca /dev-ruby | |
parent | dev-ruby/launchy: add 2.5.2 (diff) | |
download | gentoo-2e7da41b75ff84b95ce7f9f78cec5c9e17e3283d.tar.gz gentoo-2e7da41b75ff84b95ce7f9f78cec5c9e17e3283d.tar.bz2 gentoo-2e7da41b75ff84b95ce7f9f78cec5c9e17e3283d.zip |
dev-ruby/async-io: add 1.34.1
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.34.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 0ad8291ad7ec..743c1a183b6b 100644 --- a/dev-ruby/async-io/Manifest +++ b/dev-ruby/async-io/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-ruby/async-io/async-io-1.34.1.ebuild b/dev-ruby/async-io/async-io-1.34.1.ebuild new file mode 100644 index 000000000000..b05783e45f7e --- /dev/null +++ b/dev-ruby/async-io/async-io-1.34.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRA_DOC="README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Provides support for asynchonous 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 ~ppc ~ppc64 ~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 +} |