summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-12-18 12:17:32 +0000
committerHans de Graaff <graaff@gentoo.org>2011-12-18 12:17:32 +0000
commit84edf52033c6e9aa3b11ba2e92c9120a09e4ddf2 (patch)
tree6c5bbf17671c4f21286550281ede5d8a1f1d97f1 /dev-ruby/gherkin
parentStable for AMD64, wrt bug #393915 (diff)
downloadhistorical-84edf52033c6e9aa3b11ba2e92c9120a09e4ddf2.tar.gz
historical-84edf52033c6e9aa3b11ba2e92c9120a09e4ddf2.tar.bz2
historical-84edf52033c6e9aa3b11ba2e92c9120a09e4ddf2.zip
Version bump.
Package-Manager: portage-2.1.10.11/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.7.1.ebuild72
3 files changed, 84 insertions, 5 deletions
diff --git a/dev-ruby/gherkin/ChangeLog b/dev-ruby/gherkin/ChangeLog
index d2628e366800..6b0237c81a33 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.33 2011/12/06 19:06:40 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.34 2011/12/18 12:17:32 graaff Exp $
+
+*gherkin-2.7.1 (18 Dec 2011)
+
+ 18 Dec 2011; Hans de Graaff <graaff@gentoo.org> +gherkin-2.7.1.ebuild:
+ Version bump.
06 Dec 2011; Hans de Graaff <graaff@gentoo.org> -gherkin-2.4.11.ebuild,
-gherkin-2.4.14.ebuild, -gherkin-2.4.15.ebuild, -gherkin-2.4.18.ebuild:
diff --git a/dev-ruby/gherkin/Manifest b/dev-ruby/gherkin/Manifest
index ef920e8a196e..fa434849d7a4 100644
--- a/dev-ruby/gherkin/Manifest
+++ b/dev-ruby/gherkin/Manifest
@@ -5,15 +5,17 @@ AUX gherkin-2.3.10-no-werror.patch 861 RMD160 81c533d7d8e52677ed5da6646a86b5ccb0
DIST gherkin-1.0.30.gem 583168 RMD160 433b82f49717137818261af7c1874a816b73b9dd SHA1 55d8007017ae2afe0906682d530298ec5ce8c3fe SHA256 0f8839fc096726ae149182dd8db54b65c7e70dc63f67ee24356288d03cd3b46d
DIST gherkin-2.3.10.tgz 121534 RMD160 07b7c1286e394c03b6bdf2f3253a3221ab0ee950 SHA1 d2c4ebd1ffeef2ccad0e6df84e42b4a44e18ba8a SHA256 c46ceee2af6c552467a58ebe8945b09fa3d0ba19efd251f96202d20e6aa6e36f
DIST gherkin-2.4.21.tgz 132376 RMD160 959f462b276e33e3631bd7abb5088603bc0927de SHA1 5c3dc98d2b954748d1ab723d755fcd36e05da49b SHA256 268bd322431eafddfa7ea068588a300c8d1aace6af81a4ff20902a113e6fe3c9
+DIST gherkin-2.7.1.tgz 107705 RMD160 bfd4022140d2f84863045bececedaa4a09e1e3e3 SHA1 065ef124dc6ce434b6c51297fcc4e2bf8799bb1a SHA256 4227878fce83d0527b0866851dd1d7c93eb6db058cfddf126b9fbeae29468746
EBUILD gherkin-1.0.30-r1.ebuild 1221 RMD160 bc0a28ce8b420b5612a0c860a6494637f0d5038e SHA1 16933ae48beee74a5f84da03da3da7aef08a61ae SHA256 5fcb8f1fadd8324a794f5067e0a977d29c5f01b03a91614ff5fe680fff9d6f43
EBUILD gherkin-2.3.10.ebuild 2086 RMD160 312aad3b8eacc48e716eac97e7f559cad8f2ceec SHA1 e10d57ce412f4dde9c6b362672e9a37f91dfe50e SHA256 2d33797c39aca037a091cd0d1c8ea70238f86f6452a369f196d9b7d348cd8d70
EBUILD gherkin-2.4.21.ebuild 2134 RMD160 9bbd481a289081ab48c45c6675e9d65852f61c7a SHA1 e886b5b6373ca436c9efa638e35eff3055e5a602 SHA256 69af277d58f8147f60ebaa597acaf1da4ff356f7254bd3bd89dbc1b464789232
-MISC ChangeLog 4696 RMD160 74b2097667c5903c40dffef55db380a9f6b64aee SHA1 92129f1895c5b398b34ffbbd6fae003fcbee694b SHA256 a11c134bf9809595c172529a32e8661d4ef043f0079d7d4eb90f6c3ac1e20a9d
+EBUILD gherkin-2.7.1.ebuild 2133 RMD160 5d3f57158c75239ec02aed8bdb8aa3e293770871 SHA1 d7e66a7f693201c302afcb4d08a7ffe753dfcf9d SHA256 747ff5924264541efbee5b00c3228d3b1179e01314bdebc25a958681934348e0
+MISC ChangeLog 4816 RMD160 b6763b71eae37121b656bbd479f0f26a6e3c910b SHA1 ff9f7aa83191f9e451b8b373f67cd60995ae6df0 SHA256 7b55c12ce384980c4d09c22611785366b6e91fc0e2f4ef4000edf5fb1dccdd57
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk7eZ9EACgkQiIP6VqMIqNfMjAD/bdouLeH/p5z45V8O47gFcQds
-vSjSGVTMpXq/BuBrGcgA/3sMoUW5KsxTMP+6IubUCAeZRdJrXqrs2h9FrnaYrNge
-=WWEA
+iF4EAREIAAYFAk7t2eEACgkQiIP6VqMIqNc/9wD/bhBT+YAgxM1KUVCvKg5CK39+
+WSlrMjAGpG9b8aBg3dEA/3Rpamh/sJILDJUkpQDd+QgBSXgM/cNPhAzFAAavc6/d
+=jcHt
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/gherkin/gherkin-2.7.1.ebuild b/dev-ruby/gherkin/gherkin-2.7.1.ebuild
new file mode 100644
index 000000000000..47f9eeab8815
--- /dev/null
+++ b/dev-ruby/gherkin/gherkin-2.7.1.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.7.1.ebuild,v 1.1 2011/12/18 12:17:32 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.1.3
+ >=dev-ruby/rspec-2.6.0
+ >=dev-ruby/term-ansicolor-1.0.5
+ )
+ doc? ( >=dev-ruby/yard-0.7.4 )"
+
+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"
+}