summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-12-16 09:31:49 +0000
committerHans de Graaff <graaff@gentoo.org>2012-12-16 09:31:49 +0000
commit36eaffe90fc7cfd35e24f40bc6e22b1325beb3a6 (patch)
tree21680d8d3b3679d6b646bab8bd26e4b42e20122f /dev-ruby
parentVersion bump. (diff)
downloadgentoo-2-36eaffe90fc7cfd35e24f40bc6e22b1325beb3a6.tar.gz
gentoo-2-36eaffe90fc7cfd35e24f40bc6e22b1325beb3a6.tar.bz2
gentoo-2-36eaffe90fc7cfd35e24f40bc6e22b1325beb3a6.zip
Version bump.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/cocaine/ChangeLog7
-rw-r--r--dev-ruby/cocaine/cocaine-0.4.2.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/dev-ruby/cocaine/ChangeLog b/dev-ruby/cocaine/ChangeLog
index 6503040cef5f..bf9629089e76 100644
--- a/dev-ruby/cocaine/ChangeLog
+++ b/dev-ruby/cocaine/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/cocaine
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/cocaine/ChangeLog,v 1.3 2012/10/06 06:29:39 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/cocaine/ChangeLog,v 1.4 2012/12/16 09:31:49 graaff Exp $
+
+*cocaine-0.4.2 (16 Dec 2012)
+
+ 16 Dec 2012; Hans de Graaff <graaff@gentoo.org> +cocaine-0.4.2.ebuild:
+ Version bump.
*cocaine-0.4.0 (06 Oct 2012)
diff --git a/dev-ruby/cocaine/cocaine-0.4.2.ebuild b/dev-ruby/cocaine/cocaine-0.4.2.ebuild
new file mode 100644
index 000000000000..68e9ecf9aefc
--- /dev/null
+++ b/dev-ruby/cocaine/cocaine-0.4.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/cocaine/cocaine-0.4.2.ebuild,v 1.1 2012/12/16 09:31:48 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 jruby"
+
+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_bdepend "
+ test? (
+ dev-ruby/bourne
+ dev-ruby/mocha
+ )"
+
+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
+}