Package: dbus-python Severity: important Tags: patch User: debian-qt-...@lists.debian.org Usertags: dh_python2-qt4
Hello, As far as I know the Debian Python Team started a transition to drop python- support and use dh_python2 instead[1]. Switching dbus-python to dh_python2 will make temporarily unusable the python- qt4-dbus which should switch to dh_python2 as well. I will file a bug report with patch against that package. Switching python-qt4-dbus (source package python-qt4) will break python-qwt5-qt4, python-qwt3d-qt4 and python- qscintilla2 until they switch too; I will file bug reports against them as well. Note that we (Debian Qt/KDE Mainatiners) uploaded a newer pykde4 using dh_python2 by mistake without being aware of the consequences, therefore pykde4 and systemconfig-printer-kde are broken, and will stay broken until both dbus-python an python-qt4 use dh_python2. We talked about it and we decided to just leave them broken for now. Hence why I'm filing this bug report. Last but not least, note that I don't actually work on python stuff, please review the patch carefully. Also when applying the patch, please replace my dummy changelog entry with a proper one. [1] http://lists.debian.org/debian-python/2011/02/msg00008.html Cheers.
diff --git a/debian/changelog b/debian/changelog index f5d372a..0de2ebe 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,8 @@ +dbus-python (0.84.0-2~santa2) UNRELEASED; urgency=low + + + -- José Manuel SantamarÃa Lema <panfa...@gmail.com> Sun, 17 Jul 2011 18:30:39 +0200 + dbus-python (0.84.0-1) UNRELEASED; urgency=low * Merge experimental into unstable diff --git a/debian/control b/debian/control index 11fea37..b565f7a 100644 --- a/debian/control +++ b/debian/control @@ -8,16 +8,15 @@ Uploaders: Sjoerd Simons <sjo...@debian.org>, Loic Minier <l...@dooz.org> Build-Depends: debhelper (>= 8), xmlto, - python-all-dev (>= 2.3.5-11), + python-all-dev (>= 2.6.6-3~), python-all-dbg, - python-support (>= 0.3), libdbus-1-dev (>= 1.4), libdbus-glib-1-dev (>= 0.71), autotools-dev Build-Depends-Indep: python-docutils, python-epydoc (>= 3.0~beta1) Standards-Version: 3.9.1 -XS-Python-Version: >= 2.4 +X-Python-Version: >= 2.4 XS-Dm-Upload-Allowed: yes Homepage: http://www.freedesktop.org/wiki/Software/DBusBindings#Python Vcs-Git: git://anonscm.debian.org/git/pkg-utopia/dbus-python.git @@ -36,7 +35,6 @@ Conflicts: python2.4-dbus Breaks: gnome-osd (<< 0.12.0), gajim (<< 0.11.1) Provides: ${python:Provides} -XB-Python-Version: ${python:Versions} Description: simple interprocess messaging system (Python interface) D-Bus is a message bus, used for sending messages between applications. Conceptually, it fits somewhere in between raw sockets and CORBA in diff --git a/debian/rules b/debian/rules index 55e6eb8..1cfc6bf 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,6 @@ # Copyright © 2003 Daniel Stone <dani...@debian.org> # Copyright © 2006 Sjoerd Simons <sjo...@debian.org> -DEB_PYTHON_SYSTEM := pysupport # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) @@ -133,7 +132,7 @@ binary-arch: build install dh_link -s dh_compress -s -X.py -X.js dh_fixperms -s - dh_pysupport -s + dh_python2 -s dh_installdeb -s dh_shlibdeps -s dh_gencontrol -s