diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-08-08 06:37:52 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-08-08 06:41:22 +0200 |
commit | 8502aa6b50a4e356df88e6bcb63f83196b097c96 (patch) | |
tree | e00d572ddaf7cd837f2b5b7b0d2c32b6f05509a5 /dev-ruby/childprocess | |
parent | x11-drivers/nvidia-drivers: add 550.40.67:0/vulkan, drop 550.40.65 (diff) | |
download | gentoo-8502aa6b50a4e356df88e6bcb63f83196b097c96.tar.gz gentoo-8502aa6b50a4e356df88e6bcb63f83196b097c96.tar.bz2 gentoo-8502aa6b50a4e356df88e6bcb63f83196b097c96.zip |
dev-ruby/childprocess: add 5.1.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/childprocess')
-rw-r--r-- | dev-ruby/childprocess/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/childprocess/childprocess-5.1.0.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/childprocess/Manifest b/dev-ruby/childprocess/Manifest index 0fc5fba1af1e..5b70a2e98f02 100644 --- a/dev-ruby/childprocess/Manifest +++ b/dev-ruby/childprocess/Manifest @@ -1,2 +1,3 @@ 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 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 +} |