Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pygobject: pygobject-2.28.6.ebuild pygobject-3.0.2.ebuild ChangeLog pygobject-3.0.1.ebuild pygobject-2.26.0-r1.ebuild pygobject-2.28.6-r50.ebuild pygobject-2.28.6-r51.ebuild pygobject-3.0.3.ebuild
Date: Mon, 26 Dec 2011 06:30:07
Message-Id: 20111226062955.C5AE62004C@flycatcher.gentoo.org
1 tetromino 11/12/26 06:29:55
2
3 Modified: pygobject-2.28.6.ebuild pygobject-3.0.2.ebuild
4 ChangeLog pygobject-3.0.1.ebuild
5 pygobject-2.26.0-r1.ebuild
6 pygobject-2.28.6-r50.ebuild
7 pygobject-2.28.6-r51.ebuild
8 Added: pygobject-3.0.3.ebuild
9 Log:
10 Version bump with assorted bugfixes. Fix example installation directory (bug #392449 comment 3, thanks to Arfrever). Also, restrict pypy for all versions of pygobject and improve use of python eclass in 3.0.3 (bug #321879 comment 8, thanks to Arfrever).
11
12 (Portage version: 2.2.0_alpha83/cvs/Linux x86_64)
13
14 Revision Changes Path
15 1.10 dev-python/pygobject/pygobject-2.28.6.ebuild
16
17 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.28.6.ebuild?rev=1.10&view=markup
18 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.28.6.ebuild?rev=1.10&content-type=text/plain
19 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.28.6.ebuild?r1=1.9&r2=1.10
20
21 Index: pygobject-2.28.6.ebuild
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.6.ebuild,v
24 retrieving revision 1.9
25 retrieving revision 1.10
26 diff -u -r1.9 -r1.10
27 --- pygobject-2.28.6.ebuild 15 Nov 2011 05:40:32 -0000 1.9
28 +++ pygobject-2.28.6.ebuild 26 Dec 2011 06:29:55 -0000 1.10
29 @@ -1,6 +1,6 @@
30 # Copyright 1999-2011 Gentoo Foundation
31 # Distributed under the terms of the GNU General Public License v2
32 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.6.ebuild,v 1.9 2011/11/15 05:40:32 tetromino Exp $
33 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.6.ebuild,v 1.10 2011/12/26 06:29:55 tetromino Exp $
34
35 EAPI="3"
36 GCONF_DEBUG="no"
37 @@ -11,7 +11,7 @@
38 # PYTHON_DEPEND="2:2.6 3:3.1"
39 # RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython"
40 PYTHON_DEPEND="2:2.6"
41 -RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython"
42 +RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython *-pypy-*"
43
44 # XXX: Is the alternatives stuff needed anymore?
45 inherit alternatives autotools gnome2 python virtualx
46
47
48
49 1.5 dev-python/pygobject/pygobject-3.0.2.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.0.2.ebuild?rev=1.5&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.0.2.ebuild?rev=1.5&content-type=text/plain
53 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.0.2.ebuild?r1=1.4&r2=1.5
54
55 Index: pygobject-3.0.2.ebuild
56 ===================================================================
57 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.0.2.ebuild,v
58 retrieving revision 1.4
59 retrieving revision 1.5
60 diff -u -r1.4 -r1.5
61 --- pygobject-3.0.2.ebuild 20 Dec 2011 21:29:40 -0000 1.4
62 +++ pygobject-3.0.2.ebuild 26 Dec 2011 06:29:55 -0000 1.5
63 @@ -1,13 +1,13 @@
64 # Copyright 1999-2011 Gentoo Foundation
65 # Distributed under the terms of the GNU General Public License v2
66 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.0.2.ebuild,v 1.4 2011/12/20 21:29:40 jer Exp $
67 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.0.2.ebuild,v 1.5 2011/12/26 06:29:55 tetromino Exp $
68
69 EAPI="4"
70 GCONF_DEBUG="no"
71 GNOME2_LA_PUNT="yes"
72 SUPPORT_PYTHON_ABIS="1"
73 PYTHON_DEPEND="2:2.6 3:3.1"
74 -RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython"
75 +RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython *-pypy-*"
76
77 # XXX: Is the alternatives stuff needed anymore?
78 inherit alternatives autotools gnome2 python virtualx
79
80
81
82 1.132 dev-python/pygobject/ChangeLog
83
84 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.132&view=markup
85 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.132&content-type=text/plain
86 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?r1=1.131&r2=1.132
87
88 Index: ChangeLog
89 ===================================================================
90 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v
91 retrieving revision 1.131
92 retrieving revision 1.132
93 diff -u -r1.131 -r1.132
94 --- ChangeLog 24 Dec 2011 11:35:43 -0000 1.131
95 +++ ChangeLog 26 Dec 2011 06:29:55 -0000 1.132
96 @@ -1,6 +1,20 @@
97 # ChangeLog for dev-python/pygobject
98 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
99 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.131 2011/12/24 11:35:43 maksbotan Exp $
100 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.132 2011/12/26 06:29:55 tetromino Exp $
101 +
102 +*pygobject-3.0.3 (26 Dec 2011)
103 +
104 + 26 Dec 2011; Alexandre Rostovtsev (tetromino) <tetromino@×××××.com>
105 + pygobject-2.26.0-r1.ebuild, pygobject-2.28.6.ebuild,
106 + pygobject-2.28.6-r50.ebuild, pygobject-2.28.6-r51.ebuild,
107 + pygobject-3.0.1.ebuild, pygobject-3.0.2.ebuild, +pygobject-3.0.3.ebuild,
108 + +files/pygobject-3.0.3-disable-new-gi-tests.patch,
109 + +files/pygobject-3.0.3-gobject-property-min-max.patch,
110 + +files/pygobject-3.0.3-tests-python3.patch:
111 + Version bump with assorted bugfixes. Fix example installation directory (bug
112 + #392449 comment 3, thanks to Arfrever). Also, restrict pypy for all versions
113 + of pygobject and improve use of python eclass in 3.0.3 (bug #321879 comment
114 + 8, thanks to Arfrever).
115
116 *pygobject-2.28.6-r51 (24 Dec 2011)
117
118
119
120
121 1.3 dev-python/pygobject/pygobject-3.0.1.ebuild
122
123 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.0.1.ebuild?rev=1.3&view=markup
124 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.0.1.ebuild?rev=1.3&content-type=text/plain
125 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.0.1.ebuild?r1=1.2&r2=1.3
126
127 Index: pygobject-3.0.1.ebuild
128 ===================================================================
129 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.0.1.ebuild,v
130 retrieving revision 1.2
131 retrieving revision 1.3
132 diff -u -r1.2 -r1.3
133 --- pygobject-3.0.1.ebuild 15 Nov 2011 05:40:32 -0000 1.2
134 +++ pygobject-3.0.1.ebuild 26 Dec 2011 06:29:55 -0000 1.3
135 @@ -1,6 +1,6 @@
136 # Copyright 1999-2011 Gentoo Foundation
137 # Distributed under the terms of the GNU General Public License v2
138 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.0.1.ebuild,v 1.2 2011/11/15 05:40:32 tetromino Exp $
139 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.0.1.ebuild,v 1.3 2011/12/26 06:29:55 tetromino Exp $
140
141 EAPI="3"
142 GCONF_DEBUG="no"
143 @@ -8,7 +8,7 @@
144 GNOME2_LA_PUNT="yes"
145 SUPPORT_PYTHON_ABIS="1"
146 PYTHON_DEPEND="2:2.6 3:3.1"
147 -RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython"
148 +RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython *-pypy-*"
149
150 # XXX: Is the alternatives stuff needed anymore?
151 inherit alternatives autotools gnome2 python virtualx
152
153
154
155 1.15 dev-python/pygobject/pygobject-2.26.0-r1.ebuild
156
157 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.26.0-r1.ebuild?rev=1.15&view=markup
158 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.26.0-r1.ebuild?rev=1.15&content-type=text/plain
159 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.26.0-r1.ebuild?r1=1.14&r2=1.15
160
161 Index: pygobject-2.26.0-r1.ebuild
162 ===================================================================
163 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.26.0-r1.ebuild,v
164 retrieving revision 1.14
165 retrieving revision 1.15
166 diff -u -r1.14 -r1.15
167 --- pygobject-2.26.0-r1.ebuild 15 Nov 2011 05:40:32 -0000 1.14
168 +++ pygobject-2.26.0-r1.ebuild 26 Dec 2011 06:29:55 -0000 1.15
169 @@ -1,12 +1,12 @@
170 # Copyright 1999-2011 Gentoo Foundation
171 # Distributed under the terms of the GNU General Public License v2
172 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.26.0-r1.ebuild,v 1.14 2011/11/15 05:40:32 tetromino Exp $
173 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.26.0-r1.ebuild,v 1.15 2011/12/26 06:29:55 tetromino Exp $
174
175 EAPI="2"
176 GCONF_DEBUG="no"
177 SUPPORT_PYTHON_ABIS="1"
178 PYTHON_DEPEND="2:2.5"
179 -RESTRICT_PYTHON_ABIS="2.4 3.* *-jython"
180 +RESTRICT_PYTHON_ABIS="2.4 3.* *-jython *-pypy-*"
181 PYTHON_USE_WITH="threads="
182
183 inherit alternatives autotools gnome2 python virtualx
184
185
186
187 1.4 dev-python/pygobject/pygobject-2.28.6-r50.ebuild
188
189 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r50.ebuild?rev=1.4&view=markup
190 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r50.ebuild?rev=1.4&content-type=text/plain
191 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r50.ebuild?r1=1.3&r2=1.4
192
193 Index: pygobject-2.28.6-r50.ebuild
194 ===================================================================
195 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r50.ebuild,v
196 retrieving revision 1.3
197 retrieving revision 1.4
198 diff -u -r1.3 -r1.4
199 --- pygobject-2.28.6-r50.ebuild 20 Dec 2011 21:29:40 -0000 1.3
200 +++ pygobject-2.28.6-r50.ebuild 26 Dec 2011 06:29:55 -0000 1.4
201 @@ -1,6 +1,6 @@
202 # Copyright 1999-2011 Gentoo Foundation
203 # Distributed under the terms of the GNU General Public License v2
204 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r50.ebuild,v 1.3 2011/12/20 21:29:40 jer Exp $
205 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r50.ebuild,v 1.4 2011/12/26 06:29:55 tetromino Exp $
206
207 EAPI="3"
208 GCONF_DEBUG="no"
209 @@ -11,7 +11,7 @@
210 # PYTHON_DEPEND="2:2.6 3:3.1"
211 # RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython"
212 PYTHON_DEPEND="2:2.6"
213 -RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython"
214 +RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython *-pypy-*"
215
216 # XXX: Is the alternatives stuff needed anymore?
217 inherit alternatives autotools gnome2 python virtualx
218
219
220
221 1.2 dev-python/pygobject/pygobject-2.28.6-r51.ebuild
222
223 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r51.ebuild?rev=1.2&view=markup
224 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r51.ebuild?rev=1.2&content-type=text/plain
225 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r51.ebuild?r1=1.1&r2=1.2
226
227 Index: pygobject-2.28.6-r51.ebuild
228 ===================================================================
229 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r51.ebuild,v
230 retrieving revision 1.1
231 retrieving revision 1.2
232 diff -u -r1.1 -r1.2
233 --- pygobject-2.28.6-r51.ebuild 24 Dec 2011 11:35:43 -0000 1.1
234 +++ pygobject-2.28.6-r51.ebuild 26 Dec 2011 06:29:55 -0000 1.2
235 @@ -1,6 +1,6 @@
236 # Copyright 1999-2011 Gentoo Foundation
237 # Distributed under the terms of the GNU General Public License v2
238 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r51.ebuild,v 1.1 2011/12/24 11:35:43 maksbotan Exp $
239 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-2.28.6-r51.ebuild,v 1.2 2011/12/26 06:29:55 tetromino Exp $
240
241 EAPI="3"
242 GCONF_DEBUG="no"
243 @@ -11,7 +11,7 @@
244 # PYTHON_DEPEND="2:2.6 3:3.1"
245 # RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython"
246 PYTHON_DEPEND="2:2.6"
247 -RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython"
248 +RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython *-pypy-*"
249
250 # XXX: Is the alternatives stuff needed anymore?
251 inherit alternatives autotools gnome2 python virtualx
252
253
254
255 1.1 dev-python/pygobject/pygobject-3.0.3.ebuild
256
257 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.0.3.ebuild?rev=1.1&view=markup
258 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.0.3.ebuild?rev=1.1&content-type=text/plain
259
260 Index: pygobject-3.0.3.ebuild
261 ===================================================================
262 # Copyright 1999-2011 Gentoo Foundation
263 # Distributed under the terms of the GNU General Public License v2
264 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.0.3.ebuild,v 1.1 2011/12/26 06:29:55 tetromino Exp $
265
266 EAPI="4"
267 GCONF_DEBUG="no"
268 GNOME2_LA_PUNT="yes"
269 SUPPORT_PYTHON_ABIS="1"
270 PYTHON_DEPEND="2:2.6 3:3.1"
271 RESTRICT_PYTHON_ABIS="2.4 2.5 3.0 *-jython *-pypy-*"
272
273 # XXX: Is the alternatives stuff needed anymore?
274 inherit alternatives autotools gnome2 python virtualx
275
276 DESCRIPTION="GLib's GObject library bindings for Python"
277 HOMEPAGE="http://www.pygtk.org/"
278
279 LICENSE="LGPL-2.1"
280 SLOT="3"
281 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
282 IUSE="+cairo examples test +threads" # doc
283
284 COMMON_DEPEND=">=dev-libs/glib-2.24.0:2
285 >=dev-libs/gobject-introspection-1.29
286 virtual/libffi
287 cairo? ( >=dev-python/pycairo-1.10.0 )"
288 DEPEND="${COMMON_DEPEND}
289 test? (
290 media-fonts/font-cursor-misc
291 media-fonts/font-misc-misc
292 >=dev-libs/gobject-introspection-1.29.17 )
293 >=dev-util/pkgconfig-0.12"
294 # docs disabled for now per upstream default since they are very out of date
295 # doc? (
296 # app-text/docbook-xml-dtd:4.1.2
297 # dev-libs/libxslt
298 # >=app-text/docbook-xsl-stylesheets-1.70.1 )
299
300 # We now disable introspection support in slot 2 per upstream recommendation
301 # (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
302 # older versions of slot 2 installed their own site-packages/gi, and
303 # slot 3 will collide with them.
304 RDEPEND="${COMMON_DEPEND}
305 !<dev-python/pygtk-2.13
306 !<dev-python/pygobject-2.28.6-r50:2[introspection]"
307
308 pkg_setup() {
309 DOCS="AUTHORS ChangeLog* NEWS README"
310 # Hard-enable libffi support since both gobject-introspection and
311 # glib-2.29.x rdepend on it anyway
312 G2CONF="${G2CONF}
313 --disable-dependency-tracking
314 --with-ffi
315 $(use_enable cairo)
316 $(use_enable threads thread)"
317
318 python_pkg_setup
319 }
320
321 src_prepare() {
322 # Do not build tests if unneeded, bug #226345
323 epatch "${FILESDIR}/${PN}-2.90.1-make_check.patch"
324
325 # Support installation for multiple Python versions, upstream bug #648292
326 epatch "${FILESDIR}/${PN}-3.0.0-support_multiple_python_versions.patch"
327
328 # Disable tests that fail
329 #epatch "${FILESDIR}/${PN}-2.28.3-disable-failing-tests.patch"
330
331 # FIXME: disable tests that require >=gobject-introspection-1.31
332 epatch "${FILESDIR}/${P}-disable-new-gi-tests.patch"
333
334 # Upstream patch to fix GObject.property min/max values; in next release
335 epatch "${FILESDIR}/${P}-gobject-property-min-max.patch"
336
337 # https://bugzilla.gnome.org/show_bug.cgi?id=666852
338 epatch "${FILESDIR}/${PN}-3.0.3-tests-python3.patch"
339
340 # disable pyc compiling
341 ln -sfn $(type -P true) py-compile
342
343 eautoreconf
344 gnome2_src_prepare
345
346 python_copy_sources
347 }
348
349 src_configure() {
350 python_execute_function -s gnome2_src_configure
351 }
352
353 src_compile() {
354 python_src_compile
355 }
356
357 # FIXME: With python multiple ABI support, tests return 1 even when they pass
358 src_test() {
359 unset DBUS_SESSION_BUS_ADDRESS
360 export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
361
362 testing() {
363 export XDG_CACHE_HOME="${T}/$(PYTHON --ABI)"
364 Xemake check PYTHON=$(PYTHON -a)
365 unset XDG_CACHE_HOME
366 }
367 python_execute_function -s testing
368 unset GIO_USE_VFS
369 }
370
371 src_install() {
372 python_execute_function -s gnome2_src_install
373 python_clean_installation_image
374
375 if use examples; then
376 insinto /usr/share/doc/${PF}
377 doins -r examples
378 fi
379 }
380
381 pkg_postinst() {
382 python_mod_optimize gi
383 }
384
385 pkg_postrm() {
386 python_mod_cleanup gi
387 }