summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-12-09 08:02:41 +0100
committerHans de Graaff <graaff@gentoo.org>2024-12-09 08:03:07 +0100
commit30884590c95df5741d3f2d8291412d8f7943039e (patch)
treefa53cc8ebac76cd35b1217acc5b84ae241ee11c5 /dev-ruby
parentdev-ruby/propshaft: add 1.1.0 (diff)
downloadgentoo-30884590c95df5741d3f2d8291412d8f7943039e.tar.gz
gentoo-30884590c95df5741d3f2d8291412d8f7943039e.tar.bz2
gentoo-30884590c95df5741d3f2d8291412d8f7943039e.zip
dev-ruby/process_executer: add 1.2.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/process_executer/Manifest1
-rw-r--r--dev-ruby/process_executer/process_executer-1.2.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/process_executer/Manifest b/dev-ruby/process_executer/Manifest
index 4db82aa4eee2..086e8f8a9c43 100644
--- a/dev-ruby/process_executer/Manifest
+++ b/dev-ruby/process_executer/Manifest
@@ -1 +1,2 @@
DIST process_executer-1.1.0.tar.gz 16188 BLAKE2B 5c6449b3dccb6b80fe9706a43e0c72391398b6d822c283e05800125083b52f2ccd4579ab1871699e96dc8c9b1ff4c71537fe9937312aa8b2f63ad3363fba006e SHA512 751c33c660aaa5ca0397ee0b5c90b08db6f81491ef48d6752354e5c4b20fd9a1708d2fc6603de9f2b01f107af9b5a5f7354b45cd4b99cceefdfe0986c3824448
+DIST process_executer-1.2.0.tar.gz 16532 BLAKE2B d784a1329a58544565427be2c43246922d9a681734d4e378a08eb8eb2d40278128505dcfd7c95a04e9f103a455dfd9cabf6f1b8a297b6484bf27124399c88807 SHA512 931c586072ee7d2f26374124bbb773815ef6b6ca3b6d00e1c7a2d3e77855855200bb0c335e4ee825bc714af0233c83f6a032bdc6c3d64fc3efab5991fcf79f34
diff --git a/dev-ruby/process_executer/process_executer-1.2.0.ebuild b/dev-ruby/process_executer/process_executer-1.2.0.ebuild
new file mode 100644
index 000000000000..bcbbfa273d66
--- /dev/null
+++ b/dev-ruby/process_executer/process_executer-1.2.0.ebuild
@@ -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 ~ppc ~ppc64 ~x86"
+
+all_ruby_prepare() {
+ sed -e '/simplecov/ s:^:#:' \
+ -e '/SimpleCov::RSpec/ 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
+}