diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-04-27 12:30:37 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-04-27 12:31:13 +0200 |
commit | fb47df7d0e85dfd3037e29284ea203e6a2afe659 (patch) | |
tree | 04ddef0ff8d6c8e15e77d5e32614071db335bfee /dev-ruby/childprocess | |
parent | dev-ruby/rex-registry: add 0.1.3 (diff) | |
download | gentoo-fb47df7d0e85dfd3037e29284ea203e6a2afe659.tar.gz gentoo-fb47df7d0e85dfd3037e29284ea203e6a2afe659.tar.bz2 gentoo-fb47df7d0e85dfd3037e29284ea203e6a2afe659.zip |
dev-ruby/childprocess: add 0.9.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/childprocess')
-rw-r--r-- | dev-ruby/childprocess/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/childprocess/childprocess-0.9.0.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/childprocess/Manifest b/dev-ruby/childprocess/Manifest index 96cb4c9b6ee4..a77796d52ed7 100644 --- a/dev-ruby/childprocess/Manifest +++ b/dev-ruby/childprocess/Manifest @@ -2,3 +2,4 @@ DIST childprocess-0.6.3.gem 31744 BLAKE2B 18fedbe7fbfa1a3954e74206b1f6207351d430 DIST childprocess-0.7.0.gem 32256 BLAKE2B 58654d088b2b45917ce279de5178b21694ddb32c2771eb04b2b9de2db5e1f4cfcd6250947a38f51332dbdde730118cd63cd5432f0d54138b795416bbc6589365 SHA512 f06203ffecc09f5ab2dd2fe003de0e1f96906b1c5966c2dd630cccae046fd4b4efc6f8c96d4c825af2b4ab2e0e8dd63f6dee97701627d0ad311f0d8395c89c8a DIST childprocess-0.7.1.gem 32256 BLAKE2B 428eef33c465e8805c855a9389fb0f393e04c48f0f30de4cd2f407cbf403fcfd621283cc9aafcc8336c19415245b180d46036c0e50910fcd8543ad346e0faec3 SHA512 c8e22a3244b5f6315ea003b20feb3f5a576c73938d8eb730f3aea99dc63662497a954531139983ffce74ebc089609e9ecc665144cfa6f05c699804615ca68902 DIST childprocess-0.8.0.gem 32768 BLAKE2B c473da69bd38bda1e28e6adbac7b11597b05eafa58315996435052683f2e3ed500f3c83b27b17859115e1113e0da726007d0ccac3fee171b5338a9026482ac6f SHA512 7e10c15930012bf99ea28afa677a6f745d4e6ebfc21f21f7101111c5a2d35df4fb146bbddb4d1e7a6711324ee7604af50995960570e85ed3f8fe087c59fc02cf +DIST childprocess-0.9.0.gem 32768 BLAKE2B cb836c2cc3f9d6bda1db88aec8692499dae2a325611dcdfae482fd6a7bbf065612f0efbe140c08447566b8759ce125968a153d6df38889403d98bc94fe397d7b SHA512 5a788556e14491b0801b8a533d8d8eebba726af6417c8c6c7146738fcae2f92e9faa090312e77d974852003f5a4d155d5307b0c9d1ff1d18173ad653d21f63d8 diff --git a/dev-ruby/childprocess/childprocess-0.9.0.ebuild b/dev-ruby/childprocess/childprocess-0.9.0.ebuild new file mode 100644 index 000000000000..3fdfcee15242 --- /dev/null +++ b/dev-ruby/childprocess/childprocess-0.9.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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/jarib/childprocess" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~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 || die +} + +each_ruby_test() { + RUBYLIB=lib RSPEC_VERSION=3 ruby-ng_rspec +} |