Commit fdd83e67 authored by Martin Pitt's avatar Martin Pitt

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
parent 32133c83
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment