Gentoo Archives: gentoo-commits

From: "Thomas Raschbacher (lordvan)" <lordvan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/twisted: twisted-2.0.1.ebuild ChangeLog twisted-2.4.0.ebuild twisted-2.5.0.ebuild twisted-1.3.0.ebuild twisted-1.2.0.ebuild twisted-2.2.0.ebuild twisted-2.1.0.ebuild twisted-8.1.0.ebuild
Date: Sun, 25 May 2008 20:23:55
Message-Id: E1K0Mky-0000r2-7z@stork.gentoo.org
1 lordvan 08/05/25 20:23:52
2
3 Modified: twisted-2.0.1.ebuild ChangeLog twisted-2.4.0.ebuild
4 twisted-2.5.0.ebuild twisted-1.3.0.ebuild
5 twisted-1.2.0.ebuild twisted-2.2.0.ebuild
6 twisted-2.1.0.ebuild
7 Added: twisted-8.1.0.ebuild
8 Log:
9 Version bump and minor fixes
10 (Portage version: 2.1.4.4)
11
12 Revision Changes Path
13 1.12 dev-python/twisted/twisted-2.0.1.ebuild
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.0.1.ebuild?rev=1.12&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.0.1.ebuild?rev=1.12&content-type=text/plain
17 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.0.1.ebuild?r1=1.11&r2=1.12
18
19 Index: twisted-2.0.1.ebuild
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.0.1.ebuild,v
22 retrieving revision 1.11
23 retrieving revision 1.12
24 diff -u -r1.11 -r1.12
25 --- twisted-2.0.1.ebuild 30 Jun 2006 23:01:56 -0000 1.11
26 +++ twisted-2.0.1.ebuild 25 May 2008 20:23:51 -0000 1.12
27 @@ -1,6 +1,6 @@
28 -# Copyright 1999-2006 Gentoo Foundation
29 +# Copyright 1999-2008 Gentoo Foundation
30 # Distributed under the terms of the GNU General Public License v2
31 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.0.1.ebuild,v 1.11 2006/06/30 23:01:56 tcort Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.0.1.ebuild,v 1.12 2008/05/25 20:23:51 lordvan Exp $
33
34 inherit eutils distutils versionator
35
36
37
38
39 1.90 dev-python/twisted/ChangeLog
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/ChangeLog?rev=1.90&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/ChangeLog?rev=1.90&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/ChangeLog?r1=1.89&r2=1.90
44
45 Index: ChangeLog
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v
48 retrieving revision 1.89
49 retrieving revision 1.90
50 diff -u -r1.89 -r1.90
51 --- ChangeLog 13 May 2008 20:29:16 -0000 1.89
52 +++ ChangeLog 25 May 2008 20:23:51 -0000 1.90
53 @@ -1,6 +1,12 @@
54 # ChangeLog for dev-python/twisted
55 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
56 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.89 2008/05/13 20:29:16 hawking Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/ChangeLog,v 1.90 2008/05/25 20:23:51 lordvan Exp $
58 +
59 +*twisted-8.1.0 (25 May 2008)
60 +
61 + 25 May 2008; Thomas Raschbacher <lordvan@g.o> twisted-1.2.0.ebuild,
62 + twisted-1.3.0.ebuild, +twisted-8.1.0.ebuild:
63 + Version bump to 8.1.0 + some minor fixes to older ebuilds
64
65 *twisted-8.0.1 (13 May 2008)
66
67
68
69
70 1.12 dev-python/twisted/twisted-2.4.0.ebuild
71
72 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.4.0.ebuild?rev=1.12&view=markup
73 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.4.0.ebuild?rev=1.12&content-type=text/plain
74 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.4.0.ebuild?r1=1.11&r2=1.12
75
76 Index: twisted-2.4.0.ebuild
77 ===================================================================
78 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.4.0.ebuild,v
79 retrieving revision 1.11
80 retrieving revision 1.12
81 diff -u -r1.11 -r1.12
82 --- twisted-2.4.0.ebuild 12 Mar 2007 18:57:33 -0000 1.11
83 +++ twisted-2.4.0.ebuild 25 May 2008 20:23:51 -0000 1.12
84 @@ -1,6 +1,6 @@
85 -# Copyright 1999-2007 Gentoo Foundation
86 +# Copyright 1999-2008 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.4.0.ebuild,v 1.11 2007/03/12 18:57:33 gustavoz Exp $
89 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.4.0.ebuild,v 1.12 2008/05/25 20:23:51 lordvan Exp $
90
91 inherit eutils distutils versionator
92
93
94
95
96 1.3 dev-python/twisted/twisted-2.5.0.ebuild
97
98 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.5.0.ebuild?rev=1.3&view=markup
99 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.5.0.ebuild?rev=1.3&content-type=text/plain
100 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.5.0.ebuild?r1=1.2&r2=1.3
101
102 Index: twisted-2.5.0.ebuild
103 ===================================================================
104 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.5.0.ebuild,v
105 retrieving revision 1.2
106 retrieving revision 1.3
107 diff -u -r1.2 -r1.3
108 --- twisted-2.5.0.ebuild 13 Feb 2007 13:24:02 -0000 1.2
109 +++ twisted-2.5.0.ebuild 25 May 2008 20:23:51 -0000 1.3
110 @@ -1,6 +1,6 @@
111 -# Copyright 1999-2007 Gentoo Foundation
112 +# Copyright 1999-2008 Gentoo Foundation
113 # Distributed under the terms of the GNU General Public License v2
114 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.5.0.ebuild,v 1.2 2007/02/13 13:24:02 vapier Exp $
115 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.5.0.ebuild,v 1.3 2008/05/25 20:23:51 lordvan Exp $
116
117 inherit eutils distutils versionator
118
119
120
121
122 1.12 dev-python/twisted/twisted-1.3.0.ebuild
123
124 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-1.3.0.ebuild?rev=1.12&view=markup
125 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-1.3.0.ebuild?rev=1.12&content-type=text/plain
126 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-1.3.0.ebuild?r1=1.11&r2=1.12
127
128 Index: twisted-1.3.0.ebuild
129 ===================================================================
130 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-1.3.0.ebuild,v
131 retrieving revision 1.11
132 retrieving revision 1.12
133 diff -u -r1.11 -r1.12
134 --- twisted-1.3.0.ebuild 6 Feb 2006 03:04:29 -0000 1.11
135 +++ twisted-1.3.0.ebuild 25 May 2008 20:23:51 -0000 1.12
136 @@ -1,12 +1,12 @@
137 -# Copyright 1999-2006 Gentoo Foundation
138 +# Copyright 1999-2008 Gentoo Foundation
139 # Distributed under the terms of the GNU General Public License v2
140 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-1.3.0.ebuild,v 1.11 2006/02/06 03:04:29 agriffis Exp $
141 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-1.3.0.ebuild,v 1.12 2008/05/25 20:23:51 lordvan Exp $
142
143 inherit distutils
144
145 # for alphas,..
146 MY_PV="${PV/_alpha/alpha}"
147 -DESCRIPTION="collection of servers and clients, which can be used either by developers of new applications or directly. Documentation included."
148 +DESCRIPTION="An asynchronous networking framework written in Python"
149 HOMEPAGE="http://www.twistedmatrix.com/"
150 SRC_URI="http://twisted.sourceforge.net/Twisted_NoDocs-${MY_PV}.tar.bz2"
151
152 @@ -31,6 +31,6 @@
153 if use gtk; then
154 sed -e 's/import manhole/import manhole2/' \
155 -e 's/manhole\.run()/manhole2.run()/' \
156 - -i ${D}/usr/bin/manhole
157 + -i '${D}/usr/bin/manhole'
158 fi
159 }
160
161
162
163 1.15 dev-python/twisted/twisted-1.2.0.ebuild
164
165 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-1.2.0.ebuild?rev=1.15&view=markup
166 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-1.2.0.ebuild?rev=1.15&content-type=text/plain
167 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-1.2.0.ebuild?r1=1.14&r2=1.15
168
169 Index: twisted-1.2.0.ebuild
170 ===================================================================
171 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-1.2.0.ebuild,v
172 retrieving revision 1.14
173 retrieving revision 1.15
174 diff -u -r1.14 -r1.15
175 --- twisted-1.2.0.ebuild 3 Nov 2005 21:04:25 -0000 1.14
176 +++ twisted-1.2.0.ebuild 25 May 2008 20:23:51 -0000 1.15
177 @@ -1,10 +1,10 @@
178 -# Copyright 1999-2005 Gentoo Foundation
179 +# Copyright 1999-2008 Gentoo Foundation
180 # Distributed under the terms of the GNU General Public License v2
181 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-1.2.0.ebuild,v 1.14 2005/11/03 21:04:25 liquidx Exp $
182 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-1.2.0.ebuild,v 1.15 2008/05/25 20:23:51 lordvan Exp $
183
184 inherit distutils
185
186 -DESCRIPTION="collection of servers and clients, which can be used either by developers of new applications or directly. Documentation included."
187 +DESCRIPTION="An asynchronous networking framework written in Python"
188 HOMEPAGE="http://www.twistedmatrix.com/"
189 SRC_URI="http://twisted.sourceforge.net/Twisted_NoDocs-${PV}.tar.bz2"
190
191 @@ -20,7 +20,7 @@
192 gtk? ( >=dev-python/pygtk-1.99 )
193 doc? ( =dev-python/twisted-docs-${PV} )"
194
195 -S=${WORKDIR}/Twisted-${PV}
196 +S="${WORKDIR}/Twisted-${PV}"
197
198 src_install() {
199 distutils_src_install
200 @@ -29,6 +29,6 @@
201 if use gtk; then
202 sed -e 's/import manhole/import manhole2/' \
203 -e 's/manhole\.run()/manhole2.run()/' \
204 - -i ${D}/usr/bin/manhole
205 + -i '${D}/usr/bin/manhole'
206 fi
207 }
208
209
210
211 1.9 dev-python/twisted/twisted-2.2.0.ebuild
212
213 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.2.0.ebuild?rev=1.9&view=markup
214 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.2.0.ebuild?rev=1.9&content-type=text/plain
215 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.2.0.ebuild?r1=1.8&r2=1.9
216
217 Index: twisted-2.2.0.ebuild
218 ===================================================================
219 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.2.0.ebuild,v
220 retrieving revision 1.8
221 retrieving revision 1.9
222 diff -u -r1.8 -r1.9
223 --- twisted-2.2.0.ebuild 13 Jul 2006 02:24:01 -0000 1.8
224 +++ twisted-2.2.0.ebuild 25 May 2008 20:23:51 -0000 1.9
225 @@ -1,6 +1,6 @@
226 -# Copyright 1999-2006 Gentoo Foundation
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-python/twisted/twisted-2.2.0.ebuild,v 1.8 2006/07/13 02:24:01 agriffis Exp $
230 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.2.0.ebuild,v 1.9 2008/05/25 20:23:51 lordvan Exp $
231
232 inherit eutils distutils versionator
233
234
235
236
237 1.9 dev-python/twisted/twisted-2.1.0.ebuild
238
239 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.1.0.ebuild?rev=1.9&view=markup
240 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.1.0.ebuild?rev=1.9&content-type=text/plain
241 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-2.1.0.ebuild?r1=1.8&r2=1.9
242
243 Index: twisted-2.1.0.ebuild
244 ===================================================================
245 RCS file: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.1.0.ebuild,v
246 retrieving revision 1.8
247 retrieving revision 1.9
248 diff -u -r1.8 -r1.9
249 --- twisted-2.1.0.ebuild 22 Jun 2006 19:18:10 -0000 1.8
250 +++ twisted-2.1.0.ebuild 25 May 2008 20:23:51 -0000 1.9
251 @@ -1,6 +1,6 @@
252 -# Copyright 1999-2006 Gentoo Foundation
253 +# Copyright 1999-2008 Gentoo Foundation
254 # Distributed under the terms of the GNU General Public License v2
255 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.1.0.ebuild,v 1.8 2006/06/22 19:18:10 marienz Exp $
256 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-2.1.0.ebuild,v 1.9 2008/05/25 20:23:51 lordvan Exp $
257
258 inherit eutils distutils versionator
259
260
261
262
263 1.1 dev-python/twisted/twisted-8.1.0.ebuild
264
265 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-8.1.0.ebuild?rev=1.1&view=markup
266 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/twisted/twisted-8.1.0.ebuild?rev=1.1&content-type=text/plain
267
268 Index: twisted-8.1.0.ebuild
269 ===================================================================
270 # Copyright 1999-2008 Gentoo Foundation
271 # Distributed under the terms of the GNU General Public License v2
272 # $Header: /var/cvsroot/gentoo-x86/dev-python/twisted/twisted-8.1.0.ebuild,v 1.1 2008/05/25 20:23:51 lordvan Exp $
273
274 inherit eutils distutils versionator
275
276 MY_P=TwistedCore-${PV}
277
278 DESCRIPTION="An asynchronous networking framework written in Python"
279 HOMEPAGE="http://www.twistedmatrix.com/"
280 SRC_URI="http://tmrc.mit.edu/mirror/${PN}/Core/$(get_version_component_range 1-2)/${MY_P}.tar.bz2"
281
282 LICENSE="MIT"
283 SLOT="0"
284 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
285 IUSE="gtk serial crypt"
286
287 DEPEND=">=dev-lang/python-2.3
288 >=net-zope/zopeinterface-3.0.1
289 serial? ( dev-python/pyserial )
290 crypt? ( >=dev-python/pyopenssl-0.5.1 )
291 gtk? ( >=dev-python/pygtk-1.99 )
292 !dev-python/twisted-docs"
293
294 S=${WORKDIR}/${MY_P}
295
296 DOCS="CREDITS NEWS README"
297
298 src_unpack() {
299 unpack ${A}
300 cd "${S}"
301
302 # Give a load-sensitive test a better chance of succeeding.
303 epatch "${FILESDIR}/${PN}-2.1.0-echo-less.patch"
304
305 # Pass valid arguments to "head" in the zsh completion function.
306 epatch "${FILESDIR}/${PN}-2.1.0-zsh-head.patch"
307 }
308
309 src_install() {
310 distutils_src_install
311
312 # get rid of this to prevent collision-protect from killing us. it
313 # is regenerated in pkg_postinst.
314 rm "${D}/usr/$(get_libdir)"/python*/site-packages/twisted/plugins/dropin.cache
315
316 # weird pattern to avoid installing the index.xhtml page
317 doman doc/man/*.?
318 insinto /usr/share/doc/${PF}
319 doins -r $(find doc -mindepth 1 -maxdepth 1 -not -name man)
320
321 # workaround for a possible portage bug
322 mkdir -p "${D}/etc/conf.d/"
323 newconfd "${FILESDIR}/twistd.conf" twistd
324 newinitd "${FILESDIR}/twistd.init" twistd
325
326 # zsh completion
327 insinto /usr/share/zsh/site-functions/
328 doins twisted/python/_twisted_zsh_stub
329 }
330
331 update_plugin_cache() {
332 python_version
333 local tpath="${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/twisted"
334 # we have to remove the cache or removed plugins won't be removed
335 # from the cache (http://twistedmatrix.com/bugs/issue926)
336 [[ -e "${tpath}/plugins/dropin.cache" ]] && rm -f "${tpath}/plugins/dropin.cache"
337 if [[ -e "${tpath}/plugin.py" ]]; then
338 # twisted is still installed, update.
339 # we have to use getPlugIns here for <=twisted-2.0.1 compatibility
340 einfo "Regenerating plugin cache"
341 python -c "from twisted.plugin import IPlugin, getPlugIns;list(getPlugIns(IPlugin))"
342 fi
343 }
344
345 pkg_postinst() {
346 distutils_pkg_postinst
347 update_plugin_cache
348 }
349
350 pkg_postrm() {
351 distutils_pkg_postrm
352 update_plugin_cache
353 }
354
355 src_test() {
356 python_version
357
358 if has_version ">=dev-lang/python-2.3"; then
359 "${python}" setup.py install --root="${T}/tests" --no-compile || die
360 else
361 "${python}" setup.py install --root="${T}/tests" || die
362 fi
363
364 cd "${T}/tests/usr/$(get_libdir)/python${PYVER}/site-packages/" || die
365
366 # prevent it from pulling in plugins from already installed
367 # twisted packages
368 rm twisted/plugins/__init__.py || die
369
370 # an empty file doesn't work because the tests check for
371 # docstrings in all packages
372 echo "'''plugins stub'''" > twisted/plugins/__init__.py || die
373
374 PYTHONPATH=. "${T}"/tests/usr/bin/trial twisted || die "trial failed"
375 cd "${S}"
376 rm -rf "${T}/tests"
377 }
378
379
380
381 --
382 gentoo-commits@l.g.o mailing list