summaryrefslogtreecommitdiff
path: root/dev-ruby/childprocess
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/childprocess')
-rw-r--r--dev-ruby/childprocess/Manifest2
-rw-r--r--dev-ruby/childprocess/childprocess-5.1.0.ebuild40
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/childprocess/Manifest b/dev-ruby/childprocess/Manifest
index da692e836806..48bee35b4e3a 100644
--- a/dev-ruby/childprocess/Manifest
+++ b/dev-ruby/childprocess/Manifest
@@ -1,5 +1,7 @@
DIST childprocess-4.1.0.gem 34304 BLAKE2B 81ca075bde9705eed57c80b0d37e1d8fcf3938bd0319a40f2178dab9be08cba570d90cc5292d585b3911eca5a90b4ff861d1fc79ba487d1a4f08b0fbd9a78c48 SHA512 e635c3acfa5ad85891c3879f240c7e96d47d7d5ec3f472f4ce6661552b0fb7bd72c5e3b9fb73f4f9312b749fbe554b4be388e56a31a3c63c39743d055d774def
DIST childprocess-5.0.0.gem 21504 BLAKE2B dae2022506c533f3c16337600bf5f489ccb694156079a2c9f2d3b1971c7fb44524e44b49e6e51c5ab6d1350222c8a84a5053b58e299cdc5e13633de2101f3952 SHA512 9ec340c86f4fd978b7a9925bcf90811ff3443f014469e4ff121e2c4758a4068823029ab413d1a57eb9de4a864435505b1edfa60a611709f2a5f99aaf08da422d
+DIST childprocess-5.1.0.gem 21504 BLAKE2B 3b8fc3559cc2de451b589c83e4edf939c8792c8eaeeee629ea7e9cc0d92af327e31e85231ba86a9cdb98a5f126a0735d54290efeed94c545112f17bee45ad38b SHA512 487ee82e6e7cc1e81ed6740e3eb54e12e9d1065de92eda71f48039e377db8a827c647ce6c9314157ece577be52519bbe014aadcda4a7a748589fad7dbf19ae3a
EBUILD childprocess-4.1.0.ebuild 1040 BLAKE2B e78e89fb1437cfd041197a476fc2f29555f99f51ce8dde2cc8b9a6e77a0519971d9c8be28ad509acbbb352f03dec9f41059a38182da84987d6dd23616afd9a19 SHA512 0b7374e06f0b99fd9952077318660d58fdb0aca8b78931c7908def3ef966e1e21254a9a99abfbe961f279367e38b1dc7e60402e4c9cb2007bfb27b38d6d13c00
EBUILD childprocess-5.0.0.ebuild 1048 BLAKE2B d338ae65c9a1a71cdbb5d04da500ff5c75e760aea7499ef019d1a57293e2e6833e9263dfb6f80777c5d2cac8ae97c1251c3df6a313eb444be15756958d0a3d2c SHA512 1e5f0d5715fc5f433f5220daf3c2b4826da35b9f3687ca733087eb53ede784e2d4afa04f27b1bd4ca40e9b385bee702e0e080b001d4ca2dde1da912612e33736
+EBUILD childprocess-5.1.0.ebuild 1071 BLAKE2B b83dbf8736eaaf0c98b87b022222529298d27d7f60cbb2cf6c560964f4ad9415d1f1d83b3abc1ccda20e6eb1c011dff1ff92b2a345392c128fac95a1944085c3 SHA512 f2fd3a16404a432676db7f7c7aca39c3a00ff36887db2c52ecf04f0b3d9ed8801480488afc938b048984666c3efe81d64d80b7a471f9ae7c901e1f62a9930178
MISC metadata.xml 405 BLAKE2B 4e0d8170d75e362ebb3726e2e999ce0c6961a0f9a61dc4afbffc4144000c29854081c972ec1bda28b58e8c01e8e1babb7442cf95799fcfdc96790750a15b60fc SHA512 5fb21546afb33a606905a9f112666fde382e46cfa6c0637dd0f10e6d43b791701e2dd6bafd2e685740e576982473f37255fc2f99c46f1eb08862bc3bf6f0b26c
diff --git a/dev-ruby/childprocess/childprocess-5.1.0.ebuild b/dev-ruby/childprocess/childprocess-5.1.0.ebuild
new file mode 100644
index 000000000000..427875e12707
--- /dev/null
+++ b/dev-ruby/childprocess/childprocess-5.1.0.ebuild
@@ -0,0 +1,40 @@
+# 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"
+
+ruby_add_rdepend ">=dev-ruby/ffi-1.0.11 >=dev-ruby/logger-1.5:0"
+
+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
+}