mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-ruby/async-process: new package, add 1.3.1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
1
dev-ruby/async-process/Manifest
Normal file
1
dev-ruby/async-process/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST async-process-1.3.1.tar.gz 4138 BLAKE2B 8c3b3109e016e135005dd25db96fb2d38c568ce88410ca8d1c22cfd23ea8f34f926447cb36a75d3a60fa11d8bb08cab6b46e45d88b8a42f2585e7ab0c6179c81 SHA512 13f6ded2f9001c8759350b6ade002703f3ba58dcc2960055c5e52c7e44c22af9c59c69713c55cb7e7244a7f09e3557a75f41161a7aafd5f6c279f4bdbb698e3c
|
||||
37
dev-ruby/async-process/async-process-1.3.1.ebuild
Normal file
37
dev-ruby/async-process/async-process-1.3.1.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby27 ruby30 ruby31 ruby32"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
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"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/async
|
||||
dev-ruby/async-io"
|
||||
|
||||
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
|
||||
sed -i -e '/covered/ s:^:#:' spec/spec_helper.rb || die
|
||||
}
|
||||
11
dev-ruby/async-process/metadata.xml
Normal file
11
dev-ruby/async-process/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
<name>Gentoo Ruby Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">socketry/async-process</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user