summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-05-09 06:34:36 +0000
committerHans de Graaff <graaff@gentoo.org>2010-05-09 06:34:36 +0000
commit53315c31362c39e2ecd5c9c69f7c3e8c9d6f4dd1 (patch)
treeeb0903c1bb4cda5daf3db0bdc42ed4e689da53d5 /dev-ruby/gherkin
parentVersion bump. Cleaned up ebuild. Thanks to Torsten Kurbad and Eray Aslan. (diff)
downloadhistorical-53315c31362c39e2ecd5c9c69f7c3e8c9d6f4dd1.tar.gz
historical-53315c31362c39e2ecd5c9c69f7c3e8c9d6f4dd1.tar.bz2
historical-53315c31362c39e2ecd5c9c69f7c3e8c9d6f4dd1.zip
Fix specs with upstream patch. Run cucumber features. Actually install documentation files.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/gherkin')
-rw-r--r--dev-ruby/gherkin/ChangeLog9
-rw-r--r--dev-ruby/gherkin/Manifest10
-rw-r--r--dev-ruby/gherkin/files/gherkin-1.0.24-fix-specs.patch29
-rw-r--r--dev-ruby/gherkin/gherkin-1.0.24-r1.ebuild39
4 files changed, 82 insertions, 5 deletions
diff --git a/dev-ruby/gherkin/ChangeLog b/dev-ruby/gherkin/ChangeLog
index 4ae0990db03e..575c8e944f26 100644
--- a/dev-ruby/gherkin/ChangeLog
+++ b/dev-ruby/gherkin/ChangeLog
@@ -1,6 +1,13 @@
# 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.1 2010/05/08 08:08:02 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.2 2010/05/09 06:34:36 graaff Exp $
+
+*gherkin-1.0.24-r1 (09 May 2010)
+
+ 09 May 2010; Hans de Graaff <graaff@gentoo.org> +gherkin-1.0.24-r1.ebuild,
+ +files/gherkin-1.0.24-fix-specs.patch:
+ Fix specs with upstream patch. Run cucumber features. Actually install
+ documentation files.
*gherkin-1.0.24 (08 May 2010)
diff --git a/dev-ruby/gherkin/Manifest b/dev-ruby/gherkin/Manifest
index f68b2467ed26..4a181b11d458 100644
--- a/dev-ruby/gherkin/Manifest
+++ b/dev-ruby/gherkin/Manifest
@@ -1,14 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX gherkin-1.0.24-fix-specs.patch 831 RMD160 317053832145b6fe845804f591cda1c3596adc32 SHA1 d6498a47b6656854ecd1656293e68abaee632b1d SHA256 d726201800919a4122ceed010c13aec639b62f08646d24ee85125e769bf17ee4
DIST gherkin-1.0.24.gem 533504 RMD160 b0a82008f075c7e21819f997af1054f2dff99658 SHA1 9d00de4e452525c6ea540c7982c8b7a400cb9fac SHA256 68eb0121cff477f879b7b298f8135ca9630aa0d258b49cd3a9515fd066af66f2
+EBUILD gherkin-1.0.24-r1.ebuild 983 RMD160 54105fa6dcf0266009f21bab42eec32aed6b0d1e SHA1 3d437fea328380408ff4f00021957b6857e2c047 SHA256 959f6606c86c555e35fdb7848bbda75d5a0acecbd5d115c7fdf0f72d0b4648ed
EBUILD gherkin-1.0.24.ebuild 909 RMD160 eed3681df86b2450d2080f5312b5274c8bc7d033 SHA1 6beb2af90662e832a2720803596b296e05c6db02 SHA256 a08ec35ab6476ae858af697970bb0fa975fa1d2fbde55782ce9251ac13c33c2e
-MISC ChangeLog 384 RMD160 b4644b463f58c98d647bc677e38289ce8179112e SHA1 9d29cae8fc19d054712e6fd2b4b6fdcaf38de044 SHA256 300b1c0c2fcc4e2d4eb20db7176733095c0e2bd801e8cd47bcbfb2ab294035fd
+MISC ChangeLog 633 RMD160 8185267294f9f6e43f86e7f1183dd25f0741573c SHA1 7b791fdba580fc7468c9a5c2c8f10b3d35f6a612 SHA256 bcae4c6bda028c353b7016556fda84437ee6e1259ed8ed5bfdbcf33e86f92539
MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAkvlG+0ACgkQeM7EJeUH71NMMwCfW9rS5LKZF2F5Ks9Teft6pZ4B
-K0cAnj92sWZp04Ivlx7aofID6pLCnTkK
-=tgd9
+iEYEARECAAYFAkvmV4IACgkQeM7EJeUH71O5FQCeJoIfUOCFDj3Cg3FAk+8CZdjh
+kf8AniJ5E1qzxbe0AE+succ7N+IEt5X8
+=OuZZ
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/gherkin/files/gherkin-1.0.24-fix-specs.patch b/dev-ruby/gherkin/files/gherkin-1.0.24-fix-specs.patch
new file mode 100644
index 000000000000..6c6cc65e9557
--- /dev/null
+++ b/dev-ruby/gherkin/files/gherkin-1.0.24-fix-specs.patch
@@ -0,0 +1,29 @@
+commit 20941d84343e6bf0c036fb2ae65a121e143ff334
+Author: aslakhellesoy <aslak.hellesoy@gmail.com>
+Date: Sun May 9 00:36:59 2010 +0200
+
+ Remove require of removed file. (I never saw the error because the file was found in an old gherkin gem I had installed) Closes #59
+
+diff --git a/History.txt b/History.txt
+index 7bf86c9..3755af6 100644
+--- a/History.txt
++++ b/History.txt
+@@ -1,3 +1,8 @@
++== 1.0.25 (2010-05-02)
++
++=== Bugfixes
++* Can't run specs in gherkin 1.0.24 (#59 Aslak Hellesøy)
++
+ == 1.0.24 (2010-05-02)
+
+ === Bugfixes
+diff --git a/ragel/lexer.rb.rl.erb b/ragel/lexer.rb.rl.erb
+index e600b7a..a2d26cc 100644
+--- a/ragel/lexer.rb.rl.erb
++++ b/ragel/lexer.rb.rl.erb
+@@ -1,5 +1,3 @@
+-require 'gherkin/core_ext/array'
+-
+ module Gherkin
+ module RbLexer
+ class <%= @i18n.underscored_iso_code.capitalize %> #:nodoc:
diff --git a/dev-ruby/gherkin/gherkin-1.0.24-r1.ebuild b/dev-ruby/gherkin/gherkin-1.0.24-r1.ebuild
new file mode 100644
index 000000000000..3fd7cff1edd9
--- /dev/null
+++ b/dev-ruby/gherkin/gherkin-1.0.24-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/gherkin-1.0.24-r1.ebuild,v 1.1 2010/05/09 06:34:36 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC="-I lib rdoc"
+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"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+DEPEND="${DEPEND} dev-util/ragel"
+
+RUBY_PATCHES="${P}-fix-specs.patch"
+
+ruby_add_bdepend test ">=dev-ruby/rspec-1.3.0 >=dev-util/cucumber-0.7.0"
+
+ruby_add_rdepend ">=dev-ruby/trollop-1.15"
+
+each_ruby_compile() {
+ ${RUBY} -I lib -S rake compile
+}
+
+each_ruby_test() {
+ ${RUBY} -S rake spec || die "Specs failed"
+ CUCUMBER_HOME="${HOME}" ${RUBY} -S rake cucumber || die "Cucumber features failed"
+}