Gentoo Archives: gentoo-commits

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.9.ebuild
Date: Sun, 29 May 2011 07:01:15
Message-Id: 20110529070105.BB37420054@flycatcher.gentoo.org
1 graaff 11/05/29 07:01:05
2
3 Modified: ChangeLog
4 Added: gherkin-2.3.9.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.20 dev-ruby/gherkin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gherkin/ChangeLog?rev=1.20&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gherkin/ChangeLog?rev=1.20&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gherkin/ChangeLog?r1=1.19&r2=1.20
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v
20 retrieving revision 1.19
21 retrieving revision 1.20
22 diff -u -r1.19 -r1.20
23 --- ChangeLog 6 May 2011 14:47:18 -0000 1.19
24 +++ ChangeLog 29 May 2011 07:01:05 -0000 1.20
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.19 2011/05/06 14:47:18 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/ChangeLog,v 1.20 2011/05/29 07:01:05 graaff Exp $
30 +
31 +*gherkin-2.3.9 (29 May 2011)
32 +
33 + 29 May 2011; Hans de Graaff <graaff@g.o> +gherkin-2.3.9.ebuild:
34 + Version bump.
35
36 *gherkin-2.3.7 (06 May 2011)
37
38
39
40
41 1.1 dev-ruby/gherkin/gherkin-2.3.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gherkin/gherkin-2.3.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/gherkin/gherkin-2.3.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gherkin-2.3.9.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.9.ebuild,v 1.1 2011/05/29 07:01:05 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 inherit ruby-fakegem
62
63 DESCRIPTION="Fast Gherkin lexer and parser based on Ragel."
64 HOMEPAGE="http://wiki.github.com/aslakhellesoy/cucumber/gherkin"
65 LICENSE="MIT"
66 SRC_URI="https://github.com/cucumber/gherkin/tarball/v${PV} -> ${P}.tgz"
67
68 KEYWORDS="~amd64"
69 SLOT="0"
70 IUSE="doc test"
71
72 DEPEND="${DEPEND} dev-util/ragel"
73 RDEPEND="${RDEPEND}"
74
75 S="${WORKDIR}/cucumber-gherkin-*"
76
77 ruby_add_bdepend "
78 dev-ruby/rake-compiler
79 test? (
80 >=dev-ruby/awesome_print-0.3
81 >=dev-ruby/builder-3.0.0
82 >=dev-util/cucumber-0.10.0
83 >=dev-ruby/rspec-2.5.0
84 >=dev-ruby/term-ansicolor-1.0.5
85 )"
86
87 ruby_add_rdepend ">=dev-ruby/json-1.4.6"
88
89 all_ruby_prepare() {
90 # Remove Bundler-related things.
91 sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb features/support/env.rb || die
92 rm Gemfile || die
93
94 # Don't use compile dependencies to avoid building again for specs.
95 sed -i -e '/:compile/d' Rakefile
96
97 # Remove feature that depends on direct access to the cucumber
98 # source. We could probably set this up by downloading the source
99 # and unpacking it, but skipping this now in the interest of time.
100 rm features/pretty_formatter.feature || die
101
102 # We need to remove this tasks during bootstrapping since it tries
103 # to load cucumber already but we can be sure it isn't installed
104 # yet.
105 if ! use test ; then
106 rm tasks/cucumber.rake || die "Unable to remove cucumber tasks."
107 fi
108 }
109
110 each_ruby_compile() {
111 ${RUBY} -I lib -S rake -rrake/clean -f tasks/compile.rake compile || die
112 }
113
114 each_ruby_test() {
115 ${RUBY} -S rake spec || die "Specs failed"
116 CUCUMBER_HOME="${HOME}" ${RUBY} -S rake cucumber || die "Cucumber features failed"
117 }