[jhbuild] Switch pygobject to python3, add pygobject-python2 project
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Switch pygobject to python3, add pygobject-python2 project
- Date: Wed, 7 Nov 2012 07:18:31 +0000 (UTC)
commit fdd83e677e3de0f894568fb476a95906e861bd60
Author: Martin Pitt <martinpitt gnome org>
Date: Tue Nov 6 11:47:09 2012 +0100
Switch pygobject to python3, add pygobject-python2 project
According to https://live.gnome.org/GnomeGoals/Python3Porting and
https://mail.gnome.org/archives/desktop-devel-list/2012-November/msg00005.html
pygobject should now default to building for Python 3. Ensure that it does so
by explicitly configuring for --with-python=python3, and introduce a fake
module pygobject-python2 which builds pygobject for Python 2.
https://bugzilla.gnome.org/show_bug.cgi?id=687743
modulesets/gnome-suites-core-deps-3.8.modules | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/modulesets/gnome-suites-core-deps-3.8.modules b/modulesets/gnome-suites-core-deps-3.8.modules
index a744b59..5f50db9 100644
--- a/modulesets/gnome-suites-core-deps-3.8.modules
+++ b/modulesets/gnome-suites-core-deps-3.8.modules
@@ -882,7 +882,8 @@
</after>
</autotools>
- <autotools id="pygobject">
+ <!-- Python 3 build of pygobject -->
+ <autotools id="pygobject" autogenargs="--with-python=python3">
<branch/>
<dependencies>
<dep package="glib"/>
@@ -891,6 +892,16 @@
</dependencies>
</autotools>
+ <!-- Python 2 build of pygobject, until everything gets ported to Python 3 -->
+ <autotools id="pygobject-python2" autogenargs="--with-python=python2">
+ <branch module="pygobject" checkoutdir="pygobject-python2"/>
+ <dependencies>
+ <dep package="glib"/>
+ <dep package="py2cairo"/>
+ <dep package="gobject-introspection"/>
+ </dependencies>
+ </autotools>
+
<autotools id="startup-notification">
<pkg-config>libstartup-notification-1.0.pc</pkg-config>
<branch repo="freedesktop.org"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]