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-core: ChangeLog rspec-core-2.4.0.ebuild
Date: Wed, 02 Feb 2011 14:12:56
Message-Id: 20110202141245.3936820054@flycatcher.gentoo.org
1 flameeyes 11/02/02 14:12:45
2
3 Modified: ChangeLog rspec-core-2.4.0.ebuild
4 Log:
5 Use upstream specs fixes (as the custom one didn't work with Ruby 1.9) and add ruby19 support.
6
7 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.6 dev-ruby/rspec-core/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 15 Jan 2011 17:02:39 -0000 1.5
23 +++ ChangeLog 2 Feb 2011 14:12:44 -0000 1.6
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-ruby/rspec-core
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/ChangeLog,v 1.5 2011/01/15 17:02:39 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/ChangeLog,v 1.6 2011/02/02 14:12:44 flameeyes Exp $
29 +
30 + 02 Feb 2011; Diego E. Pettenò <flameeyes@g.o>
31 + rspec-core-2.4.0.ebuild, +files/rspec-core-2.4.0-tests.patch:
32 + Use upstream specs fixes (as the custom one didn't work with Ruby 1.9) and
33 + add ruby19 support.
34
35 *rspec-core-2.4.0 (15 Jan 2011)
36
37
38
39
40 1.2 dev-ruby/rspec-core/rspec-core-2.4.0.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.4.0.ebuild?rev=1.2&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.4.0.ebuild?rev=1.2&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.4.0.ebuild?r1=1.1&r2=1.2
45
46 Index: rspec-core-2.4.0.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.4.0.ebuild,v
49 retrieving revision 1.1
50 retrieving revision 1.2
51 diff -u -r1.1 -r1.2
52 --- rspec-core-2.4.0.ebuild 15 Jan 2011 17:02:39 -0000 1.1
53 +++ rspec-core-2.4.0.ebuild 2 Feb 2011 14:12:44 -0000 1.2
54 @@ -1,6 +1,6 @@
55 # Copyright 1999-2011 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.4.0.ebuild,v 1.1 2011/01/15 17:02:39 graaff Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.4.0.ebuild,v 1.2 2011/02/02 14:12:44 flameeyes Exp $
59
60 EAPI=2
61 USE_RUBY="ruby18 ree18 ruby19"
62 @@ -42,8 +42,7 @@
63 # Also clean the /usr/lib/rubyee path (which is our own invention).
64 sed -i -e 's#lib\\d\*\\/ruby\\/#lib\\d*\\/ruby(ee|)\\/#' lib/rspec/core/configuration.rb || die
65
66 - # Fix spec: https://github.com/rspec/rspec-core/issues/issue/278
67 - sed -i -e '157c].reverse)' spec/rspec/core/rake_task_spec.rb || die
68 + epatch "${FILESDIR}"/${P}-tests.patch
69 }
70
71 all_ruby_compile() {