1 |
tetromino 15/06/27 01:22:02 |
2 |
|
3 |
Modified: ChangeLog pygobject-3.16.2.ebuild |
4 |
Log: |
5 |
Fix test failure when pyflakes is installed (bug #516744, thanks to Ian Delaney and Gilles Dartiguelongue). |
6 |
|
7 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x18E5B6F2D8D5EC8D) |
8 |
|
9 |
Revision Changes Path |
10 |
1.273 dev-python/pygobject/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.273&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.273&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?r1=1.272&r2=1.273 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v |
19 |
retrieving revision 1.272 |
20 |
retrieving revision 1.273 |
21 |
diff -u -r1.272 -r1.273 |
22 |
--- ChangeLog 20 Jun 2015 10:09:22 -0000 1.272 |
23 |
+++ ChangeLog 27 Jun 2015 01:22:02 -0000 1.273 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-python/pygobject |
26 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.272 2015/06/20 10:09:22 pacho Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.273 2015/06/27 01:22:02 tetromino Exp $ |
29 |
+ |
30 |
+ 27 Jun 2015; Alexandre Rostovtsev <tetromino@g.o> |
31 |
+ pygobject-3.16.2.ebuild: |
32 |
+ Fix test failure when pyflakes is installed (bug #516744, thanks to Ian |
33 |
+ Delaney and Gilles Dartiguelongue). |
34 |
|
35 |
*pygobject-3.16.2 (20 Jun 2015) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.2 dev-python/pygobject/pygobject-3.16.2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.16.2.ebuild?rev=1.2&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.16.2.ebuild?rev=1.2&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.16.2.ebuild?r1=1.1&r2=1.2 |
45 |
|
46 |
Index: pygobject-3.16.2.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.16.2.ebuild,v |
49 |
retrieving revision 1.1 |
50 |
retrieving revision 1.2 |
51 |
diff -u -r1.1 -r1.2 |
52 |
--- pygobject-3.16.2.ebuild 20 Jun 2015 10:09:22 -0000 1.1 |
53 |
+++ pygobject-3.16.2.ebuild 27 Jun 2015 01:22:02 -0000 1.2 |
54 |
@@ -1,6 +1,6 @@ |
55 |
# Copyright 1999-2015 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.16.2.ebuild,v 1.1 2015/06/20 10:09:22 pacho Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.16.2.ebuild,v 1.2 2015/06/27 01:22:02 tetromino Exp $ |
59 |
|
60 |
EAPI="5" |
61 |
GCONF_DEBUG="no" |
62 |
@@ -40,8 +40,12 @@ |
63 |
x11-libs/cairo[glib] |
64 |
x11-libs/gdk-pixbuf:2[introspection] |
65 |
x11-libs/gtk+:3[introspection] |
66 |
- x11-libs/pango[introspection] ) |
67 |
+ x11-libs/pango[introspection] |
68 |
+ !sparc? ( python_targets_python2_7? ( dev-python/pyflakes[$(python_gen_usedep python2_7)] ) ) ) |
69 |
" |
70 |
+# FIXME: remove "!sparc?" automagic nonsense above when pyflakes is |
71 |
+# keyworded on sparc, bug #553380 |
72 |
+ |
73 |
# gnome-base/gnome-common required by eautoreconf |
74 |
|
75 |
# We now disable introspection support in slot 2 per upstream recommendation |
76 |
@@ -65,10 +69,19 @@ |
77 |
# Hard-enable libffi support since both gobject-introspection and |
78 |
# glib-2.29.x rdepend on it anyway |
79 |
# docs disabled by upstream default since they are very out of date |
80 |
- python_foreach_impl run_in_build_dir \ |
81 |
+ configuring() { |
82 |
gnome2_src_configure \ |
83 |
$(use_enable cairo) \ |
84 |
$(use_enable threads thread) |
85 |
+ |
86 |
+ # Pyflakes tests work only in python2, bug #516744 |
87 |
+ if use test && [[ ${EPYTHON} != python2.7 ]]; then |
88 |
+ sed -e 's/if type pyflakes/if false/' \ |
89 |
+ -i Makefile || die "sed failed" |
90 |
+ fi |
91 |
+ } |
92 |
+ |
93 |
+ python_foreach_impl run_in_build_dir configuring |
94 |
} |
95 |
|
96 |
src_compile() { |