summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-12-14 08:30:45 +0000
committerHans de Graaff <graaff@gentoo.org>2014-12-14 08:30:45 +0000
commitbe59e5a3bd9330f5ed21e2fa4d16398811fbdae4 (patch)
tree1deeadafb1e2992e114c20816331d73a7f04a6a9 /dev-ruby/cocaine
parentBump yesod-form to 1.4.3 (diff)
downloadgentoo-2-be59e5a3bd9330f5ed21e2fa4d16398811fbdae4.tar.gz
gentoo-2-be59e5a3bd9330f5ed21e2fa4d16398811fbdae4.tar.bz2
gentoo-2-be59e5a3bd9330f5ed21e2fa4d16398811fbdae4.zip
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/cocaine')
-rw-r--r--dev-ruby/cocaine/ChangeLog7
-rw-r--r--dev-ruby/cocaine/cocaine-0.5.5.ebuild49
2 files changed, 55 insertions, 1 deletions
diff --git a/dev-ruby/cocaine/ChangeLog b/dev-ruby/cocaine/ChangeLog
index 32b5b5e15b0c..1b7ce26e68e8 100644
--- a/dev-ruby/cocaine/ChangeLog
+++ b/dev-ruby/cocaine/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/cocaine
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/cocaine/ChangeLog,v 1.13 2014/12/02 23:38:37 p8952 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/cocaine/ChangeLog,v 1.14 2014/12/14 08:30:45 graaff Exp $
+
+*cocaine-0.5.5 (14 Dec 2014)
+
+ 14 Dec 2014; Hans de Graaff <graaff@gentoo.org> +cocaine-0.5.5.ebuild:
+ Version bump.
*cocaine-0.5.4-r1 (02 Dec 2014)
diff --git a/dev-ruby/cocaine/cocaine-0.5.5.ebuild b/dev-ruby/cocaine/cocaine-0.5.5.ebuild
new file mode 100644
index 000000000000..7454612136ce
--- /dev/null
+++ b/dev-ruby/cocaine/cocaine-0.5.5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/cocaine/cocaine-0.5.5.ebuild,v 1.1 2014/12/14 08:30:45 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+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
+}