[Lunar-commits] <moonbase-other> dbus-python: bump to 1.2.0 and adjusting BUILD/DEPENDS to accomodate python2 and 3

Dennis Veatch dennisveatch at bellsouth.net
Thu Oct 9 22:39:45 CEST 2014


commit 3cbb3b5c4204e87b7840ad4bab170cc0dd7f9427
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Thu, 09 Oct 2014 16:39:08 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/3cbb3b5c4204e87b7840ad4bab170cc0dd7f9427

dbus-python: bump to 1.2.0 and adjusting BUILD/DEPENDS to accomodate python2 and 3
---
  python/dbus-python/BUILD   | +22/-0    
  python/dbus-python/DEPENDS | +3/-0     
  python/dbus-python/DETAILS | +4/-4     
  3 files changed, 29 insertions(+), 4 deletions(-)

--- /dev/null
+++ b/python/dbus-python/BUILD
@@ -0,0 +1,22 @@
+
+# Do the python2 install first
+  if in_depends $MODULE Python ; then
+   mkdir python2 &&
+   pushd python2 &&
+   PYTHON=/usr/bin/python ../configure --prefix=/usr &&
+   make &&
+   popd &&
+   prepare_install &&
+   make -C python2 install
+  fi &&
+
+# Now the python3 stuff
+  if in_depends $MODULE Python-3 ; then
+   mkdir python3 &&
+   pushd python3 &&
+   PYTHON=/usr/bin/python3 ../configure --prefix=/usr &&
+   make &&
+   popd &&
+   prepare_install &&
+   make -C python3 install
+  fi
--- a/python/dbus-python/DEPENDS
+++ b/python/dbus-python/DEPENDS
@@ -1 +1,4 @@
 depends  dbus-glib
+
+optional_depends Python   "" "" "For python2 bindings support"
+optional_depends Python-3 "" "" "for python3 bindings support"
--- a/python/dbus-python/DETAILS
+++ b/python/dbus-python/DETAILS
@@ -1,11 +1,11 @@
           MODULE=dbus-python
-         VERSION=1.1.1
+         VERSION=1.2.0
           SOURCE=$MODULE-$VERSION.tar.gz
-      SOURCE_URL=http://dbus.freedesktop.org/releases/$MODULE
-      SOURCE_VFY=sha1:3c15438a7ec1f0698d50557e3421564564d0e097
+      SOURCE_URL=http://dbus.freedesktop.org/releases/dbus-python/
+      SOURCE_VFY=sha1:7a00f7861d26683ab7e3f4418860bd426deed9b5
         WEB_SITE=http://freedesktop.org/wiki/Software/DBusBindings
          ENTERED=20061126
-         UPDATED=20120628
+         UPDATED=20141009
            SHORT="DBus Python bindings"
 
 cat << EOF




More information about the Lunar-commits mailing list