python-dbus: upgrade from 0.71 to 0.8.1
authorMichael Lauer <mickey@vanille-media.de>
Thu, 14 Jun 2007 03:01:32 +0000 (03:01 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Thu, 14 Jun 2007 03:01:32 +0000 (03:01 +0000)
catch up with changes in buildsystem
downgrade autotools requirement via patch

packages/python/python-dbus/.mtn2git_empty [new file with mode: 0644]
packages/python/python-dbus/allow-older-autotools.patch [new file with mode: 0644]
packages/python/python-dbus_0.81.1.bb [moved from packages/python/python-dbus_0.71.bb with 67% similarity]

diff --git a/packages/python/python-dbus/.mtn2git_empty b/packages/python/python-dbus/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/python/python-dbus/allow-older-autotools.patch b/packages/python/python-dbus/allow-older-autotools.patch
new file mode 100644 (file)
index 0000000..7595f70
--- /dev/null
@@ -0,0 +1,27 @@
+#
+# so it looks like dbus-python really doesn't make use of any 2.59c features
+# Signed-Off: mickey@openmoko.org
+#
+Index: dbus-python-0.81.1/configure.ac
+===================================================================
+--- dbus-python-0.81.1.orig/configure.ac       2007-06-04 13:17:10.000000000 +0000
++++ dbus-python-0.81.1/configure.ac    2007-06-11 06:57:20.000000000 +0000
+@@ -1,5 +1,5 @@
+ -*- mode: m4 -*-
+-AC_PREREQ(2.59c)
++AC_PREREQ(2.59)
+ dnl If not 1, append datestamp to the version number
+ m4_define(dbus_python_released, 1)
+Index: dbus-python-0.81.1/Makefile.am
+===================================================================
+--- dbus-python-0.81.1.orig/Makefile.am        2007-05-09 09:44:40.000000000 +0000
++++ dbus-python-0.81.1/Makefile.am     2007-06-11 06:59:23.000000000 +0000
+@@ -38,6 +38,7 @@
+ TXT_RSTDOCS = doc/tutorial.txt doc/API_CHANGES.txt doc/HACKING.txt
+ RSTDOCS = README NEWS TODO
++docdir=foo
+ dist_doc_DATA = $(TXT_RSTDOCS) $(RSTDOCS)
+ maintainer-update-website: _maintainer-update-apidocs \
similarity index 67%
rename from packages/python/python-dbus_0.71.bb
rename to packages/python/python-dbus_0.81.1.bb
index 2ef0ffa..82b9c39 100644 (file)
@@ -3,11 +3,12 @@ SECTION = "devel/python"
 HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
 LICENSE = "GPL"
 DEPENDS = "expat glib-2.0 virtual/libintl python-pyrex-native python"
-RDEPENDS = "dbus"
+RDEPENDS = "dbus python-threading python-io python-stringold python-logging"
 PR = "ml0"
 
-SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz"
+SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz \
+           file://allow-older-autotools.patch;patch=1"
 S = "${WORKDIR}/dbus-python-${PV}"
 
-inherit distutils
+inherit distutils-base autotools