diff options
Diffstat (limited to 'dev-ruby/async-process')
-rw-r--r-- | dev-ruby/async-process/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/async-process/async-process-1.4.0.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-ruby/async-process/Manifest b/dev-ruby/async-process/Manifest index 9d050de6d435..6f02eb217fc2 100644 --- a/dev-ruby/async-process/Manifest +++ b/dev-ruby/async-process/Manifest @@ -1,3 +1,5 @@ DIST async-process-1.3.1.tar.gz 4138 BLAKE2B 8c3b3109e016e135005dd25db96fb2d38c568ce88410ca8d1c22cfd23ea8f34f926447cb36a75d3a60fa11d8bb08cab6b46e45d88b8a42f2585e7ab0c6179c81 SHA512 13f6ded2f9001c8759350b6ade002703f3ba58dcc2960055c5e52c7e44c22af9c59c69713c55cb7e7244a7f09e3557a75f41161a7aafd5f6c279f4bdbb698e3c +DIST async-process-1.4.0.tar.gz 6578 BLAKE2B 2288b715e8cec5b2e3d8cb4ed04eb75c250d044d0cc9e2e4df69d21c1c3b39925b7128f91d689dcf62ce75996bbaf1edd37e3e5bf4b6711d9c2207fe45e19a82 SHA512 29400877a25f06533f53091a61f0f4a532053e6c6161774bb04821396e6d462063bdec5bc45d616f2d82110d990f3ff6056ece080d9200f0c5ac44a96891e2a6 EBUILD async-process-1.3.1.ebuild 971 BLAKE2B b79b3c2155fff39a97660310a268c22a958d85d50ba1262e4439e6d1c252b24a20ae957ffe062f0263586fe2de052052eee63c211e9d87b8eb71f1644412c3c5 SHA512 49c31ff10e57a32ef789d3012dc7810bf8cb9ceb44ff3b8cecac1ab3d103bc51cff0883a698f871fc8e252d6de7bcabb67960e1a8784035bc148520bcbd0b5c9 +EBUILD async-process-1.4.0.ebuild 928 BLAKE2B ce86b7cc478d1e9bfaaf4776b054fab68c39f9809653b305145cdd200363aadde719c9eb0fbbc0f7301bcef1fc77b6d4d6b9144ac5e735cacaa9ba2dea16d8a5 SHA512 2a02b8cee68d84176fa7455a2e0d1144da3d13f562ec63d97bd2c7d39350dbc7302044cc2e8f4b60030526ad5423aa6f8534a2cef4bb0b7dcae1c34f9acc2913 MISC metadata.xml 349 BLAKE2B b0fa4bde86b2d91060eee33d6b4cf5d761dc4c664c855829bbb039d65a6b7aa8ba13dae8b6f5a93ba3d0a4593c74f22a347a9be6809ea4f46f7a309d7489389c SHA512 ec9e374a9b91baaf96eb669a71930942300896b87f26dff7884cba32fb5f502c8e7ab72a6b363623416be8307d533418b46d33a79bc671c358a666224039532f diff --git a/dev-ruby/async-process/async-process-1.4.0.ebuild b/dev-ruby/async-process/async-process-1.4.0.ebuild new file mode 100644 index 000000000000..2de7b84e66ff --- /dev/null +++ b/dev-ruby/async-process/async-process-1.4.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_RECIPE_TEST="sus" +RUBY_FAKEGEM_EXTRADOC="readme.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Abstract container-based parallelism using threads and processes" +HOMEPAGE="https://github.com/socketry/async-process" +SRC_URI="https://github.com/socketry/async-process/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:2" + +ruby_add_bdepend "test? ( + >=dev-ruby/async-rspec-1.1:1 +)" + +all_ruby_prepare() { + sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die + + rm gems.rb || die + + # Avoid test dependency on unpackaged covered + rm -f config/sus.rb || die +} |