summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-02-28 11:09:34 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-02-28 11:09:34 +0000
commit7759ae34caf82c0f3676e42b7c6c8620fb9e4582 (patch)
tree3312b69c8ed9cc814826d9c74dd8cc4be64c4cd9 /dev-ruby/cocaine
parentInitial import of the bourne extension to mocha. (diff)
downloadgentoo-2-7759ae34caf82c0f3676e42b7c6c8620fb9e4582.tar.gz
gentoo-2-7759ae34caf82c0f3676e42b7c6c8620fb9e4582.tar.bz2
gentoo-2-7759ae34caf82c0f3676e42b7c6c8620fb9e4582.zip
Initial import of cocaine.
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/cocaine')
-rw-r--r--dev-ruby/cocaine/ChangeLog10
-rw-r--r--dev-ruby/cocaine/cocaine-0.2.1.ebuild40
-rw-r--r--dev-ruby/cocaine/metadata.xml5
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-ruby/cocaine/ChangeLog b/dev-ruby/cocaine/ChangeLog
new file mode 100644
index 000000000000..ceb263a2d272
--- /dev/null
+++ b/dev-ruby/cocaine/ChangeLog
@@ -0,0 +1,10 @@
+# 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.1 2012/02/28 11:09:34 flameeyes Exp $
+
+*cocaine-0.2.1 (28 Feb 2012)
+
+ 28 Feb 2012; Diego E. Pettenò <flameeyes@gentoo.org> +cocaine-0.2.1.ebuild,
+ +metadata.xml:
+ Initial import of cocaine.
+
diff --git a/dev-ruby/cocaine/cocaine-0.2.1.ebuild b/dev-ruby/cocaine/cocaine-0.2.1.ebuild
new file mode 100644
index 000000000000..a28ff852db5b
--- /dev/null
+++ b/dev-ruby/cocaine/cocaine-0.2.1.ebuild
@@ -0,0 +1,40 @@
+# 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.2.1.ebuild,v 1.1 2012/02/28 11:09:34 flameeyes Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18 jruby"
+
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_TASK_TEST="default"
+
+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
+ dev-ruby/rspec
+ )"
+
+all_ruby_prepare() {
+ sed -i \
+ -e '/git ls-files/d' \
+ -e '/dependency.*mocha/s:= 0.10.4:~> 0.10.3:' \
+ "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ rm Gemfile* || die
+
+ sed -i -e '/bundler/d' Rakefile || die
+}
diff --git a/dev-ruby/cocaine/metadata.xml b/dev-ruby/cocaine/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/cocaine/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>