summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-11-21 07:51:23 +0100
committerHans de Graaff <graaff@gentoo.org>2015-11-21 07:51:23 +0100
commiteae5784381a8c19ea5c7f35d670ba8c1c6eea213 (patch)
tree11c8137cfbb977b2f6ee49818912245e59ac0efd /dev-ruby/cocaine
parentclean old (diff)
downloadgentoo-eae5784381a8c19ea5c7f35d670ba8c1c6eea213.tar.gz
gentoo-eae5784381a8c19ea5c7f35d670ba8c1c6eea213.tar.bz2
gentoo-eae5784381a8c19ea5c7f35d670ba8c1c6eea213.zip
dev-ruby/cocaine: add 0.5.8
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/cocaine')
-rw-r--r--dev-ruby/cocaine/Manifest1
-rw-r--r--dev-ruby/cocaine/cocaine-0.5.8.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/cocaine/Manifest b/dev-ruby/cocaine/Manifest
index 78e88feda53c..98ead2594eac 100644
--- a/dev-ruby/cocaine/Manifest
+++ b/dev-ruby/cocaine/Manifest
@@ -1,2 +1,3 @@
DIST cocaine-0.5.5.gem 16384 SHA256 637de9fc749bf8e55b032155d3d93ecfe30c7c65e958b467324c25c7d4239660 SHA512 d678a823e610b39fac934584466b7f231ee27387323c953206c09a16ce309d58b941e7750cf5666851dff8f93863c10eae524e725aa6c92e11c70dcc44480a10 WHIRLPOOL ff6a31ca7cdb474902ee7d2a7c4d2aea546b411072509dbab90ecdcfbf6b0fe623ee4a0cba7c685f3898116da25bc35adb4084ffd2e9c2f494cb5ae2b5c4b926
DIST cocaine-0.5.7.gem 16384 SHA256 ccf17d0050b63a436524f65608dd1ab993973a19af6ccb6bc3341d0629702f1d SHA512 6de24020f83b8af27f6b3e49457b9ae5316f282aeab194254fdde8ece0f3b75250c0a63fd127eb304e769e71f85f9e67e4e65e4c0f04ac80a69fc9990fd932cd WHIRLPOOL 25b1843ea59543a40b6296424d4ce26302ef8e4ec8a63821dd22eefa09db9bbd6d9967ff686167e983d95b5316a850106a3b27c666485327f293129b05f4ee2c
+DIST cocaine-0.5.8.gem 17408 SHA256 ed44cebd5eae70ccdaa2ca926cfe5071c31f8a07d25b63779beb6a7a5a2f7306 SHA512 0145c1731261db50c1855881da470dfeffdc3bee7cd6c800590507adc7204a31ec178ff6f655866b888eb87b47e1e454415181ec909f2dbe74f8f66277282d3f WHIRLPOOL 083ef476162d8b6dd12452e004e770c216010fc56ba37b3b93939c222eddccccadc0682895e17eff576d352397d12716ddf20a102d44b173567fad1c6e511912
diff --git a/dev-ruby/cocaine/cocaine-0.5.8.ebuild b/dev-ruby/cocaine/cocaine-0.5.8.ebuild
new file mode 100644
index 000000000000..8b863739d09d
--- /dev/null
+++ b/dev-ruby/cocaine/cocaine-0.5.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+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/climate_control: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
+}