diff options
author | Hans de Graaff <graaff@gentoo.org> | 2023-10-31 07:14:29 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2023-10-31 07:42:52 +0100 |
commit | 7171ee038d699f7b86367282474c850c3c864c84 (patch) | |
tree | a72359c979456024314dccb413c9e2eee8d05458 /dev-ruby/async | |
parent | net-analyzer/tsung: add 1.8.0, drop 1.7.0 (diff) | |
download | gentoo-7171ee038d699f7b86367282474c850c3c864c84.tar.gz gentoo-7171ee038d699f7b86367282474c850c3c864c84.tar.bz2 gentoo-7171ee038d699f7b86367282474c850c3c864c84.zip |
dev-ruby/async: add 2.6.5
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/async')
-rw-r--r-- | dev-ruby/async/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/async/async-2.6.5.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/async/Manifest b/dev-ruby/async/Manifest index 81e37ffe2e96..5945b2e209fb 100644 --- a/dev-ruby/async/Manifest +++ b/dev-ruby/async/Manifest @@ -3,3 +3,4 @@ DIST async-2.5.1.tar.gz 84455 BLAKE2B 251b1a8f5bd3d9f1cc4c6038d18dbd5dbe83278d27 DIST async-2.6.2.tar.gz 86923 BLAKE2B ef1a840bd52c3713268582260a00855061fc3ee2d05fb67a2de44f9012dc419745eeac0522fb06e9689860ed23bf5dbb8280f796e645d992d1a98da7cfb4279c SHA512 627f490360d96e9ef8cfb5dc5ea929a1574cdfa6db91fcbfe5b14f6e475e03c750b2806b8d13025425b969ed44944debdcf6d573bc95eafe80a6056a0550707b DIST async-2.6.3.tar.gz 93083 BLAKE2B a82885a001e58f7f638348890aeeff8271cec05237a528a5c3d4ed7d8280245b408944fcd082dec2186f3b7ca423395634b99bfb587e58b3672f1b1d0cd1a760 SHA512 e29a6bf234d9780bc452f8e14523608c0a06eef54c03051ef80e6e5cd54b1fa43fb81dde7653e1203faea548db27602191072f834cf024c5be737e43f48e5365 DIST async-2.6.4.tar.gz 93274 BLAKE2B 0e014dcb7814a711ffede259d61f3a077e01e80aa02472e7242c1ee31ef381d2c7b18f9343b3042c874c71bc36e6647741ddb6466805dc9eea427ee499f96f14 SHA512 53d6cc24f84604f9d0488f54909534e0ec51d1075dd1f93cade370e4d4cf4cfb433c47a887660b1f1c375803689dc7423994e3b1c92b42c932ead98a6e31fc75 +DIST async-2.6.5.tar.gz 93305 BLAKE2B fbceff6b20eaf10a922f9993c73157cd3790263e1540167715012e39a2223f2d5e8549e7f9949d3851fdf8120763b24b468b904e668aec2927c5c2028101c1d9 SHA512 839eea7d0113d879acd1d85da4d0119c0698b8bdfe36a24450a24c2fb2151cfa4cd8987aea663ba51ff52a078693cb1ee7e0f3ac805aebf91655f3e279842caf diff --git a/dev-ruby/async/async-2.6.5.ebuild b/dev-ruby/async/async-2.6.5.ebuild new file mode 100644 index 000000000000..05b46d97cf15 --- /dev/null +++ b/dev-ruby/async/async-2.6.5.ebuild @@ -0,0 +1,43 @@ +# 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="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 +} |