diff options
author | Hans de Graaff <graaff@gentoo.org> | 2011-04-12 20:23:45 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2011-04-12 20:23:45 +0000 |
commit | a0b9dd0105372a0978cf86278da8ffc10b1eba6a (patch) | |
tree | 54b0bee94e2071bac450cffa8c5f03e6f7e3e76d /dev-ruby/gherkin | |
parent | Disable static libraries and remove the .la files, the package does not expor... (diff) | |
download | historical-a0b9dd0105372a0978cf86278da8ffc10b1eba6a.tar.gz historical-a0b9dd0105372a0978cf86278da8ffc10b1eba6a.tar.bz2 historical-a0b9dd0105372a0978cf86278da8ffc10b1eba6a.zip |
Version bump.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/gherkin')
-rw-r--r-- | dev-ruby/gherkin/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/gherkin/Manifest | 14 | ||||
-rw-r--r-- | dev-ruby/gherkin/gherkin-2.3.5.ebuild | 75 |
3 files changed, 95 insertions, 3 deletions
diff --git a/dev-ruby/gherkin/ChangeLog b/dev-ruby/gherkin/ChangeLog index 77769eb7b35a..c97df052fec2 100644 --- a/dev-ruby/gherkin/ChangeLog +++ b/dev-ruby/gherkin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/gherkin -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.16 2010/12/28 08:35:28 grobian Exp $ +# 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 $ + +*gherkin-2.3.5 (12 Apr 2011) + + 12 Apr 2011; Hans de Graaff <graaff@gentoo.org> +gherkin-2.3.5.ebuild: + Version bump. 04 Dec 2010; Fabian Groffen <grobian@gentoo.org> gherkin-1.0.30-r1.ebuild: Added Prefix keywords diff --git a/dev-ruby/gherkin/Manifest b/dev-ruby/gherkin/Manifest index a2b6b05ce9b0..5d1648bba8b0 100644 --- a/dev-ruby/gherkin/Manifest +++ b/dev-ruby/gherkin/Manifest @@ -1,4 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +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 EBUILD gherkin-1.0.30-r1.ebuild 1226 RMD160 5bd392730927fddbfc84501bbc63178931c36b44 SHA1 13a55c48c6804cc467d749dca344d7038bcde5e4 SHA256 a27878b7b4670ae3eb61400d2516d2c8ba75472777a47aaa34cbf68e54c43cd3 -MISC ChangeLog 2428 RMD160 bea3d08758de6cccffc98c589fdc5a5cd15a06d8 SHA1 ccd2a83be673e9cb0a450a84b505a0b88d4b642c SHA256 5bf535a71e37dc74e0e1f4fa5448900c8433bca7b9432ac04fe06fdc75e5e4d8 +EBUILD gherkin-2.3.5.ebuild 2042 RMD160 f3a3e5481c2c87c4adfbce514b652be041be390c SHA1 f2aadd75f88ad546fa8e018988ab0b52d67380e6 SHA256 a30de910c0c46a4a4efef2ddfbaa55e2f792557db4abac176964d224e6d175de +MISC ChangeLog 2547 RMD160 1b5552776a813f45eb058898bbcf558563502966 SHA1 b6adb58507946425e9b9a2b2b936e67ad2ab9963 SHA256 e8f66af7f5ea8a0b27d53891f0ecb0418922b05ae2a8ba018a544d3e833c3f45 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 +-----END PGP SIGNATURE----- diff --git a/dev-ruby/gherkin/gherkin-2.3.5.ebuild b/dev-ruby/gherkin/gherkin-2.3.5.ebuild new file mode 100644 index 000000000000..2b876e982ecc --- /dev/null +++ b/dev-ruby/gherkin/gherkin-2.3.5.ebuild @@ -0,0 +1,75 @@ +# 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.5.ebuild,v 1.1 2011/04/12 20:23:45 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18 ree18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_DOCDIR="rdoc" +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +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" + +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 +} + +all_ruby_compile() { + if use doc ; then + rdoc || die "Unable to generate documentation." + fi +} + +each_ruby_compile() { + ${RUBY} -I lib -S rake compile || die +} + +each_ruby_test() { + ${RUBY} -S rake spec || die "Specs failed" + CUCUMBER_HOME="${HOME}" ${RUBY} -S rake cucumber || die "Cucumber features failed" +} |