1 |
graaff 14/07/10 09:53:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rspec-1.3.2-r1.ebuild |
5 |
Log: |
6 |
Add ruby20, ruby21. Drop sparc keyword, bug 465948. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.167 dev-ruby/rspec/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/ChangeLog?rev=1.167&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/ChangeLog?rev=1.167&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/ChangeLog?r1=1.166&r2=1.167 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rspec/ChangeLog,v |
20 |
retrieving revision 1.166 |
21 |
retrieving revision 1.167 |
22 |
diff -u -r1.166 -r1.167 |
23 |
--- ChangeLog 16 Jun 2014 15:41:50 -0000 1.166 |
24 |
+++ ChangeLog 10 Jul 2014 09:53:46 -0000 1.167 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-ruby/rspec |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/ChangeLog,v 1.166 2014/06/16 15:41:50 klausman Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/ChangeLog,v 1.167 2014/07/10 09:53:46 graaff Exp $ |
30 |
+ |
31 |
+*rspec-1.3.2-r1 (10 Jul 2014) |
32 |
+ |
33 |
+ 10 Jul 2014; Hans de Graaff <graaff@g.o> +rspec-1.3.2-r1.ebuild: |
34 |
+ Add ruby20, ruby21. Drop sparc keyword, bug 465948. |
35 |
|
36 |
16 Jun 2014; Tobias Klausmann <klausman@g.o> rspec-2.14.1-r1.ebuild: |
37 |
Keyworded on alpha, bug #465948 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-ruby/rspec/rspec-1.3.2-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/rspec-1.3.2-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/rspec-1.3.2-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: rspec-1.3.2-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/rspec-1.3.2-r1.ebuild,v 1.1 2014/07/10 09:53:46 graaff Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
USE_RUBY="ruby19 ruby20 ruby21 jruby" |
54 |
|
55 |
RUBY_FAKEGEM_TASK_TEST="spec" |
56 |
|
57 |
RUBY_FAKEGEM_TASK_DOC="" |
58 |
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc TODO.txt Ruby1.9.rdoc Upgrade.rdoc" |
59 |
|
60 |
RUBY_FAKEGEM_BINWRAP="spec" |
61 |
|
62 |
RUBY_FAKEGEM_GEMSPEC="rspec.gemspec" |
63 |
|
64 |
inherit ruby-fakegem |
65 |
|
66 |
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" |
67 |
HOMEPAGE="http://rspec.rubyforge.org/" |
68 |
|
69 |
LICENSE="MIT" |
70 |
SLOT="0" |
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" |
72 |
IUSE="" |
73 |
|
74 |
# it's actually optional, but tests fail if it's not installed and |
75 |
# some other package might fail tests, so require it anyway. |
76 |
ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.2" |
77 |
|
78 |
RDEPEND="!<dev-ruby/rspec-rails-${PV}" |
79 |
|
80 |
# don't require test dependencies for jruby since we cannot run them |
81 |
# for now (fakefs doesn't work). |
82 |
# |
83 |
# We should add nokogiri here to make sure that we test as much as |
84 |
# possible, but since it's yet unported to 1.9 and the nokogiri-due |
85 |
# tests fail for sure, we'll be waiting on it. |
86 |
USE_RUBY="ruby19" \ |
87 |
ruby_add_bdepend "test? ( |
88 |
>=dev-ruby/hoe-2.0.0 |
89 |
dev-ruby/zentest |
90 |
>=dev-ruby/syntax-1.0 |
91 |
>=dev-ruby/fakefs-0.2.1 )" |
92 |
USE_RUBY="ruby19" ruby_add_bdepend "test? ( =dev-ruby/test-unit-1.2.3 )" |
93 |
|
94 |
all_ruby_prepare() { |
95 |
# Avoid dependency on git. |
96 |
sed -i -e '/git ls-files/d' ${RUBY_FAKEGEM_GEMSPEC} || die |
97 |
|
98 |
# Replace reference to /tmp to our temporary directory to avoid |
99 |
# sandbox-related failure. |
100 |
sed -i \ |
101 |
-e "s:/tmp:${T}:" \ |
102 |
spec/spec/runner/command_line_spec.rb || die |
103 |
|
104 |
# Avoid unneeded dependency on bundler |
105 |
sed -i -e '/[Bb]undler/ s:^:#:' Rakefile || die |
106 |
|
107 |
# Avoid the formatter specs since they require output files for each |
108 |
# ruby version and these are not present for any current ruby |
109 |
# version. |
110 |
rm spec/spec/runner/formatter/{html,text_mate}_formatter_spec.rb || die |
111 |
|
112 |
# Drop heckle dependency. |
113 |
rm spec/spec/runner/heckler_spec.rb spec/spec/runner/heckle_runner_spec.rb || die |
114 |
sed -i -e '381,398 s:^:#:' spec/spec/runner/option_parser_spec.rb || die |
115 |
|
116 |
# Avoid a spec that may fail on unimportant whitespace differences. |
117 |
sed -e '/Diff in context format/,/^end/ s:^:#:' \ |
118 |
-i spec/spec/expectations/differs/default_spec.rb || die |
119 |
|
120 |
# Remove broken spec.opts related tests. These were always broken |
121 |
# because they don't set up state properly, but only with |
122 |
# >=fakefs-0.4.2 this started throwing exceptions, bug 340385. |
123 |
sed -i -e '/implicitly loading spec/,/^ end/ s:^:#:' spec/spec/runner/option_parser_spec.rb || die |
124 |
|
125 |
} |
126 |
|
127 |
src_test() { |
128 |
chmod 0755 "${HOME}" || die "Failed to fix permissions on home" |
129 |
ruby-ng_src_test |
130 |
} |
131 |
|
132 |
each_ruby_test() { |
133 |
case ${RUBY} in |
134 |
*jruby) |
135 |
ewarn "Tests for JRuby are disabled because dev-ruby/fakefs does not currently support" |
136 |
ewarn "JRuby properly and it's needed to run the tests." |
137 |
;; |
138 |
*) |
139 |
each_fakegem_test |
140 |
;; |
141 |
esac |
142 |
} |