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/rspec-core: rspec-core-2.6.4.ebuild ChangeLog rspec-core-2.6.4-r1.ebuild
Date: Wed, 28 Dec 2011 08:23:00
Message-Id: 20111228082250.D05F22004B@flycatcher.gentoo.org
1 graaff 11/12/28 08:22:50
2
3 Modified: rspec-core-2.6.4.ebuild ChangeLog
4 Added: rspec-core-2.6.4-r1.ebuild
5 Log:
6 Revision bump to drop ruby19 from stable version.
7
8 (Portage version: 2.1.10.41/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.9 dev-ruby/rspec-core/rspec-core-2.6.4.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.6.4.ebuild?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.6.4.ebuild?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.6.4.ebuild?r1=1.8&r2=1.9
16
17 Index: rspec-core-2.6.4.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.6.4.ebuild,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- rspec-core-2.6.4.ebuild 2 Oct 2011 17:05:37 -0000 1.8
24 +++ rspec-core-2.6.4.ebuild 28 Dec 2011 08:22:50 -0000 1.9
25 @@ -1,9 +1,9 @@
26 # Copyright 1999-2011 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.6.4.ebuild,v 1.8 2011/10/02 17:05:37 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.6.4.ebuild,v 1.9 2011/12/28 08:22:50 graaff Exp $
30
31 EAPI=2
32 -USE_RUBY="ruby18 ree18 ruby19 jruby"
33 +USE_RUBY="ruby18 ree18 jruby"
34
35 RUBY_FAKEGEM_TASK_TEST="none"
36 RUBY_FAKEGEM_TASK_DOC="none"
37
38
39
40 1.21 dev-ruby/rspec-core/ChangeLog
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/ChangeLog?rev=1.21&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/ChangeLog?rev=1.21&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/ChangeLog?r1=1.20&r2=1.21
45
46 Index: ChangeLog
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/ChangeLog,v
49 retrieving revision 1.20
50 retrieving revision 1.21
51 diff -u -r1.20 -r1.21
52 --- ChangeLog 2 Oct 2011 17:05:37 -0000 1.20
53 +++ ChangeLog 28 Dec 2011 08:22:50 -0000 1.21
54 @@ -1,6 +1,12 @@
55 # ChangeLog for dev-ruby/rspec-core
56 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
57 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/ChangeLog,v 1.20 2011/10/02 17:05:37 armin76 Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/ChangeLog,v 1.21 2011/12/28 08:22:50 graaff Exp $
59 +
60 +*rspec-core-2.6.4-r1 (28 Dec 2011)
61 +
62 + 28 Dec 2011; Hans de Graaff <graaff@g.o> rspec-core-2.6.4.ebuild,
63 + +rspec-core-2.6.4-r1.ebuild:
64 + Revision bump to drop ruby19 from stable version.
65
66 02 Oct 2011; Raúl Porcel <armin76@g.o> rspec-core-2.6.4.ebuild:
67 ia64/sparc stable wrt #369573
68
69
70
71 1.1 dev-ruby/rspec-core/rspec-core-2.6.4-r1.ebuild
72
73 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.6.4-r1.ebuild?rev=1.1&view=markup
74 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.6.4-r1.ebuild?rev=1.1&content-type=text/plain
75
76 Index: rspec-core-2.6.4-r1.ebuild
77 ===================================================================
78 # Copyright 1999-2011 Gentoo Foundation
79 # Distributed under the terms of the GNU General Public License v2
80 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.6.4-r1.ebuild,v 1.1 2011/12/28 08:22:50 graaff Exp $
81
82 EAPI=2
83 USE_RUBY="ruby18 ree18 ruby19 jruby"
84
85 RUBY_FAKEGEM_TASK_TEST="none"
86 RUBY_FAKEGEM_TASK_DOC="none"
87
88 RUBY_FAKEGEM_EXTRADOC="README.md"
89
90 inherit ruby-fakegem
91
92 DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby"
93 HOMEPAGE="http://rspec.rubyforge.org/"
94
95 LICENSE="MIT"
96 SLOT="2"
97 KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
98 IUSE=""
99
100 RDEPEND="${RDEPEND} !<dev-ruby/rspec-1.3.1-r1"
101
102 ruby_add_bdepend "test? (
103 dev-ruby/nokogiri
104 dev-ruby/syntax
105 >=dev-ruby/zentest-4.4.1
106 dev-ruby/rspec-expectations:2
107 dev-ruby/rspec-mocks:2
108 )"
109
110 # >=dev-ruby/cucumber-0.5.3
111 # >=dev-ruby/autotest-4.2.9 -> zentest-4.4.1
112 # dev-ruby/aruba"
113
114 all_ruby_prepare() {
115 # Don't set up bundler: it doesn't understand our setup.
116 sed -i -e '/[Bb]undler/d' Rakefile || die
117
118 # Remove the Gemfile to avoid running through 'bundle exec'
119 rm Gemfile || die
120
121 # Also clean the /usr/lib/rubyee path (which is our own invention).
122 sed -i -e 's#lib\\d\*\\/ruby\\/#lib\\d*\\/ruby(ee|)\\/#' lib/rspec/core/configuration.rb || die
123
124 # Remove jruby-specific comparison documents since for us the normal
125 # version passes.
126 cp spec/rspec/core/formatters/html_formatted-1.8.7.html spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html|| die
127 cp spec/rspec/core/formatters/text_mate_formatted-1.8.7.html spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html|| die
128 }
129
130 all_ruby_compile() {
131 if use doc ; then
132 RUBYLIB="${S}/lib" rake rdoc || die "Unable to create documentation."
133 fi
134 }
135
136 each_ruby_test() {
137 case ${RUBY} in
138 *jruby)
139 # Run jruby's tests with the installed rspec script since
140 # otherwise files can't be found for some unknown reason.
141 RUBYLIB=${S}/lib ${RUBY} -S rspec --color spec || die "Tests failed."
142 ;;
143 *)
144 PATH="${S}/bin:${PATH}" RUBYLIB="${S}/lib" ${RUBY} -S rake spec || die "Tests failed."
145 ;;
146 esac
147
148 # There are features but it seems as if these only work against a
149 # fully installed version.
150 }