public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/pygobject: ChangeLog pygobject-3.16.2.ebuild
@ 2015-06-27  1:22 Alexandre Rostovtsev (tetromino)
  0 siblings, 0 replies; only message in thread
From: Alexandre Rostovtsev (tetromino) @ 2015-06-27  1:22 UTC (permalink / raw
  To: gentoo-commits

tetromino    15/06/27 01:22:02

  Modified:             ChangeLog pygobject-3.16.2.ebuild
  Log:
  Fix test failure when pyflakes is installed (bug #516744, thanks to Ian Delaney and Gilles Dartiguelongue).
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x18E5B6F2D8D5EC8D)

Revision  Changes    Path
1.273                dev-python/pygobject/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.273&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?rev=1.273&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/ChangeLog?r1=1.272&r2=1.273

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v
retrieving revision 1.272
retrieving revision 1.273
diff -u -r1.272 -r1.273
--- ChangeLog	20 Jun 2015 10:09:22 -0000	1.272
+++ ChangeLog	27 Jun 2015 01:22:02 -0000	1.273
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/pygobject
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.272 2015/06/20 10:09:22 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/ChangeLog,v 1.273 2015/06/27 01:22:02 tetromino Exp $
+
+  27 Jun 2015; Alexandre Rostovtsev <tetromino@gentoo.org>
+  pygobject-3.16.2.ebuild:
+  Fix test failure when pyflakes is installed (bug #516744, thanks to Ian
+  Delaney and Gilles Dartiguelongue).
 
 *pygobject-3.16.2 (20 Jun 2015)
 



1.2                  dev-python/pygobject/pygobject-3.16.2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.16.2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.16.2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygobject/pygobject-3.16.2.ebuild?r1=1.1&r2=1.2

Index: pygobject-3.16.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.16.2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pygobject-3.16.2.ebuild	20 Jun 2015 10:09:22 -0000	1.1
+++ pygobject-3.16.2.ebuild	27 Jun 2015 01:22:02 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.16.2.ebuild,v 1.1 2015/06/20 10:09:22 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygobject/pygobject-3.16.2.ebuild,v 1.2 2015/06/27 01:22:02 tetromino Exp $
 
 EAPI="5"
 GCONF_DEBUG="no"
@@ -40,8 +40,12 @@
 		x11-libs/cairo[glib]
 		x11-libs/gdk-pixbuf:2[introspection]
 		x11-libs/gtk+:3[introspection]
-		x11-libs/pango[introspection] )
+		x11-libs/pango[introspection]
+		!sparc? ( python_targets_python2_7? ( dev-python/pyflakes[$(python_gen_usedep python2_7)] ) ) )
 "
+# FIXME: remove "!sparc?" automagic nonsense above when pyflakes is
+# keyworded on sparc, bug #553380
+
 # gnome-base/gnome-common required by eautoreconf
 
 # We now disable introspection support in slot 2 per upstream recommendation
@@ -65,10 +69,19 @@
 	# Hard-enable libffi support since both gobject-introspection and
 	# glib-2.29.x rdepend on it anyway
 	# docs disabled by upstream default since they are very out of date
-	python_foreach_impl run_in_build_dir \
+	configuring() {
 		gnome2_src_configure \
 			$(use_enable cairo) \
 			$(use_enable threads thread)
+
+		# Pyflakes tests work only in python2, bug #516744
+		if use test && [[ ${EPYTHON} != python2.7 ]]; then
+			sed -e 's/if type pyflakes/if false/' \
+				-i Makefile || die "sed failed"
+		fi
+	}
+
+	python_foreach_impl run_in_build_dir configuring
 }
 
 src_compile() {





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-27  1:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-27  1:22 [gentoo-commits] gentoo-x86 commit in dev-python/pygobject: ChangeLog pygobject-3.16.2.ebuild Alexandre Rostovtsev (tetromino)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox