summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-04-27 07:41:35 +0000
committerHans de Graaff <graaff@gentoo.org>2012-04-27 07:41:35 +0000
commitca6d6c54285b2747446cfa9b67ab9ea9ca6bcdcc (patch)
treeaa71727ee8e696e5eb2b47bfea506b757cc5c00c /dev-ruby
parentTie gherkin dependency to a slot. (diff)
downloadhistorical-ca6d6c54285b2747446cfa9b67ab9ea9ca6bcdcc.tar.gz
historical-ca6d6c54285b2747446cfa9b67ab9ea9ca6bcdcc.tar.bz2
historical-ca6d6c54285b2747446cfa9b67ab9ea9ca6bcdcc.zip
Version bump. Add in new slot due to API changes.
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/gherkin/ChangeLog7
-rw-r--r--dev-ruby/gherkin/Manifest10
-rw-r--r--dev-ruby/gherkin/gherkin-2.9.3.ebuild72
3 files changed, 84 insertions, 5 deletions
diff --git a/dev-ruby/gherkin/ChangeLog b/dev-ruby/gherkin/ChangeLog
index a518b93c1b19..f766106e02bb 100644
--- a/dev-ruby/gherkin/ChangeLog
+++ b/dev-ruby/gherkin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/gherkin
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.37 2012/01/29 10:29:08 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.38 2012/04/27 07:41:35 graaff Exp $
+
+*gherkin-2.9.3 (27 Apr 2012)
+
+ 27 Apr 2012; Hans de Graaff <graaff@gentoo.org> +gherkin-2.9.3.ebuild:
+ Version bump. Add in new slot due to API changes.
29 Jan 2012; Hans de Graaff <graaff@gentoo.org> gherkin-2.7.3.ebuild:
Add ruby19. Closes bug 293358.
diff --git a/dev-ruby/gherkin/Manifest b/dev-ruby/gherkin/Manifest
index f9d19180a776..7c425bcaa731 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.4.21.tgz 132376 RMD160 959f462b276e33e3631bd7abb5088603bc0927de SHA1 5c3dc98d2b954748d1ab723d755fcd36e05da49b SHA256 268bd322431eafddfa7ea068588a300c8d1aace6af81a4ff20902a113e6fe3c9
DIST gherkin-2.7.1.tgz 107705 RMD160 bfd4022140d2f84863045bececedaa4a09e1e3e3 SHA1 065ef124dc6ce434b6c51297fcc4e2bf8799bb1a SHA256 4227878fce83d0527b0866851dd1d7c93eb6db058cfddf126b9fbeae29468746
DIST gherkin-2.7.3.tgz 108542 RMD160 7eb080f8f7a36d25d3a646d9289e59b6ca2bf2a7 SHA1 3c124987a561d919c0f430b444f10dc98a0524d0 SHA256 0bc26291038e7879b21bc9957fea130342fd3b704110ff276c11d9c21f312eda
+DIST gherkin-2.9.3.tgz 110844 RMD160 40aec716d3af95fb95e7599b89d6a8f3c8c6da34 SHA1 72d399e1fa9016efd307d39cab97e5901830ed0c SHA256 4047ec0402f8c6c325628b0328a1f8c9a87e9e1f4cd5ea8d2095cd1db0b5a3f4
EBUILD gherkin-1.0.30-r1.ebuild 1257 RMD160 3b4fbe322814e1cff62e3427b13c6d743b442a3c SHA1 6f4ac7aac01472e00c7d175cb2123de64e8f5644 SHA256 2a14ebc0fb30ad8db1e2cf6ee0288cd8f4105c3d091d56b5bf81ec52837ac357
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
EBUILD gherkin-2.7.1.ebuild 2133 RMD160 5d3f57158c75239ec02aed8bdb8aa3e293770871 SHA1 d7e66a7f693201c302afcb4d08a7ffe753dfcf9d SHA256 747ff5924264541efbee5b00c3228d3b1179e01314bdebc25a958681934348e0
EBUILD gherkin-2.7.3.ebuild 2140 RMD160 758d5a09a7e4ea92f8e41129b6f9ada334bf224e SHA1 68b1798d8ac336d51d925811bb2cf54b623b60aa SHA256 9a207d886efaec5eaacc144cd4b65b195411e7a126ece7dc20f3eb760d98b18c
-MISC ChangeLog 5155 RMD160 aee313abf602110c2d274fef294d283d6e610078 SHA1 ac2a15c0afe101fde9475a7a632a4ae2ede80c67 SHA256 b18576f276abdd9103ee7dcd27cd29f4bda28dda6d0603b26fddae36c316a69d
+EBUILD gherkin-2.9.3.ebuild 2142 RMD160 6a8031d907e42f6821ab61a302f6568bba068f68 SHA1 9166b30337b0cf824b87e3896f0dd157cf7703b4 SHA256 b58968d3b0bd2ce2fb0917f0a6d8b031995dcc98cd4773d8eb9f3e006d4e8476
+MISC ChangeLog 5311 RMD160 7ee02db3c94e32af502f45be954af55d82ca23ca SHA1 cc7bd62e06935b8810521470ed461bb94a942878 SHA256 702545712ed0a5233937f5d911979885c0580dda47bb4c054c6dd29f9ca14f33
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF0EAREIAAYFAk8lH3kACgkQiIP6VqMIqNceCQD0DY4V9GIbUXYw/BljrdwXLyYQ
-4IXIJ/if1uZ4Gpos3wD/UGmKuxF6+1ZR3yxj72rqAHmw6gavhJCHm60HOKpIFHc=
-=1kcy
+iF4EAREIAAYFAk+aTbQACgkQiIP6VqMIqNdYsQD8DD/eyWKijCR2zvZVbX2hvPmo
+pDLWwRJEwTnJhcFPmuUA/AjbF7WJ1s9TznoQkCttTNKnamOXJdlPFiwgaCzY2Kqe
+=Tu7f
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/gherkin/gherkin-2.9.3.ebuild b/dev-ruby/gherkin/gherkin-2.9.3.ebuild
new file mode 100644
index 000000000000..59cdddf6bdb6
--- /dev/null
+++ b/dev-ruby/gherkin/gherkin-2.9.3.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/gherkin-2.9.3.ebuild,v 1.1 2012/04/27 07:41:35 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 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="2.9"
+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"
+}