summaryrefslogtreecommitdiff
path: root/dev-ruby/subexec
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/subexec
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/subexec')
-rw-r--r--dev-ruby/subexec/Manifest3
-rw-r--r--dev-ruby/subexec/metadata.xml11
-rw-r--r--dev-ruby/subexec/subexec-0.2.3-r1.ebuild32
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/subexec/Manifest b/dev-ruby/subexec/Manifest
new file mode 100644
index 000000000000..3b9b59efd4d7
--- /dev/null
+++ b/dev-ruby/subexec/Manifest
@@ -0,0 +1,3 @@
+DIST subexec-0.2.3.tgz 4384 BLAKE2B 27dc40377f7b2fee33553543723b9e15cd02a1171bd24b5d213b3546b7b20267cb8cbf987c1a1f6c0285f594b194f1dc20c41314266587be30d961e4b514f8b9 SHA512 b6fc5ee802906a690a1d1542ada44aba1df5e6861a66f4df58623e366d8d3ab2349d2963817bf07089e1dc15932ca03f0020d16777012ec4b92879280868bb75
+EBUILD subexec-0.2.3-r1.ebuild 740 BLAKE2B fb3942affc86ce61ef8098e03b2ed2d2f8c7ceab7b50920c0adaf17e9472141605334a4f7fc88e15fabdbeaea2d9868bc0fc9267ccad7edc130659820e9c480a SHA512 4fec6839455d2463596071480276ca831c533b59c53da2bfd2efee322a04e4fe78dc65c86a03da42763a32de5b66e2d69b06de2de51614c62d46cc33a85b3950
+MISC metadata.xml 341 BLAKE2B aa5ca57e8f90589a330fcec539b522d24e13584b305e4c89ccc0a1efd3e62b50887da931ec7fd2321810b165e6ac09c8ee0dfbe78447a0341a8a749526261b7b SHA512 3bfec664d4436ca5e76c8d73872f7bc23ccfd6fe676725d96c96a64651a33660d4f0ec6f3aaaa6c231594684904078a848622332d9729a4fee1ffbfc60e29972
diff --git a/dev-ruby/subexec/metadata.xml b/dev-ruby/subexec/metadata.xml
new file mode 100644
index 000000000000..31580781c902
--- /dev/null
+++ b/dev-ruby/subexec/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">nulayer/subexec</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/subexec/subexec-0.2.3-r1.ebuild b/dev-ruby/subexec/subexec-0.2.3-r1.ebuild
new file mode 100644
index 000000000000..0154b8bee659
--- /dev/null
+++ b/dev-ruby/subexec/subexec-0.2.3-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+inherit ruby-fakegem eutils
+
+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
+}