diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-28 14:12:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-28 14:12:52 +0000 |
commit | ebadb1bcdd3c4fdd2e1a569a04d2cd8c5049b64d (patch) | |
tree | 261a9ff495381f4023c98dfb4ecd5cb195b5f346 /dev-ruby/async-io | |
parent | 2666e9c75caf914c25a25329523c982df8512930 (diff) |
gentoo auto-resync : 28:12:2022 - 14:12:52
Diffstat (limited to 'dev-ruby/async-io')
-rw-r--r-- | dev-ruby/async-io/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/async-io/async-io-1.34.1.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/async-io/Manifest b/dev-ruby/async-io/Manifest index 78017219d243..f062b7e5ce18 100644 --- a/dev-ruby/async-io/Manifest +++ b/dev-ruby/async-io/Manifest @@ -1,3 +1,5 @@ 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 EBUILD async-io-1.34.0.ebuild 966 BLAKE2B d4087c8de853d808ef282982ea7b4486c74027fd8530e728604334ade10d7242534ba681c34d5f4f4256b9bdc70e0646afc20db2cc2816f85ea816016e323915 SHA512 4b6e01fc8213afecd7a6b0b86a335fcf506f050594d7367c4855cd0fd6d58de0f70f31844f5ae940939b19b52da942cb5f6ab3a02272f4984bddc032bc98acb5 +EBUILD async-io-1.34.1.ebuild 951 BLAKE2B 5bf5b3107602f3ecd59eea7e31b583e27a2acc0a86624c51a2b4fd58a7fe76f3caa05cf173a7cc622c8b738bc12c56a3733c8c08fc9667ba0601caf4e9a3a597 SHA512 33993a4c10b84bf2d4d49bd0881e674aa7514adb200744d212bd7075e039cab4c5ead797193c9420632ae4f9cc09a095c0072fee62e6e12a1867669ae3c80b60 MISC metadata.xml 344 BLAKE2B 7fb67688ba60d30637605ba7a2020cb328e18ffebd9fd6fed09114cc14596836b0dcc4d1590fd3755952baa52c258bdb9a935c47b1a4ef4f2d5e545e931d40fe SHA512 6ea960fe1feb969df78e66ae985b6ac95faa09a248d694aaa47876634f84a09a3807effc2b4289d35dbeaee3793c2c73276fd0f8b87375ab99e813085edd12af 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 +} |