[jhbuild] world: Add a Python 3 version of dbus-python



commit a563e21f68a0ad153f9938be0143ed99dba8419a
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Sat Oct 5 12:44:22 2019 +0200

    world: Add a Python 3 version of dbus-python
    
    The python 2 version is now called dbus-python2.
    
    gedit-plugins is using Python 3, so use the Python 3 version of dbus-python.

 modulesets/gnome-world.modules | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/modulesets/gnome-world.modules b/modulesets/gnome-world.modules
index 8af41067..ebfb0428 100644
--- a/modulesets/gnome-world.modules
+++ b/modulesets/gnome-world.modules
@@ -185,17 +185,26 @@
     </suggests>
   </autotools>
 
-  <autotools id="dbus-python">
+  <autotools id="dbus-python2" autogenargs="PYTHON_VERSION=2">
     <branch module="dbus-python/dbus-python-1.2.12.tar.gz" version="1.2.12"
             repo="dbus"
+            checkoutdir="dbus-python2-${version}"
+            hash="sha256:cdd4de2c4f5e58f287b12013ed7b41dee81d503c8d0d2397c5bd2fb01badf260"/>
+    <dependencies>
+      <dep package="dbus"/>
+      <dep package="dbus-glib"/>
+    </dependencies>
+  </autotools>
+
+  <autotools id="dbus-python" autogenargs="PYTHON_VERSION=3">
+    <branch module="dbus-python/dbus-python-1.2.12.tar.gz" version="1.2.12"
+            repo="dbus"
+            checkoutdir="dbus-python3-${version}"
             hash="sha256:cdd4de2c4f5e58f287b12013ed7b41dee81d503c8d0d2397c5bd2fb01badf260"/>
     <dependencies>
       <dep package="dbus"/>
       <dep package="dbus-glib"/>
     </dependencies>
-    <suggests>
-      <dep package="pygobject-python2"/>
-    </suggests>
   </autotools>
 
   <autotools id="easytag">
@@ -2231,7 +2240,7 @@
       <dep package="pycairo-python2"/>
       <dep package="pygtk"/>
       <dep package="fungtk"/>
-      <dep package="dbus-python"/>
+      <dep package="dbus-python2"/>
     </dependencies>
   </distutils>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]