Package: python-qwt5-qt4
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].

To switch python-qwt5-qt4 to dh_python2 you should wait until python-qt4 
switchs to dh_python2 as well, otherwise python-qwt5-qt4 will be broken. 

This bug will become RC once python-qt4 switches to dh_python2.

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: 17887)
+++ debian/control	(copia de trabajo)
@@ -3,10 +3,11 @@
 Priority: optional
 Maintainer: Gudjon I. Gudjonsson <gud...@gudjon.org>
 Uploaders: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org>
-Build-Depends: debhelper (>= 7), python-all-dev (>= 2.4.4-2), python-support (>= 0.7.1),
+Build-Depends: debhelper (>= 7), python-all-dev (>= 2.6.6-3~),
  python-numpy (>= 1.0.2-2), python-sip-dev,
- libqwt5-qt4-dev (>=5.0.1), python-qt4 (>= 4.5.1), python-qt4-dev (>=4.5.1)
+ libqwt5-qt4-dev (>=5.0.1), python-qt4 (>= 4.8.3-3~), python-qt4-dev (>= 4.8.3-3~)
 Standards-Version: 3.9.1
+X-Python-Version >= 2.3
 Homepage: http://pyqwt.sourceforge.net/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyqwt5/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyqwt5/trunk/
Index: debian/pyversions
===================================================================
--- debian/pyversions	(revisión: 17887)
+++ debian/pyversions	(copia de trabajo)
@@ -1 +0,0 @@
-2.3-
Index: debian/changelog
===================================================================
--- debian/changelog	(revisión: 17887)
+++ debian/changelog	(copia de trabajo)
@@ -1,3 +1,8 @@
+pyqwt5 (5.2.1~cvs20091107+dfsg-6~santa1) UNRELEASED; urgency=low
+
+
+ -- José Manuel Santamaría Lema <panfa...@gmail.com>  Tue, 19 Jul 2011 22:13:27 +0200
+
 pyqwt5 (5.2.1~cvs20091107+dfsg-5) unstable; urgency=low
 
   * Rebuilding package (Closes: #619500)
Index: debian/rules
===================================================================
--- debian/rules	(revisión: 17887)
+++ debian/rules	(copia de trabajo)
@@ -107,7 +107,7 @@
 	dh_install -a --sourcedir=debian/tmp
 	dh_strip -a
 	dh_compress -a --exclude=.py --exclude=.resX
-	dh_pysupport -a
+	dh_python2 -a
 	dh_sip -a
 	echo 'pythonqt4:Depends=python-qt4 (>= $(call py_qt_version, 4))' >> debian/python-qwt5-qt4.substvars
 	echo 'libqwt5qt4:Depends=libqwt5-qt4 (>= $(call libqwt5_version, 4))' >> debian/python-qwt5-qt4.substvars

Reply via email to