summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-06-04 05:37:52 +0000
committerHans de Graaff <graaff@gentoo.org>2010-06-04 05:37:52 +0000
commit3269948496e40d3e80ac922c5be10eae3febbb8a (patch)
treeb12b1bfc07533a25f90d0a53ba4015625036f0c3 /dev-ruby
parentStable for HPPA (bug #313821). (diff)
downloadgentoo-2-3269948496e40d3e80ac922c5be10eae3febbb8a.tar.gz
gentoo-2-3269948496e40d3e80ac922c5be10eae3febbb8a.tar.bz2
gentoo-2-3269948496e40d3e80ac922c5be10eae3febbb8a.zip
Version bump. Support for IronRuby.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/gherkin/ChangeLog7
-rw-r--r--dev-ruby/gherkin/gherkin-1.0.30.ebuild37
2 files changed, 43 insertions, 1 deletions
diff --git a/dev-ruby/gherkin/ChangeLog b/dev-ruby/gherkin/ChangeLog
index 396ed564852a..ed2904ca9c07 100644
--- a/dev-ruby/gherkin/ChangeLog
+++ b/dev-ruby/gherkin/ChangeLog
@@ -1,6 +1,11 @@
# 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.5 2010/05/28 20:19:49 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.6 2010/06/04 05:37:52 graaff Exp $
+
+*gherkin-1.0.30 (04 Jun 2010)
+
+ 04 Jun 2010; Hans de Graaff <graaff@gentoo.org> +gherkin-1.0.30.ebuild:
+ Version bump. Support for IronRuby.
28 May 2010; Joseph Jezak <josejx@gentoo.org> gherkin-1.0.29.ebuild:
Marrrrked ~ppc/~ppc64.
diff --git a/dev-ruby/gherkin/gherkin-1.0.30.ebuild b/dev-ruby/gherkin/gherkin-1.0.30.ebuild
new file mode 100644
index 000000000000..4729d4060358
--- /dev/null
+++ b/dev-ruby/gherkin/gherkin-1.0.30.ebuild
@@ -0,0 +1,37 @@
+# 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.30.ebuild,v 1.1 2010/06/04 05:37:52 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC="-I lib rdoc"
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+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 ~ppc ~ppc64 ~sparc ~x86"
+SLOT="0"
+IUSE=""
+
+DEPEND="${DEPEND} dev-util/ragel"
+
+ruby_add_bdepend test ">=dev-ruby/rspec-1.3.0 >=dev-util/cucumber-0.7.0"
+
+ruby_add_rdepend ">=dev-ruby/trollop-1.16.2"
+
+each_ruby_compile() {
+ ${RUBY} -I lib -S rake compile
+}
+
+each_ruby_test() {
+ ${RUBY} -S rake spec || die "Specs failed"
+ CUCUMBER_HOME="${HOME}" ${RUBY} -S rake cucumber || die "Cucumber features failed"
+}