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:
Hans de Graaff
2024-06-23 05:22:59 +02:00
parent f789134196
commit 422fa3de01
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST process_executer-1.1.0.tar.gz 16188 BLAKE2B 5c6449b3dccb6b80fe9706a43e0c72391398b6d822c283e05800125083b52f2ccd4579ab1871699e96dc8c9b1ff4c71537fe9937312aa8b2f63ad3363fba006e SHA512 751c33c660aaa5ca0397ee0b5c90b08db6f81491ef48d6752354e5c4b20fd9a1708d2fc6603de9f2b01f107af9b5a5f7354b45cd4b99cceefdfe0986c3824448

View 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>

View 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
}