summaryrefslogtreecommitdiff
path: root/dev-ruby/subexec
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/subexec')
-rw-r--r--dev-ruby/subexec/Manifest1
-rw-r--r--dev-ruby/subexec/subexec-0.2.3-r2.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/subexec/Manifest b/dev-ruby/subexec/Manifest
index f87a969ebc69..68df4f931fe8 100644
--- a/dev-ruby/subexec/Manifest
+++ b/dev-ruby/subexec/Manifest
@@ -1,3 +1,4 @@
DIST subexec-0.2.3.tgz 4384 BLAKE2B 27dc40377f7b2fee33553543723b9e15cd02a1171bd24b5d213b3546b7b20267cb8cbf987c1a1f6c0285f594b194f1dc20c41314266587be30d961e4b514f8b9 SHA512 b6fc5ee802906a690a1d1542ada44aba1df5e6861a66f4df58623e366d8d3ab2349d2963817bf07089e1dc15932ca03f0020d16777012ec4b92879280868bb75
EBUILD subexec-0.2.3-r1.ebuild 745 BLAKE2B 3ceec00621225756507737444ffc641b224c2e796cb8d83bb0ab6e186336fff8615cdcef587f4218ad05e3f343b3e991afddda624e0c13fc64566d0483bd2e57 SHA512 1e37a5f662a6c043464d6e91576ea3a5dcb2302b7db5dde5842ae04d24d98fb1402901a264a2b390722b32230455492098f8cb917f9835dce29fea5e70ff448e
+EBUILD subexec-0.2.3-r2.ebuild 778 BLAKE2B e445ee06e62edd9bd2e3c5e85556c18029383caf9b9e8df916f2c800504ed70a832c65ad6d88e0275ca2fc6cbe8d32c90dc16acf4d0cf6dd71998756e5b47b32 SHA512 dad2366e9ab0e5ae01541a43eae6189c46e41ae20e16794fe5d4cb6d6b0f77c636421e5bc0579dc94789a1535970031f276c10b4a121ef88309d4d0a66029e94
MISC metadata.xml 341 BLAKE2B aa5ca57e8f90589a330fcec539b522d24e13584b305e4c89ccc0a1efd3e62b50887da931ec7fd2321810b165e6ac09c8ee0dfbe78447a0341a8a749526261b7b SHA512 3bfec664d4436ca5e76c8d73872f7bc23ccfd6fe676725d96c96a64651a33660d4f0ec6f3aaaa6c231594684904078a848622332d9729a4fee1ffbfc60e29972
diff --git a/dev-ruby/subexec/subexec-0.2.3-r2.ebuild b/dev-ruby/subexec/subexec-0.2.3-r2.ebuild
new file mode 100644
index 000000000000..f689733762be
--- /dev/null
+++ b/dev-ruby/subexec/subexec-0.2.3-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="subexec.gemspec"
+
+inherit ruby-fakegem
+
+GITHUB_USER="nulayer"
+
+DESCRIPTION="Subexec spawns an external command with a timeout"
+HOMEPAGE="https://github.com/nulayer/subexec"
+SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/shoulda )"
+
+all_ruby_prepare() {
+ rm Gemfile* || die
+ sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die
+ sed -i -e '/begin/,/end/ s:^:#:' spec/spec_helper.rb || die
+}