mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-ruby/process_executer: new package, add 1.1.0
New dependency for dev-ruby/git. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
1
dev-ruby/process_executer/Manifest
Normal file
1
dev-ruby/process_executer/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST process_executer-1.1.0.tar.gz 16188 BLAKE2B 5c6449b3dccb6b80fe9706a43e0c72391398b6d822c283e05800125083b52f2ccd4579ab1871699e96dc8c9b1ff4c71537fe9937312aa8b2f63ad3363fba006e SHA512 751c33c660aaa5ca0397ee0b5c90b08db6f81491ef48d6752354e5c4b20fd9a1708d2fc6603de9f2b01f107af9b5a5f7354b45cd4b99cceefdfe0986c3824448
|
||||
12
dev-ruby/process_executer/metadata.xml
Normal file
12
dev-ruby/process_executer/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?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">main-branch/process_executer</remote-id>
|
||||
<remote-id type="rubygems">process_executer</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
31
dev-ruby/process_executer/process_executer-1.1.0.ebuild
Normal file
31
dev-ruby/process_executer/process_executer-1.1.0.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby31 ruby32 ruby33"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="process_executer.gemspec"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An API for executing commands in a subprocess"
|
||||
HOMEPAGE="https://github.com/main-branch/process_executer"
|
||||
SRC_URI="https://github.com/main-branch/process_executer/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1)"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e '/simplecov/ s:^:#:' \
|
||||
-e '/SimpleCov.formatters/,/SimpleCov.start/ s:^:#:' \
|
||||
-i spec/spec_helper.rb || die
|
||||
|
||||
sed -e "s:_relative ': './:" \
|
||||
-e "s/__dir__/'.'/" \
|
||||
-e 's/git ls-files -z/find * -print0/' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
Reference in New Issue
Block a user