diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-05-16 06:21:59 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-05-16 06:21:59 +0200 |
commit | 533c197ae2c5295983e390869670e91047a52a60 (patch) | |
tree | eb900833811fd43f49b9a00b7994afad1f6f229a /dev-ruby/posix-spawn | |
parent | dev-ruby/loofah: add proper gemspec (diff) | |
download | gentoo-533c197ae2c5295983e390869670e91047a52a60.tar.gz gentoo-533c197ae2c5295983e390869670e91047a52a60.tar.bz2 gentoo-533c197ae2c5295983e390869670e91047a52a60.zip |
dev-ruby/posix-spawn: add 0.3.14
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/posix-spawn')
-rw-r--r-- | dev-ruby/posix-spawn/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/posix-spawn/posix-spawn-0.3.14.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/posix-spawn/Manifest b/dev-ruby/posix-spawn/Manifest index 7178a486198c..694e58330f44 100644 --- a/dev-ruby/posix-spawn/Manifest +++ b/dev-ruby/posix-spawn/Manifest @@ -1 +1,2 @@ DIST posix-spawn-0.3.13.gem 28160 BLAKE2B 68b1c241310c7b35bf8bea055e63a60320ae3fc877f9bc9f4e2dc0d30c1484eb5081be8c7d60309ed04900c410d52624dae6e37a0f134993f334526f2d9de98d SHA512 a9cd878571440cc0aaee541cbb97b6f4dcb03e48a8ef8588693f4c68990eb530e3b1685d615546763c9bba5d3109134442285023938eb2f116e9749f0da12bb9 +DIST posix-spawn-0.3.14.gem 29696 BLAKE2B 6c3cf234b8754b2757e0360f2b2bfd008628891ecec813dc3644f9a378317f3645908539588a3fbfae5a6fc4a0b9c5beb6fb925fdd9f6fb3cf8cdddbf6db448e SHA512 85d34d8301e1d0923831890d4ac3191e81cc4c716671bc3b71d44be92e9b0c278bd4ce17b9387fc10359266bbdee1e1aad5cb4bbf1c08ab385b023ba2fec74d7 diff --git a/dev-ruby/posix-spawn/posix-spawn-0.3.14.ebuild b/dev-ruby/posix-spawn/posix-spawn-0.3.14.ebuild new file mode 100644 index 000000000000..d123fe204ec0 --- /dev/null +++ b/dev-ruby/posix-spawn/posix-spawn-0.3.14.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md TODO HACKING" + +inherit ruby-fakegem + +DESCRIPTION="Library that implements a subset of the Ruby 1.9 Process::spawn" +HOMEPAGE="https://github.com/rtomayko/posix-spawn/" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +LICENSE="MIT LGPL-2.1" +SLOT="0" +IUSE="test" + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext + cp ext/*$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each {|f| require f}' || die +} |