From 6e9fa3a4a14685a33fc9182895e5529c293bae2e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 9 Aug 2023 09:29:40 +0100 Subject: gentoo auto-resync : 09:08:2023 - 09:29:39 --- dev-ruby/async/Manifest | 2 ++ dev-ruby/async/async-2.6.3.ebuild | 46 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 dev-ruby/async/async-2.6.3.ebuild (limited to 'dev-ruby/async') diff --git a/dev-ruby/async/Manifest b/dev-ruby/async/Manifest index b3c496015348..ead385074c08 100644 --- a/dev-ruby/async/Manifest +++ b/dev-ruby/async/Manifest @@ -2,7 +2,9 @@ AUX async-1.31.0-improve-robustness-test.patch 1174 BLAKE2B 93c9de3f4d5ad78714cf DIST async-1.31.0.tar.gz 92889 BLAKE2B b573e3106243fd0934387254b302f541a9ebbcd34bd451562bab1d39bcd37c593e2290667b524db7bc862268812a0932a644c670cbaf2a4a5ee240a866e08726 SHA512 f60fb9f4e95d1f579ce5f664abfe96b7196e3e47baf2856b7e97815107e0aa2e807c969839d118b6144372443687568488749547d762863b31d82c8d7e5d45ac DIST async-2.5.1.tar.gz 84455 BLAKE2B 251b1a8f5bd3d9f1cc4c6038d18dbd5dbe83278d27b35656d12942d7f4501828a2978f64f4fe4e77758476e161e06141b558430af2c42536a7e65bb0795fa2c2 SHA512 b12effeca7372e74ea9ca0ace08d7ea3d7398bbc0c3fdf57f9f57a5888ef975682c86bf010ae1d8b5070408a0f36887972edf12c54382dff5b493d56df5707ac DIST async-2.6.2.tar.gz 86923 BLAKE2B ef1a840bd52c3713268582260a00855061fc3ee2d05fb67a2de44f9012dc419745eeac0522fb06e9689860ed23bf5dbb8280f796e645d992d1a98da7cfb4279c SHA512 627f490360d96e9ef8cfb5dc5ea929a1574cdfa6db91fcbfe5b14f6e475e03c750b2806b8d13025425b969ed44944debdcf6d573bc95eafe80a6056a0550707b +DIST async-2.6.3.tar.gz 93083 BLAKE2B a82885a001e58f7f638348890aeeff8271cec05237a528a5c3d4ed7d8280245b408944fcd082dec2186f3b7ca423395634b99bfb587e58b3672f1b1d0cd1a760 SHA512 e29a6bf234d9780bc452f8e14523608c0a06eef54c03051ef80e6e5cd54b1fa43fb81dde7653e1203faea548db27602191072f834cf024c5be737e43f48e5365 EBUILD async-1.31.0.ebuild 1165 BLAKE2B 30241a397ea956f9f511fade6e568587dd5be4b8a53543edd44b613c7eed202558c5cceba5b243ca8cb48712887d573ae50e586c8e58b5c0de2df0c1f2c4154a SHA512 34cbc2aa76afa5b315f9405881bf1a242a8bbdc680e9427fa3c2a68067b8f344368d75f9ffcd2e115d6a92fa34749304ab232b129edc4dc000249098d710b436 EBUILD async-2.5.1.ebuild 1133 BLAKE2B 4a00cff53a2c40799d728d7c9419ce8538b3411e91b38b0474597a0fe499ba91cf8dd5ea92d334e13cce8493f0f4d506977970ac9a55914740817e357c75351b SHA512 ca239239859fe8c42872839c1ae03f7c11c651d5bdf422f0f46d4444742929b7c9bccfc874440d4f8bd7b2573e83013dfe57f9576c9b4e41fdbb9f2b72a18b2a EBUILD async-2.6.2.ebuild 1163 BLAKE2B 7bcf80c9a62c95c9035dda7cbaa99ff4d641e96a589d36cb84029212a77adc765179db3d1459bbbff587a98a8121a649f3bbd598724e61dac7851d10a8707c99 SHA512 f0e1a2f1c1a7012c79dfd039047edfc0aba310fe1809ce1486f48e76048a9f70c67db0e68573188088f5e7356dc3efe5f2b310149c935dacb1f546929fb0896e +EBUILD async-2.6.3.ebuild 1164 BLAKE2B 4372aca573c12be54a8b4a91cfd07f2a88fe47aeebc845a2f2956e9e4ca3cf4cd44e035ff681e2a27831f39fe33ac524af4e899267913741cc36f581227e1536 SHA512 6b8e9f1527bf89791048302c53aa0f8cb5704b9f4fa676e9e295384591181116ea4edc9a697ce2b8ee8ec8279ad4996290bb3c09f425d09b181d40ad267c49cf MISC metadata.xml 341 BLAKE2B acbe731aefbd211b23790c22ed97fbc1f83c45cf5ed786aa99fedafa5ca930081e71b3466584846f6e2f7a793da65c82bb4c9c85c15a669ebf5e7db47b74836f SHA512 d96626a4c34ef4981c11dcd07f51a9940d29b2bd8013868f3e5778d2f62a59bf3ca864a370a4d7951ca98079d6d5939d9aa9a4f4ed0233ec5f7fe544fa64fa26 diff --git a/dev-ruby/async/async-2.6.3.ebuild b/dev-ruby/async/async-2.6.3.ebuild new file mode 100644 index 000000000000..cf1aa582c9f9 --- /dev/null +++ b/dev-ruby/async/async-2.6.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# It really is >=ruby31 only, see: +# https://github.com/socketry/async/issues/141 +# https://github.com/socketry/async/issues/136 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="sus" +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A concurrency framework for Ruby" +HOMEPAGE="https://github.com/socketry/async" +SRC_URI="https://github.com/socketry/async/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +ruby_add_rdepend " + >=dev-ruby/console-1.10:1 + dev-ruby/fiber-annotation + dev-ruby/io-event:1.1 + >=dev-ruby/timers-4.1:4 +" + +ruby_add_bdepend "test? ( + dev-ruby/benchmark-ips + dev-ruby/sus-fixtures-async +)" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + + # network tests + rm test/net/http.rb \ + test/async/scheduler/address.rb \ + test/async/scheduler/io.rb || die + + sed -i -e '/covered/Id' config/sus.rb || die +} -- cgit v1.2.3