summaryrefslogtreecommitdiff
path: root/dev-ruby/cocaine
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/cocaine
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/cocaine')
-rw-r--r--dev-ruby/cocaine/Manifest3
-rw-r--r--dev-ruby/cocaine/cocaine-0.6.0.ebuild48
-rw-r--r--dev-ruby/cocaine/metadata.xml8
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-ruby/cocaine/Manifest b/dev-ruby/cocaine/Manifest
new file mode 100644
index 000000000000..1181a84a9e0a
--- /dev/null
+++ b/dev-ruby/cocaine/Manifest
@@ -0,0 +1,3 @@
+DIST cocaine-0.6.0.gem 12800 BLAKE2B fc401c0ca3dd4cf9dfe3c3877094e0ed0ca8b1ed8101cbb99b7637c268331bd380fde71a5f6a5f77104040d4e6ceb6dbe03874218a88c98edbdf525a05448db5 SHA512 da77d9f356c420517c45bef2c91722b260b071dce42c78f84c00527a0065f82f3e9a8d4a45a2ea4be99adf9f39326957afce6df8463586201bcf5a675b25707a
+EBUILD cocaine-0.6.0.ebuild 1070 BLAKE2B 0aa86c3a6403c9fd1a695afc2dee66aff6e875ba4b1eb6ae9add63afd99dd4fc1c2c4aa8f1d0477b638b676b257555872f560573c135e482fb68e90501fb9e46 SHA512 c099990b8d698612464df48db0d0adc09c9d0fb10a020c345692c9845295e13071a1a50acdf4f8f75df48014d887ac12414aff452fa6474855a16a4e8d5e9e4f
+MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09
diff --git a/dev-ruby/cocaine/cocaine-0.6.0.ebuild b/dev-ruby/cocaine/cocaine-0.6.0.ebuild
new file mode 100644
index 000000000000..c5cbc04f8138
--- /dev/null
+++ b/dev-ruby/cocaine/cocaine-0.6.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A small library for doing command lines"
+HOMEPAGE="http://www.thoughtbot.com/projects/cocaine"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "=dev-ruby/terrapin-0.6.0"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/activesupport-3 <dev-ruby/activesupport-5
+ dev-ruby/bourne
+ <dev-ruby/mocha-1.0.0
+ dev-ruby/posix-spawn
+ )"
+
+all_ruby_prepare() {
+ sed -i \
+ -e '/git ls-files/d' \
+ "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ rm Gemfile* || die
+
+ sed -i -e '/bundler/d' Rakefile || die
+
+ sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die
+
+ # BufferedLogger is deprecated in activesupport-4.0, and removed in 4.1
+ # Require active_support not active_support/buffered_logger.
+ sed -i -e 's/\/buffered_logger//g' spec/spec_helper.rb || die
+}
diff --git a/dev-ruby/cocaine/metadata.xml b/dev-ruby/cocaine/metadata.xml
new file mode 100644
index 000000000000..28ab0c15f206
--- /dev/null
+++ b/dev-ruby/cocaine/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>