Package: wsjt
Version: 5.9.7.r383-1.5
Severity: serious
User: debian-pyt...@lists.debian.org
Usertags: python2.6
Tags: patch
Justification: Python Policy 3.1.1

Hello,

wsjt builds private Python extensions. Such extensions are normally not binary compatible across different Python versions, so the package must declare tight dependency on the version for which the extensions was built. The attached patch fixes this bug.

--
Jakub Wilk
diff -u wsjt-5.9.7.r383/debian/rules wsjt-5.9.7.r383/debian/rules
--- wsjt-5.9.7.r383/debian/rules
+++ wsjt-5.9.7.r383/debian/rules
@@ -54,6 +54,7 @@
 	dh_desktop -a
 	dh_compress -a -X.WAV -X.pdf usr/share/wsjt/CALL3.TXT usr/share/wsjt/TSKY.DAT
 	dh_fixperms -a
+	dh_pysupport -a
 	dh_installdeb -a
 	dh_shlibdeps -a
 	dh_gencontrol -a
diff -u wsjt-5.9.7.r383/debian/control wsjt-5.9.7.r383/debian/control
--- wsjt-5.9.7.r383/debian/control
+++ wsjt-5.9.7.r383/debian/control
@@ -4,11 +4,11 @@
 Maintainer: Debian Hams group <debian-h...@lists.debian.org>
 Uploaders: Hamish Moffatt <ham...@debian.org>
 Standards-Version: 3.7.3
-Build-Depends: debhelper (>= 4), gfortran, autoconf, dpatch, python-numpy, libsamplerate0-dev, python-dev, portaudio19-dev, sharutils
+Build-Depends: debhelper (>= 4), gfortran, autoconf, dpatch, python-numpy, libsamplerate0-dev, python-dev, portaudio19-dev, sharutils, python-support
 
 Package: wsjt
 Architecture: any
-Depends: ${shlibs:Depends}, python-imaging, python-imaging-tk, python-tk, python-numpy, xterm | x-terminal-emulator
+Depends: ${shlibs:Depends}, ${python:Depends}, python-imaging, python-imaging-tk, python-tk, python-numpy, xterm | x-terminal-emulator
 Description: weak-signal amateur radio communications
  WSJT is designed to facilitate Amateur Radio communication under extreme 
  weak-signal conditions.  Three very different coding and modulation 

Attachment: signature.asc
Description: Digital signature

Reply via email to