1 |
graaff 12/01/01 10:21:55 |
2 |
|
3 |
Modified: ChangeLog rack-1.4.0.ebuild |
4 |
Added: rack-1.3.6-r1.ebuild |
5 |
Log: |
6 |
Make sure only the latest version installs rackup, fixes bug 396661. |
7 |
|
8 |
(Portage version: 2.1.10.41/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.70 dev-ruby/rack/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/ChangeLog?rev=1.70&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/ChangeLog?rev=1.70&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/ChangeLog?r1=1.69&r2=1.70 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v |
20 |
retrieving revision 1.69 |
21 |
retrieving revision 1.70 |
22 |
diff -u -r1.69 -r1.70 |
23 |
--- ChangeLog 31 Dec 2011 19:37:40 -0000 1.69 |
24 |
+++ ChangeLog 1 Jan 2012 10:21:55 -0000 1.70 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-ruby/rack |
27 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v 1.69 2011/12/31 19:37:40 grobian Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v 1.70 2012/01/01 10:21:55 graaff Exp $ |
31 |
+ |
32 |
+*rack-1.3.6-r1 (01 Jan 2012) |
33 |
+ |
34 |
+ 01 Jan 2012; Hans de Graaff <graaff@g.o> +rack-1.3.6-r1.ebuild, |
35 |
+ rack-1.4.0.ebuild: |
36 |
+ Make sure only the latest version installs rackup, fixes bug 396661. |
37 |
|
38 |
31 Dec 2011; Fabian Groffen <grobian@g.o> rack-1.4.0.ebuild: |
39 |
Add Prefix keywords, bug #396547 |
40 |
|
41 |
|
42 |
|
43 |
1.3 dev-ruby/rack/rack-1.4.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.4.0.ebuild?rev=1.3&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.4.0.ebuild?rev=1.3&content-type=text/plain |
47 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.4.0.ebuild?r1=1.2&r2=1.3 |
48 |
|
49 |
Index: rack-1.4.0.ebuild |
50 |
=================================================================== |
51 |
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.4.0.ebuild,v |
52 |
retrieving revision 1.2 |
53 |
retrieving revision 1.3 |
54 |
diff -u -r1.2 -r1.3 |
55 |
--- rack-1.4.0.ebuild 31 Dec 2011 19:37:40 -0000 1.2 |
56 |
+++ rack-1.4.0.ebuild 1 Jan 2012 10:21:55 -0000 1.3 |
57 |
@@ -1,6 +1,6 @@ |
58 |
-# Copyright 1999-2011 Gentoo Foundation |
59 |
+# Copyright 1999-2012 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.4.0.ebuild,v 1.2 2011/12/31 19:37:40 grobian Exp $ |
62 |
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.4.0.ebuild,v 1.3 2012/01/01 10:21:55 graaff Exp $ |
63 |
|
64 |
EAPI="2" |
65 |
USE_RUBY="ruby18 ree18 ruby19 jruby" |
66 |
@@ -28,7 +28,7 @@ |
67 |
ruby_add_bdepend "test? ( dev-ruby/bacon dev-ruby/ruby-fcgi )" |
68 |
|
69 |
# Block against versions in older slots that also try to install a binary. |
70 |
-RDEPEND="${RDEPEND} !<dev-ruby/rack-1.1.3-r1:0 !<dev-ruby/rack-1.2.5:1.2 !<dev-ruby/rack-1.3.6:1.3" |
71 |
+RDEPEND="${RDEPEND} !<dev-ruby/rack-1.1.3-r1:0 !<dev-ruby/rack-1.2.5:1.2 !<dev-ruby/rack-1.3.6-r1:1.3" |
72 |
|
73 |
all_ruby_prepare() { |
74 |
epatch "${FILESDIR}"/${PN}-1.2.1-gentoo.patch |
75 |
|
76 |
|
77 |
|
78 |
1.1 dev-ruby/rack/rack-1.3.6-r1.ebuild |
79 |
|
80 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.3.6-r1.ebuild?rev=1.1&view=markup |
81 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.3.6-r1.ebuild?rev=1.1&content-type=text/plain |
82 |
|
83 |
Index: rack-1.3.6-r1.ebuild |
84 |
=================================================================== |
85 |
# Copyright 1999-2012 Gentoo Foundation |
86 |
# Distributed under the terms of the GNU General Public License v2 |
87 |
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.3.6-r1.ebuild,v 1.1 2012/01/01 10:21:55 graaff Exp $ |
88 |
|
89 |
EAPI="2" |
90 |
USE_RUBY="ruby18 ree18 ruby19 jruby" |
91 |
|
92 |
RUBY_FAKEGEM_DOCDIR="doc" |
93 |
RUBY_FAKEGEM_EXTRADOC="ChangeLog KNOWN-ISSUES README.rdoc SPEC" |
94 |
|
95 |
RUBY_FAKEGEM_BINWRAP="" |
96 |
|
97 |
inherit ruby-fakegem eutils versionator |
98 |
|
99 |
DESCRIPTION="A modular Ruby webserver interface" |
100 |
HOMEPAGE="http://rubyforge.org/projects/rack" |
101 |
SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz" |
102 |
|
103 |
LICENSE="MIT" |
104 |
SLOT="$(get_version_component_range 1-2)" |
105 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
106 |
IUSE="" |
107 |
|
108 |
ruby_add_rdepend "virtual/ruby-ssl" |
109 |
|
110 |
# The gem has automagic dependencies over mongrel, ruby-openid, |
111 |
# memcache-client, thin, mongrel and camping; not sure if we should |
112 |
# make them dependencies at all. We do add the fcgi dependency because |
113 |
# that spec isn't optional. |
114 |
ruby_add_bdepend "test? ( dev-ruby/bacon dev-ruby/ruby-fcgi )" |
115 |
|
116 |
# Block against versions in older slots that also try to install a binary. |
117 |
RDEPEND="${RDEPEND} !<dev-ruby/rack-1.1.3-r1:0 !<dev-ruby/rack-1.2.5:1.2" |
118 |
|
119 |
all_ruby_prepare() { |
120 |
epatch "${FILESDIR}"/${PN}-1.2.1-gentoo.patch |
121 |
|
122 |
# Avoid tests depending on now randomized hash ordering. |
123 |
sed -i -e '/foobarfoo/ s:^:#:' test/spec_response.rb || die |
124 |
sed -i -e '/build query strings correctly/,/end/ s:^:#:' test/spec_utils.rb || die |
125 |
sed -i -e '/build nested query strings correctly/,/end/ s:^:#:' test/spec_utils.rb || die |
126 |
} |
127 |
|
128 |
each_ruby_prepare() { |
129 |
case ${RUBY} in |
130 |
*jruby) |
131 |
# Avoid two failing tests due to bugs in jruby that should |
132 |
# be solved in 1.6.5 or 1.7. |
133 |
rm test/spec_deflater.rb || die |
134 |
;; |
135 |
*) |
136 |
;; |
137 |
esac |
138 |
} |
139 |
|
140 |
each_ruby_test() { |
141 |
# Since the Rakefile calls specrb directly rather than loading it, we |
142 |
# cannot use it to launch the tests or only the currently-selected |
143 |
# RUBY interpreter will be tested. |
144 |
${RUBY} -S bacon -Ilib -w -a \ |
145 |
-q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|Rack::Server)' \ |
146 |
|| die "test failed for ${RUBY}" |
147 |
} |