summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/gherkin')
-rw-r--r--dev-ruby/gherkin/ChangeLog7
-rw-r--r--dev-ruby/gherkin/Manifest10
-rw-r--r--dev-ruby/gherkin/gherkin-2.4.6.ebuild72
3 files changed, 84 insertions, 5 deletions
diff --git a/dev-ruby/gherkin/ChangeLog b/dev-ruby/gherkin/ChangeLog
index 23abdd5ef36c..21cb06b49290 100644
--- a/dev-ruby/gherkin/ChangeLog
+++ b/dev-ruby/gherkin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/gherkin
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.24 2011/07/08 18:45:44 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.25 2011/08/08 06:05:51 graaff Exp $
+
+*gherkin-2.4.6 (08 Aug 2011)
+
+ 08 Aug 2011; Hans de Graaff <graaff@gentoo.org> +gherkin-2.4.6.ebuild:
+ Version bump.
*gherkin-2.4.2 (08 Jul 2011)
diff --git a/dev-ruby/gherkin/Manifest b/dev-ruby/gherkin/Manifest
index f73459f98b45..229b428b033f 100644
--- a/dev-ruby/gherkin/Manifest
+++ b/dev-ruby/gherkin/Manifest
@@ -7,17 +7,19 @@ DIST gherkin-2.3.10.tgz 121534 RMD160 07b7c1286e394c03b6bdf2f3253a3221ab0ee950 S
DIST gherkin-2.3.7.tgz 121322 RMD160 313016d7ca4b57b75f13a23049b17e7581b1751a SHA1 c25c732707adb25022f1588087a1de5a82da56e5 SHA256 ee45e032626176a3157d96d2bd44c33aed21bdbf857f058a5d62bb249d09c2e9
DIST gherkin-2.3.9.tgz 121372 RMD160 9c45c7a46823eef15230db422470687d65f63acc SHA1 93117ba02253c67bad044c4d87692471b7ae8f1d SHA256 91987ce1ff060e20138e8c57b042ae1d3d01a72db12ead39503523fb97648732
DIST gherkin-2.4.2.tgz 128910 RMD160 916d970113f321fdb2aeabc396060e5897d175b5 SHA1 602280c57ffa20ceaf027c0035e35cccefdebde0 SHA256 43028f6bf563bb66eb350074b048dfcdcb3fab1363f865def854d736c12d5354
+DIST gherkin-2.4.6.tgz 129546 RMD160 99af1912852ce4e93586e2e41809ed7ef373c1a4 SHA1 efaebf10b21e327aabf06af82cd537ac5cf2ca1c SHA256 71b4fa9c01aa86e29ec00e421d747717b772c092d147f65815e605c32ca9ecfd
EBUILD gherkin-1.0.30-r1.ebuild 1226 RMD160 5bd392730927fddbfc84501bbc63178931c36b44 SHA1 13a55c48c6804cc467d749dca344d7038bcde5e4 SHA256 a27878b7b4670ae3eb61400d2516d2c8ba75472777a47aaa34cbf68e54c43cd3
EBUILD gherkin-2.3.10.ebuild 2086 RMD160 312aad3b8eacc48e716eac97e7f559cad8f2ceec SHA1 e10d57ce412f4dde9c6b362672e9a37f91dfe50e SHA256 2d33797c39aca037a091cd0d1c8ea70238f86f6452a369f196d9b7d348cd8d70
EBUILD gherkin-2.3.7.ebuild 2085 RMD160 d0f88d67efca11a0d8fe4348bfef2cb51510d602 SHA1 c2a9fddcd0ed6e614df41aa918d1fddcda419b68 SHA256 c3e785e18d13dda70dad8f0cd439f4c514b1cbb80544e188f53b31dabcba3e30
EBUILD gherkin-2.3.9.ebuild 2039 RMD160 7ace46ed9b7590b245f70b8df5764bdf471a2517 SHA1 1fd49782899259db134c7e5b5576d8376280ba26 SHA256 50aab3b28ab9151f6fdf2f835dccd132b61f8f2323c283f08542d1214616c6d8
EBUILD gherkin-2.4.2.ebuild 2139 RMD160 603c6ae3eacd29fce0b44198effb27a6453544d0 SHA1 cd8333643c304e048ea8cf0e7256c3cb20627696 SHA256 63f0de15cbfab8e8839f3532e1970ac12368c49ce90f2e5e7e24aa57bcd9af0a
-MISC ChangeLog 3519 RMD160 0d99c5fb1db1465ffa82dcdab1bab8c35cb8a1d1 SHA1 e46f7b944da75577b2eb3069249aebdcb463e9cb SHA256 983e9f04b0fc861785f092c3636a1a7e99a1790878365ee0096f9504c0b70824
+EBUILD gherkin-2.4.6.ebuild 2133 RMD160 f3a2051bd3a162fd3dd84df5b9a40e3bd335d1cb SHA1 254b3ffba5e2084b7494f7e058780bc43de378ac SHA256 bccad76dd8b3b5be238f7acfd52a8be8bab22ae1363d39095a68f9934081e5cd
+MISC ChangeLog 3639 RMD160 04f84b90db68ecc32d0a6ff11e4c37c7a136e2d8 SHA1 74e8933d167ad85265295eab699430c39432f2a2 SHA256 be49009be14e6df3e2a61a2035c3792b1600142a3022ef0c2f6e53e74b17da57
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk4XUGMACgkQiIP6VqMIqNdfJAD/RSFF25gnIi22wnokXhY1n3T4
-Mj36rz1PhdX1l/QzXE4A/R0WMKVjnEgDCmowO2GXXOKgOBoy0Gp4hROcBCLx5do9
-=TQlC
+iF4EAREIAAYFAk4/fMsACgkQiIP6VqMIqNd6LwD+JHDQJYLIu7Z3o34DVm24cTXJ
+GICeciyYt/MTMtbNg08BAIMtbGhRenF20OEHHwoHoItM7WsQoHVa1Hll/NhDfcn9
+=5YDy
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/gherkin/gherkin-2.4.6.ebuild b/dev-ruby/gherkin/gherkin-2.4.6.ebuild
new file mode 100644
index 000000000000..540b9fa126a0
--- /dev/null
+++ b/dev-ruby/gherkin/gherkin-2.4.6.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/gherkin-2.4.6.ebuild,v 1.1 2011/08/08 06:05:51 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_TASK_DOC="yard"
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="History.md README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Fast Gherkin lexer and parser based on Ragel."
+HOMEPAGE="http://wiki.github.com/aslakhellesoy/cucumber/gherkin"
+LICENSE="MIT"
+SRC_URI="https://github.com/cucumber/gherkin/tarball/v${PV} -> ${P}.tgz"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="doc test"
+
+DEPEND="${DEPEND} dev-util/ragel"
+RDEPEND="${RDEPEND}"
+
+RUBY_S="cucumber-gherkin-*"
+
+ruby_add_bdepend "
+ dev-ruby/rake-compiler
+ test? (
+ >=dev-ruby/awesome_print-0.4.0
+ >=dev-ruby/builder-2.1.2
+ >=dev-util/cucumber-1.0.0
+ >=dev-ruby/rspec-2.6.0
+ >=dev-ruby/term-ansicolor-1.0.5
+ )
+ doc? ( >=dev-ruby/yard-0.7.2 )"
+
+ruby_add_rdepend ">=dev-ruby/json-1.4.6"
+
+all_ruby_prepare() {
+ # Remove Bundler-related things.
+ sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb features/support/env.rb || die
+ rm Gemfile || die
+
+ # Don't use compile dependencies to avoid building again for specs.
+ sed -i -e '/:compile/d' Rakefile
+
+ # Remove feature that depends on direct access to the cucumber
+ # source. We could probably set this up by downloading the source
+ # and unpacking it, but skipping this now in the interest of time.
+ rm features/pretty_formatter.feature || die
+
+ # We need to remove these tasks during bootstrapping since it tries
+ # to load cucumber already but we can be sure it isn't installed
+ # yet. Also remove other rake tasks for which we may not yet have
+ # dependencies.
+ if ! use test ; then
+ rm tasks/cucumber.rake tasks/rspec.rake || die "Unable to remove rake tasks."
+ fi
+}
+
+each_ruby_compile() {
+ ${RUBY} -I lib -S rake -rrake/clean -f tasks/compile.rake compile || die
+}
+
+each_ruby_test() {
+ ${RUBY} -I lib -S rake spec || die "Specs failed"
+ CUCUMBER_HOME="${HOME}" RUBYLIB=lib ${RUBY} -S cucumber features || die "Cucumber features failed"
+}