summaryrefslogtreecommitdiff
path: root/dev-ruby/cocaine
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
commita4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch)
tree852c90a4bf354c30ea66504f70bfab5401fba18d /dev-ruby/cocaine
parent5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff)
gentoo resync : 28.04.2018
Diffstat (limited to 'dev-ruby/cocaine')
-rw-r--r--dev-ruby/cocaine/Manifest2
-rw-r--r--dev-ruby/cocaine/cocaine-0.6.0.ebuild48
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/cocaine/Manifest b/dev-ruby/cocaine/Manifest
index ef9bc8a97494..dae5846fcc41 100644
--- a/dev-ruby/cocaine/Manifest
+++ b/dev-ruby/cocaine/Manifest
@@ -1,3 +1,5 @@
DIST cocaine-0.5.8.gem 17408 BLAKE2B bd425d9ceae81e1c29c0059d9296b9de392940ea301b2752cdeef6777ee942975c548e7018f5f2a66505c5ea836a1c2ed684b2d0756c6047a1ca7b825c0cb12e SHA512 0145c1731261db50c1855881da470dfeffdc3bee7cd6c800590507adc7204a31ec178ff6f655866b888eb87b47e1e454415181ec909f2dbe74f8f66277282d3f
+DIST cocaine-0.6.0.gem 12800 BLAKE2B fc401c0ca3dd4cf9dfe3c3877094e0ed0ca8b1ed8101cbb99b7637c268331bd380fde71a5f6a5f77104040d4e6ceb6dbe03874218a88c98edbdf525a05448db5 SHA512 da77d9f356c420517c45bef2c91722b260b071dce42c78f84c00527a0065f82f3e9a8d4a45a2ea4be99adf9f39326957afce6df8463586201bcf5a675b25707a
EBUILD cocaine-0.5.8.ebuild 1086 BLAKE2B 75bfd02ecd8f988cba8eefe5bdf1b690ad7107f14c586882b27b2b2d3be723ec51d9c47bd6631234bcaa4e988471b4db56c8332df5bf9d7b4f798b475afb25b2 SHA512 4bfd0d2950fc813ffb966209eeab42922136dc20e6307e0e347b219ad2ce95a8b1509029a67dac532db8c7b3dfce470ce222a2d9208c8ebfd7e7badf0b503ec7
+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
+}