summaryrefslogtreecommitdiff
path: root/dev-ruby/open4
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/open4
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/open4')
-rw-r--r--dev-ruby/open4/Manifest3
-rw-r--r--dev-ruby/open4/metadata.xml11
-rw-r--r--dev-ruby/open4/open4-1.3.4.ebuild35
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/open4/Manifest b/dev-ruby/open4/Manifest
new file mode 100644
index 000000000000..b442590f4e2b
--- /dev/null
+++ b/dev-ruby/open4/Manifest
@@ -0,0 +1,3 @@
+DIST open4-1.3.4.gem 18944 BLAKE2B 00ef3139cbf6ae175aaa40526c105d39fdfb07c69f0a3aaf607feb799f0a8adac99cd5ea5caac29c884374af6591f4049b3888626c24b3d2371d4c0c9019cc7a SHA512 838a18efcd093d55d9589ff9d5c11054618abef863224c2d9b31445dc735218c2f96d954040e2d3f8d5aab0140e54b627fcc4a1b01c17e59267402a2abdd8efb
+EBUILD open4-1.3.4.ebuild 675 BLAKE2B 3dbd4d1848fb8a9f168880a8776ed3f9f3386b3b8318b86f2aabcb75208b9d61d4d20b43aa0add38bf790057ecbbbb85e8aa8153387fa9c87adbe74f076910b6 SHA512 2e23f94390987327f1837aa643d6456d5fa2bd2e97baa8a51798010eaf09f68879917f2e5f4bf2ecc92be2b0c8374ba3401b86f257a0e320c23fdc189ed6bbf5
+MISC metadata.xml 339 BLAKE2B 560d764d73e28f2679a134b33e3f281b678aa2cd53a0a271c646949fe1cd63a3d7399d33774888c8f3fd8cc55c44a5151629a8e376abc4d45f8b87f43bb9b8d9 SHA512 1a79e7584a1a8a3ca0df51e0b3f0631eb6a61f1aa529b464a15dc94abcd7de2385ce68f50db14b5041fcbec5b5d86d50d9584c524c43c89b3648f35caa23f1e1
diff --git a/dev-ruby/open4/metadata.xml b/dev-ruby/open4/metadata.xml
new file mode 100644
index 000000000000..65351e599675
--- /dev/null
+++ b/dev-ruby/open4/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">ahoward/open4</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/open4/open4-1.3.4.ebuild b/dev-ruby/open4/open4-1.3.4.ebuild
new file mode 100644
index 000000000000..2bba04258286
--- /dev/null
+++ b/dev-ruby/open4/open4-1.3.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Open3::popen3 with exit status"
+HOMEPAGE="https://github.com/ahoward/open4"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ mv rakefile Rakefile || die
+}
+
+all_ruby_install() {
+ all_fakegem_install
+
+ insinto /usr/share/doc/${PF}/samples
+ doins samples/*
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib -Itest/lib test/*.rb || die
+}