1 |
graaff 10/10/10 07:37:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rspec-1.3.1.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.80 dev-ruby/rspec/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/ChangeLog?rev=1.80&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/ChangeLog?rev=1.80&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/ChangeLog?r1=1.79&r2=1.80 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rspec/ChangeLog,v |
19 |
retrieving revision 1.79 |
20 |
retrieving revision 1.80 |
21 |
diff -u -r1.79 -r1.80 |
22 |
--- ChangeLog 18 Sep 2010 16:21:44 -0000 1.79 |
23 |
+++ ChangeLog 10 Oct 2010 07:37:26 -0000 1.80 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-ruby/rspec |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/ChangeLog,v 1.79 2010/09/18 16:21:44 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/ChangeLog,v 1.80 2010/10/10 07:37:26 graaff Exp $ |
29 |
+ |
30 |
+*rspec-1.3.1 (10 Oct 2010) |
31 |
+ |
32 |
+ 10 Oct 2010; Hans de Graaff <graaff@g.o> +rspec-1.3.1.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
18 Sep 2010; Raúl Porcel <armin76@g.o> rspec-2.0.0_beta22.ebuild: |
36 |
Add ~ia64 wrt #337113 |
37 |
|
38 |
|
39 |
|
40 |
1.1 dev-ruby/rspec/rspec-1.3.1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/rspec-1.3.1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/rspec-1.3.1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: rspec-1.3.1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2010 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/rspec-1.3.1.ebuild,v 1.1 2010/10/10 07:37:26 graaff Exp $ |
50 |
|
51 |
EAPI=2 |
52 |
USE_RUBY="ruby18 ree18 ruby19 jruby" |
53 |
|
54 |
RUBY_FAKEGEM_TASK_TEST="spec" |
55 |
|
56 |
RUBY_FAKEGEM_TASK_DOC="docs" |
57 |
RUBY_FAKEGEM_DOCDIR="doc" |
58 |
RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc TODO.txt Ruby1.9.rdoc Upgrade.rdoc" |
59 |
|
60 |
inherit ruby-fakegem |
61 |
|
62 |
DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" |
63 |
HOMEPAGE="http://rspec.rubyforge.org/" |
64 |
|
65 |
LICENSE="MIT" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" |
68 |
IUSE="" |
69 |
|
70 |
# it's actually optional, but tests fail if it's not installed and |
71 |
# some other package might fail tests, so require it anyway. |
72 |
ruby_add_rdepend ">=dev-ruby/diff-lcs-1.1.2" |
73 |
|
74 |
ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.0.0 )" |
75 |
|
76 |
RDEPEND="!<dev-ruby/rspec-rails-${PV}" |
77 |
|
78 |
# don't require test dependencies for jruby since we cannot run them |
79 |
# for now (fakefs doesn't work). |
80 |
# |
81 |
# We should add nokogiri here to make sure that we test as much as |
82 |
# possible, but since it's yet unported to 1.9 and the nokogiri-due |
83 |
# tests fail for sure, we'll be waiting on it. |
84 |
USE_RUBY="ruby18 ree18 ruby19" \ |
85 |
ruby_add_bdepend "test? ( |
86 |
>=dev-ruby/hoe-2.0.0 |
87 |
dev-ruby/zentest |
88 |
>=dev-ruby/syntax-1.0 |
89 |
>=dev-ruby/fakefs-0.2.1 )" |
90 |
|
91 |
# the testsuite skips over heckle for Ruby 1.9 so we only request it for 1.8 |
92 |
USE_RUBY="ruby18 ree18" \ |
93 |
ruby_add_bdepend "test? ( >=dev-ruby/heckle-1.4.3 )" |
94 |
|
95 |
all_ruby_prepare() { |
96 |
# Replace reference to /tmp to our temporary directory to avoid |
97 |
# sandbox-related failure. |
98 |
sed -i \ |
99 |
-e "s:/tmp:${T}:" \ |
100 |
spec/spec/runner/command_line_spec.rb || die |
101 |
} |
102 |
|
103 |
src_test() { |
104 |
chmod 0755 "${HOME}" || die "Failed to fix permissions on home" |
105 |
ruby-ng_src_test |
106 |
} |
107 |
|
108 |
each_ruby_test() { |
109 |
case ${RUBY} in |
110 |
*jruby) |
111 |
ewarn "Tests for JRuby are disabled because dev-ruby/fakefs does not currently support" |
112 |
ewarn "JRuby properly and it's needed to run the tests." |
113 |
;; |
114 |
*) |
115 |
each_fakegem_test |
116 |
;; |
117 |
esac |
118 |
} |