Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rspec: ChangeLog rspec-1.3.0-r1.ebuild rspec-1.3.0.ebuild
Date: Mon, 23 Aug 2010 13:55:00
Message-Id: 20100823135455.B6B082004E@flycatcher.gentoo.org
1 flameeyes 10/08/23 13:54:55
2
3 Modified: ChangeLog rspec-1.3.0.ebuild
4 Added: rspec-1.3.0-r1.ebuild
5 Log:
6 Move ree18/ruby19 support to -r1.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.75 dev-ruby/rspec/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/ChangeLog?rev=1.75&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/ChangeLog?rev=1.75&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/ChangeLog?r1=1.74&r2=1.75
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rspec/ChangeLog,v
19 retrieving revision 1.74
20 retrieving revision 1.75
21 diff -u -r1.74 -r1.75
22 --- ChangeLog 13 Aug 2010 06:25:20 -0000 1.74
23 +++ ChangeLog 23 Aug 2010 13:54:55 -0000 1.75
24 @@ -1,6 +1,12 @@
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.74 2010/08/13 06:25:20 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/ChangeLog,v 1.75 2010/08/23 13:54:55 flameeyes Exp $
29 +
30 +*rspec-1.3.0-r1 (23 Aug 2010)
31 +
32 + 23 Aug 2010; Diego E. Pettenò <flameeyes@g.o> rspec-1.3.0.ebuild,
33 + +rspec-1.3.0-r1.ebuild:
34 + Move ree18/ruby19 support to -r1.
35
36 13 Aug 2010; Hans de Graaff <graaff@g.o> -rspec-1.2.8.ebuild:
37 Remove old version.
38
39
40
41 1.11 dev-ruby/rspec/rspec-1.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/rspec-1.3.0.ebuild?rev=1.11&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/rspec-1.3.0.ebuild?rev=1.11&content-type=text/plain
45 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/rspec-1.3.0.ebuild?r1=1.10&r2=1.11
46
47 Index: rspec-1.3.0.ebuild
48 ===================================================================
49 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rspec/rspec-1.3.0.ebuild,v
50 retrieving revision 1.10
51 retrieving revision 1.11
52 diff -u -r1.10 -r1.11
53 --- rspec-1.3.0.ebuild 29 Jul 2010 00:06:52 -0000 1.10
54 +++ rspec-1.3.0.ebuild 23 Aug 2010 13:54:55 -0000 1.11
55 @@ -1,9 +1,9 @@
56 # Copyright 1999-2010 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/rspec-1.3.0.ebuild,v 1.10 2010/07/29 00:06:52 flameeyes Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/rspec-1.3.0.ebuild,v 1.11 2010/08/23 13:54:55 flameeyes Exp $
60
61 EAPI=2
62 -USE_RUBY="ruby18 ree18 ruby19 jruby"
63 +USE_RUBY="ruby18 jruby"
64
65 RUBY_FAKEGEM_TASK_TEST="spec"
66
67
68
69
70 1.1 dev-ruby/rspec/rspec-1.3.0-r1.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/rspec-1.3.0-r1.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec/rspec-1.3.0-r1.ebuild?rev=1.1&content-type=text/plain
74
75 Index: rspec-1.3.0-r1.ebuild
76 ===================================================================
77 # Copyright 1999-2010 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec/rspec-1.3.0-r1.ebuild,v 1.1 2010/08/23 13:54:55 flameeyes Exp $
80
81 EAPI=2
82 USE_RUBY="ruby18 ree18 ruby19 jruby"
83
84 RUBY_FAKEGEM_TASK_TEST="spec"
85
86 RUBY_FAKEGEM_TASK_DOC="docs"
87 RUBY_FAKEGEM_DOCDIR="doc"
88 RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc TODO.txt Ruby1.9.rdoc Upgrade.rdoc"
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="0"
97 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
98 IUSE=""
99
100 # it's actually optional, but tests fail if it's not installed and
101 # some other package might fail tests, so require it anyway.
102 ruby_add_rdepend dev-ruby/diff-lcs
103
104 ruby_add_bdepend "doc? ( dev-ruby/hoe )"
105
106 RDEPEND="!<dev-ruby/rspec-rails-${PV}"
107
108 # don't require test dependencies for jruby since we cannot run them
109 # for now (fakefs doesn't work).
110 #
111 # We should add nokogiri here to make sure that we test as much as
112 # possible, but since it's yet unported to 1.9 and the nokogiri-due
113 # tests fail for sure, we'll be waiting on it.
114 USE_RUBY="ruby18 ree18 ruby19" \
115 ruby_add_bdepend "test? ( dev-ruby/hoe dev-ruby/zentest dev-ruby/fakefs )"
116
117 # the testsuite skips over heckle for Ruby 1.9 so we only request it for 1.8
118 USE_RUBY="ruby18 ree18" \
119 ruby_add_bdepend "test? ( dev-ruby/heckle )"
120
121 all_ruby_prepare() {
122 # Replace reference to /tmp to our temporary directory to avoid
123 # sandbox-related failure.
124 sed -i \
125 -e "s:/tmp:${T}:" \
126 spec/spec/runner/command_line_spec.rb || die
127 }
128
129 src_test() {
130 chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
131 ruby-ng_src_test
132 }
133
134 each_ruby_test() {
135 case ${RUBY} in
136 *jruby)
137 ewarn "Tests for JRuby are disabled because dev-ruby/fakefs does not currently support"
138 ewarn "JRuby properly and it's needed to run the tests."
139 ;;
140 *)
141 each_fakegem_test
142 ;;
143 esac
144 }