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/rack: ChangeLog rack-1.1.0.ebuild rack-1.0.1-r1.ebuild
Date: Fri, 30 Apr 2010 20:13:53
Message-Id: 20100430201350.E1A8E2C043@corvid.gentoo.org
1 flameeyes 10/04/30 20:13:50
2
3 Modified: ChangeLog rack-1.1.0.ebuild rack-1.0.1-r1.ebuild
4 Log:
5 Add patch to fix one issue with Ruby 1.9 (tempfile behaviour); also apply to 1.0.1 even though that does not work with 1.9 at all.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.28 dev-ruby/rack/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rack/ChangeLog?rev=1.28&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rack/ChangeLog?rev=1.28&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rack/ChangeLog?r1=1.27&r2=1.28
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v
18 retrieving revision 1.27
19 retrieving revision 1.28
20 diff -u -r1.27 -r1.28
21 --- ChangeLog 17 Jan 2010 19:39:51 -0000 1.27
22 +++ ChangeLog 30 Apr 2010 20:13:50 -0000 1.28
23 @@ -1,6 +1,12 @@
24 # ChangeLog for dev-ruby/rack
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v 1.27 2010/01/17 19:39:51 flameeyes Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v 1.28 2010/04/30 20:13:50 flameeyes Exp $
28 +
29 + 30 Apr 2010; Diego E. Pettenò <flameeyes@g.o>
30 + rack-1.0.1-r1.ebuild, +files/rack-1.0.1-gentoo.patch, rack-1.1.0.ebuild,
31 + +files/rack-1.1.0-gentoo.patch:
32 + Add patch to fix one issue with Ruby 1.9 (tempfile behaviour); also apply
33 + to 1.0.1 even though that does not work with 1.9 at all.
34
35 17 Jan 2010; Diego E. Pettenò <flameeyes@g.o>
36 rack-1.0.1-r1.ebuild, rack-1.1.0.ebuild:
37
38
39
40 1.3 dev-ruby/rack/rack-1.1.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rack/rack-1.1.0.ebuild?rev=1.3&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rack/rack-1.1.0.ebuild?rev=1.3&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rack/rack-1.1.0.ebuild?r1=1.2&r2=1.3
45
46 Index: rack-1.1.0.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.1.0.ebuild,v
49 retrieving revision 1.2
50 retrieving revision 1.3
51 diff -u -r1.2 -r1.3
52 --- rack-1.1.0.ebuild 17 Jan 2010 19:39:51 -0000 1.2
53 +++ rack-1.1.0.ebuild 30 Apr 2010 20:13:50 -0000 1.3
54 @@ -1,13 +1,13 @@
55 # Copyright 1999-2010 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.1.0.ebuild,v 1.2 2010/01/17 19:39:51 flameeyes Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.1.0.ebuild,v 1.3 2010/04/30 20:13:50 flameeyes Exp $
59
60 EAPI="2"
61 -USE_RUBY="ruby18 jruby"
62 +USE_RUBY="ruby18 ruby19 jruby"
63
64 RUBY_FAKEGEM_DOCDIR="doc"
65
66 -inherit ruby-fakegem
67 +inherit ruby-fakegem eutils
68
69 DESCRIPTION="A modular Ruby webserver interface"
70 HOMEPAGE="http://rubyforge.org/projects/rack"
71 @@ -23,19 +23,11 @@
72 # make them dependencies at all.
73 ruby_add_bdepend test dev-ruby/test-spec
74
75 +USE_RUBY=ruby19 \
76 + ruby_add_bdepend "ruby_targets_ruby19 test" '=dev-ruby/test-unit-1*'
77 +
78 all_ruby_prepare() {
79 - # Disable the test on the content-length: it not only varies on
80 - # the internal implementation (and thus “needs change often” as
81 - # the code says), but it also varies on the implementation (thus
82 - # failing on JRuby).
83 - sed -i -e '/content_length\.should\.be/s:^:#:' \
84 - test/spec_rack_mock.rb || die
85 -
86 - # This part of the test relies on millisecond timing differences,
87 - # since it's very fragile (and breaks with e.g. JRuby), disable it
88 - # entirely and be done with it.
89 - sed -i -e '/X-Runtime-All.*should >.*X-Runtime-App/s:^:#:' \
90 - test/spec_rack_runtime.rb || die
91 + epatch "${FILESDIR}"/${P}-gentoo.patch
92 }
93
94 each_ruby_test() {
95
96
97
98 1.10 dev-ruby/rack/rack-1.0.1-r1.ebuild
99
100 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rack/rack-1.0.1-r1.ebuild?rev=1.10&view=markup
101 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rack/rack-1.0.1-r1.ebuild?rev=1.10&content-type=text/plain
102 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rack/rack-1.0.1-r1.ebuild?r1=1.9&r2=1.10
103
104 Index: rack-1.0.1-r1.ebuild
105 ===================================================================
106 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.0.1-r1.ebuild,v
107 retrieving revision 1.9
108 retrieving revision 1.10
109 diff -u -r1.9 -r1.10
110 --- rack-1.0.1-r1.ebuild 17 Jan 2010 19:39:51 -0000 1.9
111 +++ rack-1.0.1-r1.ebuild 30 Apr 2010 20:13:50 -0000 1.10
112 @@ -1,6 +1,6 @@
113 # Copyright 1999-2010 Gentoo Foundation
114 # Distributed under the terms of the GNU General Public License v2
115 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.0.1-r1.ebuild,v 1.9 2010/01/17 19:39:51 flameeyes Exp $
116 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.0.1-r1.ebuild,v 1.10 2010/04/30 20:13:50 flameeyes Exp $
117
118 EAPI="2"
119 USE_RUBY="ruby18 jruby"
120 @@ -23,13 +23,11 @@
121 # make them dependencies at all.
122 ruby_add_bdepend test dev-ruby/test-spec
123
124 +#USE_RUBY=ruby19 \
125 +# ruby_add_bdepend "ruby_targets_ruby19 test" '=dev-ruby/test-unit-1*'
126 +
127 all_ruby_prepare() {
128 - # Disable the test on the content-length: it not only varies on
129 - # the internal implementation (and thus “needs change often” as
130 - # the code says), but it also varies on the implementation (thus
131 - # failing on JRuby).
132 - sed -i -e '/content_length\.should\.be/s:^:#:' \
133 - test/spec_rack_mock.rb || die
134 + epatch "${FILESDIR}"/${P}-gentoo.patch
135 }
136
137 each_ruby_test() {