summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-04-20 05:27:07 +0000
committerHans de Graaff <graaff@gentoo.org>2011-04-20 05:27:07 +0000
commit712df783a77b8f4a4c992f8f9509f8d71c52028d (patch)
treea6388dd76cbc8f74d799ebec786342f7233b9436 /dev-ruby/gherkin
parentUpdated upnp patch so cmake can find the HUpnp include dir. (diff)
downloadhistorical-712df783a77b8f4a4c992f8f9509f8d71c52028d.tar.gz
historical-712df783a77b8f4a4c992f8f9509f8d71c52028d.tar.bz2
historical-712df783a77b8f4a4c992f8f9509f8d71c52028d.zip
Version bump. Use rake task files directly to avoid unneeded dependencies, bug 364085.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/gherkin')
-rw-r--r--dev-ruby/gherkin/ChangeLog8
-rw-r--r--dev-ruby/gherkin/Manifest10
-rw-r--r--dev-ruby/gherkin/gherkin-2.3.6.ebuild72
3 files changed, 85 insertions, 5 deletions
diff --git a/dev-ruby/gherkin/ChangeLog b/dev-ruby/gherkin/ChangeLog
index c97df052fec2..a9ddad1f2e88 100644
--- a/dev-ruby/gherkin/ChangeLog
+++ b/dev-ruby/gherkin/ChangeLog
@@ -1,6 +1,12 @@
# 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.17 2011/04/12 20:23:45 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.18 2011/04/20 05:27:07 graaff Exp $
+
+*gherkin-2.3.6 (20 Apr 2011)
+
+ 20 Apr 2011; Hans de Graaff <graaff@gentoo.org> +gherkin-2.3.6.ebuild:
+ Version bump. Use rake task files directly to avoid unneeded dependencies,
+ bug 364085.
*gherkin-2.3.5 (12 Apr 2011)
diff --git a/dev-ruby/gherkin/Manifest b/dev-ruby/gherkin/Manifest
index 5d1648bba8b0..008b0609ca3b 100644
--- a/dev-ruby/gherkin/Manifest
+++ b/dev-ruby/gherkin/Manifest
@@ -3,14 +3,16 @@ Hash: SHA256
DIST gherkin-1.0.30.gem 583168 RMD160 433b82f49717137818261af7c1874a816b73b9dd SHA1 55d8007017ae2afe0906682d530298ec5ce8c3fe SHA256 0f8839fc096726ae149182dd8db54b65c7e70dc63f67ee24356288d03cd3b46d
DIST gherkin-2.3.5.tgz 386427 RMD160 70ca5bb3e0fafc1d27580d77f557811209add907 SHA1 663752a638e7af36740083b70c2a8e5567a83087 SHA256 8461fdc89b33566c6346f68502d6df65de3b7f4479d9cf5428d5d992948a990b
+DIST gherkin-2.3.6.tgz 121175 RMD160 83baea95ba2239f92c83022d851147978e8eb646 SHA1 1fe5c7216fa71044f861e61754b948ca3a9e3c28 SHA256 b7172abe5285de74cbd293d6f3309f3e6fe2308f97a4fb33ecbe50d5b5071f14
EBUILD gherkin-1.0.30-r1.ebuild 1226 RMD160 5bd392730927fddbfc84501bbc63178931c36b44 SHA1 13a55c48c6804cc467d749dca344d7038bcde5e4 SHA256 a27878b7b4670ae3eb61400d2516d2c8ba75472777a47aaa34cbf68e54c43cd3
EBUILD gherkin-2.3.5.ebuild 2042 RMD160 f3a3e5481c2c87c4adfbce514b652be041be390c SHA1 f2aadd75f88ad546fa8e018988ab0b52d67380e6 SHA256 a30de910c0c46a4a4efef2ddfbaa55e2f792557db4abac176964d224e6d175de
-MISC ChangeLog 2547 RMD160 1b5552776a813f45eb058898bbcf558563502966 SHA1 b6adb58507946425e9b9a2b2b936e67ad2ab9963 SHA256 e8f66af7f5ea8a0b27d53891f0ecb0418922b05ae2a8ba018a544d3e833c3f45
+EBUILD gherkin-2.3.6.ebuild 2085 RMD160 7e19720e675e9edadfbbbbca2c79c6ff5ebb2af5 SHA1 8e89b2dfa2547134e9ab49aa4d0f18920b4d09c7 SHA256 70e4b4e7e238e8d56e251531d1bdb7491ddad30bb5842bde5b008d72643eb372
+MISC ChangeLog 2742 RMD160 4cef1dfcbc58770b59e2cd664fbfdedb5d30f104 SHA1 6d2b91d8fe827e64307883e5da8c9ada7547d097 SHA256 e991d66e4d5d4d77c9195fdafd930ce8d718faf66b5a1c3ad34a410ddb2dd2c7
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk2ktNwACgkQrnu0mw69JkqQqQD8CfJsqJY+R5IVkfnGVfHew/j5
-2OBzQqZxGixn7+ddAVgA/RLLCzDY0DdN+F99glZwubvMvU4uQNIO14RogW5phBwI
-=ymNa
+iF4EAREIAAYFAk2ubroACgkQrnu0mw69JkqhyQD/QmdnwT+uVNY7Bx/x87CZFFIm
+TjlCDHPQbdDJF290ysYA/RzSTnb30+3d1D6IGY/Sg7al/yRpvmQRNxfn6s89dixr
+=stOg
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/gherkin/gherkin-2.3.6.ebuild b/dev-ruby/gherkin/gherkin-2.3.6.ebuild
new file mode 100644
index 000000000000..96318244323b
--- /dev/null
+++ b/dev-ruby/gherkin/gherkin-2.3.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.3.6.ebuild,v 1.1 2011/04/20 05:27:07 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18 ree18"
+
+RUBY_FAKEGEM_TASK_DOC="-Ilib -rgherkin/version -f tasks/rdoc.rake rdoc"
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc"
+
+RUBY_FAKEGEM_EXTRAINSTALL="VERSION"
+
+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/aslakhellesoy/gherkin/tarball/v${PV} -> ${P}.tgz"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="doc test"
+
+DEPEND="${DEPEND} dev-util/ragel"
+RDEPEND="${RDEPEND}"
+
+S="${WORKDIR}/aslakhellesoy-gherkin-*"
+
+ruby_add_bdepend "
+ dev-ruby/rake-compiler
+ test? (
+ >=dev-ruby/awesome_print-0.3
+ >=dev-ruby/builder-3.0.0
+ >=dev-util/cucumber-0.10.0
+ >=dev-ruby/rspec-2.5.0
+ >=dev-ruby/term-ansicolor-1.0.5
+ )"
+
+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 this tasks during bootstrapping since it tries
+ # to load cucumber already but we can be sure it isn't installed
+ # yet.
+ if ! use test ; then
+ rm tasks/cucumber.rake || die "Unable to remove cucumber tasks."
+ fi
+}
+
+each_ruby_compile() {
+ ${RUBY} -I lib -S rake -rrake/clean -f tasks/compile.rake compile || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S rake spec || die "Specs failed"
+ CUCUMBER_HOME="${HOME}" ${RUBY} -S rake cucumber || die "Cucumber features failed"
+}