summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-05-08 08:08:02 +0000
committerHans de Graaff <graaff@gentoo.org>2010-05-08 08:08:02 +0000
commit68519698f6e0dc648e69ae7ad3f9fba56f865711 (patch)
treee9f5f6ec4fdf1ddf5f03f469506f713069d6aea9 /dev-ruby
parentApply changes to ebuild from bug 306831 which I had forgotten in the previous... (diff)
downloadgentoo-2-68519698f6e0dc648e69ae7ad3f9fba56f865711.tar.gz
gentoo-2-68519698f6e0dc648e69ae7ad3f9fba56f865711.tar.bz2
gentoo-2-68519698f6e0dc648e69ae7ad3f9fba56f865711.zip
Initial import. New dependency for dev-util/cucumber.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/gherkin/ChangeLog10
-rw-r--r--dev-ruby/gherkin/gherkin-1.0.24.ebuild34
-rw-r--r--dev-ruby/gherkin/metadata.xml5
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-ruby/gherkin/ChangeLog b/dev-ruby/gherkin/ChangeLog
new file mode 100644
index 000000000000..4ae0990db03e
--- /dev/null
+++ b/dev-ruby/gherkin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/gherkin
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.1 2010/05/08 08:08:02 graaff Exp $
+
+*gherkin-1.0.24 (08 May 2010)
+
+ 08 May 2010; Hans de Graaff <graaff@gentoo.org> +gherkin-1.0.24.ebuild,
+ +metadata.xml:
+ Initial import. New dependency for dev-util/cucumber.
+
diff --git a/dev-ruby/gherkin/gherkin-1.0.24.ebuild b/dev-ruby/gherkin/gherkin-1.0.24.ebuild
new file mode 100644
index 000000000000..c2d9cab48465
--- /dev/null
+++ b/dev-ruby/gherkin/gherkin-1.0.24.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/gherkin-1.0.24.ebuild,v 1.1 2010/05/08 08:08:02 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC="-I lib rdoc"
+RUBY_FAKEGEM_TASK_TEST="spec features"
+
+#RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Fast Gherkin lexer and parser based on Ragel."
+HOMEPAGE="http://wiki.github.com/aslakhellesoy/cucumber/gherkin"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+DEPEND="${DEPEND} dev-util/ragel"
+
+# Tests are currently broken: http://github.com/aslakhellesoy/gherkin/issues/issue/59
+RESTRICT="test"
+#ruby_add_bdepend test ">=dev-ruby/rspec-1.3.0 >=dev-ruby/cucumber-7.0.0"
+
+ruby_add_rdepend ">=dev-ruby/trollop-1.15"
+
+each_ruby_compile() {
+ ${RUBY} -I lib -S rake compile
+}
diff --git a/dev-ruby/gherkin/metadata.xml b/dev-ruby/gherkin/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/gherkin/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>