From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/gherkin: ChangeLog gherkin-2.3.7.ebuild |
Date: | Fri, 06 May 2011 14:47:29 |
Message-Id: | 20110506144718.9982F20054@flycatcher.gentoo.org |
1 | graaff 11/05/06 14:47:18 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gherkin-2.3.7.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.1.9.42/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.19 dev-ruby/gherkin/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gherkin/ChangeLog?rev=1.19&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gherkin/ChangeLog?rev=1.19&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gherkin/ChangeLog?r1=1.18&r2=1.19 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v |
20 | retrieving revision 1.18 |
21 | retrieving revision 1.19 |
22 | diff -u -r1.18 -r1.19 |
23 | --- ChangeLog 20 Apr 2011 05:27:07 -0000 1.18 |
24 | +++ ChangeLog 6 May 2011 14:47:18 -0000 1.19 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-ruby/gherkin |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.18 2011/04/20 05:27:07 graaff Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.19 2011/05/06 14:47:18 graaff Exp $ |
30 | + |
31 | +*gherkin-2.3.7 (06 May 2011) |
32 | + |
33 | + 06 May 2011; Hans de Graaff <graaff@g.o> +gherkin-2.3.7.ebuild: |
34 | + Version bump. |
35 | |
36 | *gherkin-2.3.6 (20 Apr 2011) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-ruby/gherkin/gherkin-2.3.7.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gherkin/gherkin-2.3.7.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gherkin/gherkin-2.3.7.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: gherkin-2.3.7.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/gherkin-2.3.7.ebuild,v 1.1 2011/05/06 14:47:18 graaff Exp $ |
51 | |
52 | EAPI=2 |
53 | USE_RUBY="ruby18 ree18" |
54 | |
55 | RUBY_FAKEGEM_TASK_DOC="-Ilib -rgherkin/version -f tasks/rdoc.rake rdoc" |
56 | RUBY_FAKEGEM_TASK_TEST="" |
57 | |
58 | RUBY_FAKEGEM_DOCDIR="rdoc" |
59 | RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" |
60 | |
61 | RUBY_FAKEGEM_EXTRAINSTALL="VERSION" |
62 | |
63 | inherit ruby-fakegem |
64 | |
65 | DESCRIPTION="Fast Gherkin lexer and parser based on Ragel." |
66 | HOMEPAGE="http://wiki.github.com/aslakhellesoy/cucumber/gherkin" |
67 | LICENSE="MIT" |
68 | SRC_URI="https://github.com/aslakhellesoy/gherkin/tarball/v${PV} -> ${P}.tgz" |
69 | |
70 | KEYWORDS="~amd64" |
71 | SLOT="0" |
72 | IUSE="doc test" |
73 | |
74 | DEPEND="${DEPEND} dev-util/ragel" |
75 | RDEPEND="${RDEPEND}" |
76 | |
77 | S="${WORKDIR}/aslakhellesoy-gherkin-*" |
78 | |
79 | ruby_add_bdepend " |
80 | dev-ruby/rake-compiler |
81 | test? ( |
82 | >=dev-ruby/awesome_print-0.3 |
83 | >=dev-ruby/builder-3.0.0 |
84 | >=dev-util/cucumber-0.10.0 |
85 | >=dev-ruby/rspec-2.5.0 |
86 | >=dev-ruby/term-ansicolor-1.0.5 |
87 | )" |
88 | |
89 | ruby_add_rdepend ">=dev-ruby/json-1.4.6" |
90 | |
91 | all_ruby_prepare() { |
92 | # Remove Bundler-related things. |
93 | sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb features/support/env.rb || die |
94 | rm Gemfile || die |
95 | |
96 | # Don't use compile dependencies to avoid building again for specs. |
97 | sed -i -e '/:compile/d' Rakefile |
98 | |
99 | # Remove feature that depends on direct access to the cucumber |
100 | # source We could probably set this up by downloading the source |
101 | # and unpacking it, but skipping this now in the interest of time. |
102 | rm features/pretty_formatter.feature || die |
103 | |
104 | # We need to remove this tasks during bootstrapping since it tries |
105 | # to load cucumber already but we can be sure it isn't installed |
106 | # yet. |
107 | if ! use test ; then |
108 | rm tasks/cucumber.rake || die "Unable to remove cucumber tasks." |
109 | fi |
110 | } |
111 | |
112 | each_ruby_compile() { |
113 | ${RUBY} -I lib -S rake -rrake/clean -f tasks/compile.rake compile || die |
114 | } |
115 | |
116 | each_ruby_test() { |
117 | ${RUBY} -S rake spec || die "Specs failed" |
118 | CUCUMBER_HOME="${HOME}" ${RUBY} -S rake cucumber || die "Cucumber features failed" |
119 | } |