summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-07-08 18:45:44 +0000
committerHans de Graaff <graaff@gentoo.org>2011-07-08 18:45:44 +0000
commitce69924d2528ad420f99ab015ef4cb5944b0b994 (patch)
tree47cd459d33ac4701e6c04a27f82e5c36593183ee /dev-ruby/gherkin
parentStable for HPPA (bug #374001). (diff)
downloadhistorical-ce69924d2528ad420f99ab015ef4cb5944b0b994.tar.gz
historical-ce69924d2528ad420f99ab015ef4cb5944b0b994.tar.bz2
historical-ce69924d2528ad420f99ab015ef4cb5944b0b994.zip
Version bump.
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
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.2.ebuild72
3 files changed, 84 insertions, 5 deletions
diff --git a/dev-ruby/gherkin/ChangeLog b/dev-ruby/gherkin/ChangeLog
index 48b57c795fca..23abdd5ef36c 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.23 2011/06/06 06:04:27 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.24 2011/07/08 18:45:44 graaff Exp $
+
+*gherkin-2.4.2 (08 Jul 2011)
+
+ 08 Jul 2011; Hans de Graaff <graaff@gentoo.org> +gherkin-2.4.2.ebuild:
+ Version bump.
06 Jun 2011; Hans de Graaff <graaff@gentoo.org> -gherkin-2.3.5.ebuild,
-gherkin-2.3.6.ebuild:
diff --git a/dev-ruby/gherkin/Manifest b/dev-ruby/gherkin/Manifest
index bdfa1695af47..f73459f98b45 100644
--- a/dev-ruby/gherkin/Manifest
+++ b/dev-ruby/gherkin/Manifest
@@ -6,16 +6,18 @@ DIST gherkin-1.0.30.gem 583168 RMD160 433b82f49717137818261af7c1874a816b73b9dd S
DIST gherkin-2.3.10.tgz 121534 RMD160 07b7c1286e394c03b6bdf2f3253a3221ab0ee950 SHA1 d2c4ebd1ffeef2ccad0e6df84e42b4a44e18ba8a SHA256 c46ceee2af6c552467a58ebe8945b09fa3d0ba19efd251f96202d20e6aa6e36f
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
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
-MISC ChangeLog 3399 RMD160 d2626af96aa51b3bde8d8ddbdeed6769508709d7 SHA1 0d25370213964d59598725edd1728138a38fc4f8 SHA256 082f2f4b02b73c38a7cb30c2d1692e8f49df10c731e41d3ce5cdf8898b861d64
+EBUILD gherkin-2.4.2.ebuild 2139 RMD160 603c6ae3eacd29fce0b44198effb27a6453544d0 SHA1 cd8333643c304e048ea8cf0e7256c3cb20627696 SHA256 63f0de15cbfab8e8839f3532e1970ac12368c49ce90f2e5e7e24aa57bcd9af0a
+MISC ChangeLog 3519 RMD160 0d99c5fb1db1465ffa82dcdab1bab8c35cb8a1d1 SHA1 e46f7b944da75577b2eb3069249aebdcb463e9cb SHA256 983e9f04b0fc861785f092c3636a1a7e99a1790878365ee0096f9504c0b70824
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk3sbfsACgkQrnu0mw69JkqKYwD/V4NDGH38FSGGKeaxZls4tQdM
-gqJZuGg7L3pmHsoor/4A/ijBfwb3NlJBkruKEamCDvhVQcVC9IwT1UfVPAFdRRew
-=VM3c
+iF4EAREIAAYFAk4XUGMACgkQiIP6VqMIqNdfJAD/RSFF25gnIi22wnokXhY1n3T4
+Mj36rz1PhdX1l/QzXE4A/R0WMKVjnEgDCmowO2GXXOKgOBoy0Gp4hROcBCLx5do9
+=TQlC
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/gherkin/gherkin-2.4.2.ebuild b/dev-ruby/gherkin/gherkin-2.4.2.ebuild
new file mode 100644
index 000000000000..efedcff700a9
--- /dev/null
+++ b/dev-ruby/gherkin/gherkin-2.4.2.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.2.ebuild,v 1.1 2011/07/08 18:45:44 graaff Exp $
+
+EAPI=2
+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}"
+
+S="${WORKDIR}/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"
+}