Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rails: rails-2.0.5-r1.ebuild ChangeLog rails-2.1.2-r1.ebuild rails-1.2.6-r1.ebuild rails-2.2.2-r1.ebuild
Date: Wed, 03 Dec 2008 06:40:12
Message-Id: E1L7lP7-0000kd-9K@stork.gentoo.org
1 graaff 08/12/03 06:40:09
2
3 Modified: ChangeLog
4 Added: rails-2.0.5-r1.ebuild rails-2.1.2-r1.ebuild
5 rails-1.2.6-r1.ebuild rails-2.2.2-r1.ebuild
6 Log:
7 Fix#221899
8 (Portage version: 2.1.6_rc2/cvs/Linux 2.6.26-gentoo-r2 x86_64)
9
10 Revision Changes Path
11 1.123 dev-ruby/rails/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.123&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?rev=1.123&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/ChangeLog?r1=1.122&r2=1.123
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v
20 retrieving revision 1.122
21 retrieving revision 1.123
22 diff -u -r1.122 -r1.123
23 --- ChangeLog 27 Nov 2008 06:59:53 -0000 1.122
24 +++ ChangeLog 3 Dec 2008 06:40:09 -0000 1.123
25 @@ -1,6 +1,18 @@
26 # ChangeLog for dev-ruby/rails
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.122 2008/11/27 06:59:53 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/ChangeLog,v 1.123 2008/12/03 06:40:09 graaff Exp $
30 +
31 +*rails-2.2.2-r1 (03 Dec 2008)
32 +*rails-2.1.2-r1 (03 Dec 2008)
33 +*rails-2.0.5-r1 (03 Dec 2008)
34 +*rails-1.2.6-r1 (03 Dec 2008)
35 +
36 + 03 Dec 2008; Hans de Graaff <graaff@g.o> +rails-1.2.6-r1.ebuild,
37 + +rails-2.0.5-r1.ebuild, +rails-2.1.2-r1.ebuild, +rails-2.2.2-r1.ebuild:
38 + Make sure /usr/bin/rails loads the correct version of rails. Depend on and use
39 + select-rails-0.14 to simplify the rails update process. Fixes #221899. Thanks
40 + to Mark Somerville for initial patches and Alex Legler for getting it ready
41 + for the tree and testing.
42
43 *rails-2.2.2 (27 Nov 2008)
44
45
46
47
48 1.1 dev-ruby/rails/rails-2.0.5-r1.ebuild
49
50 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.0.5-r1.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.0.5-r1.ebuild?rev=1.1&content-type=text/plain
52
53 Index: rails-2.0.5-r1.ebuild
54 ===================================================================
55 # Copyright 1999-2008 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-2.0.5-r1.ebuild,v 1.1 2008/12/03 06:40:09 graaff Exp $
58
59 inherit ruby gems
60
61 DESCRIPTION="ruby on rails is a web-application and persistance framework"
62 HOMEPAGE="http://www.rubyonrails.org"
63
64 LICENSE="MIT"
65 SLOT="2"
66 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
67
68 IUSE="fastcgi"
69 DEPEND=">=dev-lang/ruby-1.8.5
70 >=app-admin/eselect-rails-0.14
71 >=dev-ruby/rake-0.7.2
72 ~dev-ruby/activerecord-2.0.5
73 ~dev-ruby/activeresource-2.0.5
74 ~dev-ruby/activesupport-2.0.5
75 ~dev-ruby/actionmailer-2.0.5
76 ~dev-ruby/actionpack-2.0.5
77 !<dev-ruby/rails-1.1.6-r1"
78
79 RDEPEND="${DEPEND}
80 fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 )"
81
82 src_install() {
83 gems_src_install
84 # Rename slotted files that may clash so that eselect can handle
85 # them
86 mv "${D}/usr/bin/rails" "${D}/usr/bin/rails-${PV}"
87 sed -i -e "s/>= 0/${PV}/" "${D}/usr/bin/rails-${PV}"
88 mv "${D}/${GEMSDIR}/bin/rails" "${D}/${GEMSDIR}/bin/rails-${PV}"
89 }
90
91 pkg_postinst() {
92 einfo "To select between slots of rails, use:"
93 einfo "\teselect rails"
94
95 eselect rails update
96 }
97
98 pkg_postrm() {
99 eselect rails update
100 }
101
102
103
104 1.1 dev-ruby/rails/rails-2.1.2-r1.ebuild
105
106 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.1.2-r1.ebuild?rev=1.1&view=markup
107 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.1.2-r1.ebuild?rev=1.1&content-type=text/plain
108
109 Index: rails-2.1.2-r1.ebuild
110 ===================================================================
111 # Copyright 1999-2008 Gentoo Foundation
112 # Distributed under the terms of the GNU General Public License v2
113 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-2.1.2-r1.ebuild,v 1.1 2008/12/03 06:40:09 graaff Exp $
114
115 inherit ruby gems
116
117 DESCRIPTION="ruby on rails is a web-application and persistance framework"
118 HOMEPAGE="http://www.rubyonrails.org"
119
120 LICENSE="MIT"
121 SLOT="2.1"
122 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
123
124 IUSE="fastcgi"
125 DEPEND=">=dev-lang/ruby-1.8.5
126 >=app-admin/eselect-rails-0.14
127 >=dev-ruby/rake-0.8.1
128 ~dev-ruby/activerecord-2.1.2
129 ~dev-ruby/activeresource-2.1.2
130 ~dev-ruby/activesupport-2.1.2
131 ~dev-ruby/actionmailer-2.1.2
132 ~dev-ruby/actionpack-2.1.2
133 !<dev-ruby/rails-1.1.6-r1"
134
135 RDEPEND="${DEPEND}
136 fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 )"
137
138 src_install() {
139 gems_src_install
140 # Rename slotted files that may clash so that eselect can handle
141 # them
142 mv "${D}/usr/bin/rails" "${D}/usr/bin/rails-${PV}"
143 sed -i -e "s/>= 0/${PV}/" "${D}/usr/bin/rails-${PV}"
144 mv "${D}/${GEMSDIR}/bin/rails" "${D}/${GEMSDIR}/bin/rails-${PV}"
145 }
146
147 pkg_postinst() {
148 einfo "To select between slots of rails, use:"
149 einfo "\teselect rails"
150
151 eselect rails update
152 }
153
154 pkg_postrm() {
155 eselect rails update
156 }
157
158
159
160 1.1 dev-ruby/rails/rails-1.2.6-r1.ebuild
161
162 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-1.2.6-r1.ebuild?rev=1.1&view=markup
163 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-1.2.6-r1.ebuild?rev=1.1&content-type=text/plain
164
165 Index: rails-1.2.6-r1.ebuild
166 ===================================================================
167 # Copyright 1999-2008 Gentoo Foundation
168 # Distributed under the terms of the GNU General Public License v2
169 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-1.2.6-r1.ebuild,v 1.1 2008/12/03 06:40:09 graaff Exp $
170
171 inherit ruby gems
172
173 DESCRIPTION="ruby on rails is a web-application and persistance framework"
174 HOMEPAGE="http://www.rubyonrails.org"
175
176 LICENSE="MIT"
177 SLOT="1.2"
178 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
179
180 IUSE="mysql sqlite sqlite3 postgres fastcgi"
181 DEPEND=">=dev-lang/ruby-1.8.5
182 >=app-admin/eselect-rails-0.14
183 >=dev-ruby/rake-0.7.2
184 =dev-ruby/activerecord-1.15.6
185 =dev-ruby/actionmailer-1.3.6
186 =dev-ruby/actionwebservice-1.2.6
187 =dev-ruby/activesupport-1.4.4
188 =dev-ruby/actionpack-1.13.6
189 !<dev-ruby/rails-1.1.6-r1"
190
191 RDEPEND="${DEPEND}
192 fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 )
193 sqlite? ( >=dev-ruby/sqlite-ruby-2.2.2 )
194 sqlite3? ( dev-ruby/sqlite3-ruby )
195 mysql? ( >=dev-ruby/mysql-ruby-2.7 )
196 postgres? ( >=dev-ruby/ruby-postgres-0.7.1 )"
197
198 src_install() {
199 gems_src_install
200 # Rename slotted files that may clash so that eselect can handle
201 # them
202 mv ${D}/usr/bin/rails ${D}/usr/bin/rails-${PV}
203 sed -i -e "s/>= 0/${PV}/" "${D}/usr/bin/rails-${PV}"
204 mv ${D}/${GEMSDIR}/bin/rails ${D}/${GEMSDIR}/bin/rails-${PV}
205 }
206
207 pkg_postinst() {
208 einfo "To select between slots of rails, use:"
209 einfo "\teselect rails"
210
211 eselect rails update
212 }
213
214 pkg_postrm() {
215 eselect rails update
216 }
217
218
219
220 1.1 dev-ruby/rails/rails-2.2.2-r1.ebuild
221
222 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.2.2-r1.ebuild?rev=1.1&view=markup
223 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/rails/rails-2.2.2-r1.ebuild?rev=1.1&content-type=text/plain
224
225 Index: rails-2.2.2-r1.ebuild
226 ===================================================================
227 # Copyright 1999-2008 Gentoo Foundation
228 # Distributed under the terms of the GNU General Public License v2
229 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rails/rails-2.2.2-r1.ebuild,v 1.1 2008/12/03 06:40:09 graaff Exp $
230
231 inherit ruby gems
232
233 DESCRIPTION="ruby on rails is a web-application and persistance framework"
234 HOMEPAGE="http://www.rubyonrails.org"
235
236 LICENSE="MIT"
237 SLOT="2.2"
238 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
239
240 IUSE="fastcgi"
241 DEPEND=">=dev-lang/ruby-1.8.5
242 >=app-admin/eselect-rails-0.14
243 >=dev-ruby/rake-0.8.3
244 ~dev-ruby/activerecord-2.2.2
245 ~dev-ruby/activeresource-2.2.2
246 ~dev-ruby/activesupport-2.2.2
247 ~dev-ruby/actionmailer-2.2.2
248 ~dev-ruby/actionpack-2.2.2"
249
250 RDEPEND="${DEPEND}
251 fastcgi? ( >=dev-ruby/ruby-fcgi-0.8.6 )"
252
253 src_install() {
254 gems_src_install
255 # Rename slotted files that may clash so that eselect can handle
256 # them
257 mv "${D}/usr/bin/rails" "${D}/usr/bin/rails-${PV}"
258 sed -i -e "s/>= 0/${PV}/" "${D}/usr/bin/rails-${PV}"
259 mv "${D}/${GEMSDIR}/bin/rails" "${D}/${GEMSDIR}/bin/rails-${PV}"
260 }
261
262 pkg_postinst() {
263 einfo "To select between slots of rails, use:"
264 einfo "\teselect rails"
265
266 eselect rails update
267 }
268
269 pkg_postrm() {
270 eselect rails update
271 }