summaryrefslogtreecommitdiff
path: root/dev-ruby/childprocess
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-07 12:53:51 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-07 12:53:51 +0000
commit02814fd00146251691678aa18d9937665c677086 (patch)
tree5408cf868c128b241de5bab0f807058065bea7c8 /dev-ruby/childprocess
parent79713e75fcc5c5cb55d1b1beac008683b57c8805 (diff)
gentoo auto-resync : 07:01:2024 - 12:53:51
Diffstat (limited to 'dev-ruby/childprocess')
-rw-r--r--dev-ruby/childprocess/Manifest4
-rw-r--r--dev-ruby/childprocess/childprocess-5.0.0.ebuild41
-rw-r--r--dev-ruby/childprocess/metadata.xml3
3 files changed, 46 insertions, 2 deletions
diff --git a/dev-ruby/childprocess/Manifest b/dev-ruby/childprocess/Manifest
index 5d5ae381937d..36ca82fa2ba8 100644
--- a/dev-ruby/childprocess/Manifest
+++ b/dev-ruby/childprocess/Manifest
@@ -1,3 +1,5 @@
DIST childprocess-4.1.0.gem 34304 BLAKE2B 81ca075bde9705eed57c80b0d37e1d8fcf3938bd0319a40f2178dab9be08cba570d90cc5292d585b3911eca5a90b4ff861d1fc79ba487d1a4f08b0fbd9a78c48 SHA512 e635c3acfa5ad85891c3879f240c7e96d47d7d5ec3f472f4ce6661552b0fb7bd72c5e3b9fb73f4f9312b749fbe554b4be388e56a31a3c63c39743d055d774def
+DIST childprocess-5.0.0.gem 21504 BLAKE2B dae2022506c533f3c16337600bf5f489ccb694156079a2c9f2d3b1971c7fb44524e44b49e6e51c5ab6d1350222c8a84a5053b58e299cdc5e13633de2101f3952 SHA512 9ec340c86f4fd978b7a9925bcf90811ff3443f014469e4ff121e2c4758a4068823029ab413d1a57eb9de4a864435505b1edfa60a611709f2a5f99aaf08da422d
EBUILD childprocess-4.1.0.ebuild 1040 BLAKE2B e78e89fb1437cfd041197a476fc2f29555f99f51ce8dde2cc8b9a6e77a0519971d9c8be28ad509acbbb352f03dec9f41059a38182da84987d6dd23616afd9a19 SHA512 0b7374e06f0b99fd9952077318660d58fdb0aca8b78931c7908def3ef966e1e21254a9a99abfbe961f279367e38b1dc7e60402e4c9cb2007bfb27b38d6d13c00
-MISC metadata.xml 345 BLAKE2B 6c1e132dd9debd6a0f3a3da070ca48f1cbdfa8b091e4f7a686406552b27ea938d9e97e23b5311a93666aab8bfa90ec629c5a622fba67bbb85523dc06af38a5fb SHA512 c39abef104e244da843db9d772211e68a47739dc64d939d7e99d031b1fcad7a50da19c68dca4095c30069e0aab9f7a60750ae470c15347e21d2f9056f08e58bf
+EBUILD childprocess-5.0.0.ebuild 1055 BLAKE2B 5ae3605a34132c5ee4173f2e21f18a6d9abcf78db6032dbc1ab762c5dab92464944a13b8bfd34cb4f24c3f8615628712f1d8829a53953e052b3052482b82e40d SHA512 00689f6a4af28e60a827e7d8ea01e41c61266a8da0ec0c4544e4382b22e0cfeaf864bac99d60a7ebe3fa37eb206e5673580219334086cbc293c06271619a2e4f
+MISC metadata.xml 405 BLAKE2B 4e0d8170d75e362ebb3726e2e999ce0c6961a0f9a61dc4afbffc4144000c29854081c972ec1bda28b58e8c01e8e1babb7442cf95799fcfdc96790750a15b60fc SHA512 5fb21546afb33a606905a9f112666fde382e46cfa6c0637dd0f10e6d43b791701e2dd6bafd2e685740e576982473f37255fc2f99c46f1eb08862bc3bf6f0b26c
diff --git a/dev-ruby/childprocess/childprocess-5.0.0.ebuild b/dev-ruby/childprocess/childprocess-5.0.0.ebuild
new file mode 100644
index 000000000000..1d3f000e03be
--- /dev/null
+++ b/dev-ruby/childprocess/childprocess-5.0.0.ebuild
@@ -0,0 +1,41 @@
+# 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_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Solution for controlling external programs running in the background"
+HOMEPAGE="https://github.com/enkessler/childprocess"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/ffi-1.0.11"
+
+all_ruby_prepare() {
+ # Remove bundler support
+ rm Gemfile || die
+ sed -i -e "/[Bb]undler/d" Rakefile || die
+ sed -i -e "/[Cc]overalls/d" spec/spec_helper.rb || die
+ sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_prepare() {
+ sed -i -e "s:'ruby':'"${RUBY}"':" spec/childprocess_spec.rb spec/spec_helper.rb || die
+ sed -i -e '/system/ s:ruby:'${RUBY}':' spec/spec_helper.rb || die
+}
+
+each_ruby_test() {
+ RUBYLIB=lib RSPEC_VERSION=3 ruby-ng_rspec
+}
diff --git a/dev-ruby/childprocess/metadata.xml b/dev-ruby/childprocess/metadata.xml
index 4a1d3ad00d09..4774b53ab662 100644
--- a/dev-ruby/childprocess/metadata.xml
+++ b/dev-ruby/childprocess/metadata.xml
@@ -6,6 +6,7 @@
<name>Gentoo Ruby Project</name>
</maintainer>
<upstream>
- <remote-id type="github">jarib/childprocess</remote-id>
+ <remote-id type="github">enkessler/childprocess</remote-id>
+ <remote-id type="rubygems">childprocess</remote-id>
</upstream>
</pkgmetadata>