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].

You should wait until dbus-python switches to dh_python2 to switch python-qt4, 
otherwise python-qt4-dbus won't work. Also, switching 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.
Index: debian/control
===================================================================
--- debian/control	(revisión: 17861)
+++ debian/control	(copia de trabajo)
@@ -3,9 +3,10 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org>
 Uploaders: Torsten Marek <shlo...@debian.org>, Michael Casadevall <mcasadev...@debian.org>, Bernd Zeimetz <b...@debian.org>
-Build-Depends: debhelper (>= 7), python-all-dev, libqt4-dev (>= 4:4.7.0), libqtwebkit-dev, libqtassistantclient-dev, python-sip-dev (>= 4.12.1), python-support (>= 0.7.1), python-dbus (>= 0.80.0), python-dbus-dbg, libdbus-1-dev (>= 1.0.2), python-all-dbg, python-sip-dbg, libqt4-opengl-dev, libphonon-dev (>= 4:4.2.0-2)
+Build-Depends: debhelper (>= 7), python-all-dev (>= 2.6.6-3~), libqt4-dev (>= 4:4.7.0), libqtwebkit-dev, libqtassistantclient-dev, python-sip-dev (>= 4.12.1), python-dbus (>= 0.84.0-2~), python-dbus-dbg, libdbus-1-dev (>= 1.0.2), python-all-dbg, python-sip-dbg, libqt4-opengl-dev, libphonon-dev (>= 4:4.2.0-2)
 Build-Conflicts: python-xml, python-xml-dbg
 Standards-Version: 3.9.1
+X-Python-Version: >= 2.4
 Homepage: http://www.riverbankcomputing.co.uk/software/pyqt/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-qt4/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/python-qt4/trunk/
Index: debian/pyversions
===================================================================
--- debian/pyversions	(revisión: 17861)
+++ debian/pyversions	(copia de trabajo)
@@ -1 +0,0 @@
-2.4-
Index: debian/changelog
===================================================================
--- debian/changelog	(revisión: 17861)
+++ debian/changelog	(copia de trabajo)
@@ -1,3 +1,8 @@
+python-qt4 (4.8.3-3~santa4) UNRELEASED; urgency=low
+
+
+ -- José Manuel Santamaría Lema <panfa...@gmail.com>  Sat, 16 Jul 2011 20:42:15 +0200
+
 python-qt4 (4.8.3-2) unstable; urgency=low
 
   [ Scott Kitterman ]
Index: debian/rules
===================================================================
--- debian/rules	(revisión: 17861)
+++ debian/rules	(copia de trabajo)
@@ -188,7 +188,7 @@
 		ln -s $$p debian/$$p-dbg/usr/share/doc/$$p-dbg; \
 	done
 endif
-	dh_pysupport
+	dh_python2
 	dh_fixperms
 	dh_compress -X.py -X.bmp -X.ui -X.sql -X.xml
 	dh_installdeb
Index: debian/python-qt4.install
===================================================================
--- debian/python-qt4.install	(revisión: 17861)
+++ debian/python-qt4.install	(copia de trabajo)
@@ -1,3 +1,4 @@
+usr/lib/python*/*-packages/PyQt4/__init__.py
 usr/lib/python*/*-packages/PyQt4/Qt.so
 usr/lib/python*/*-packages/PyQt4/QtAssistant.so
 usr/lib/python*/*-packages/PyQt4/QtCore.so

Reply via email to