Package: python3-wreport
Version: 3.3-1
Severity: serious
Tags: patch
Justification: Policy 3.5

Due to the use of python:Depends instead of python3:Depends proper binary
depends are not generated.  Also the package has a few obsolete features
still present (XB-Python-Version and python:Provides).  These are no longer
needed.  python:Provides has never been supported for python3.  Additionally,
it's better to directly build-dep on dh-python since the build uses it's
features.

Please see the attached patch.

It would be nice to see this fixed soon as it makes wreport show up as unknown
rather than good on the python3.5 transition tracker [1]

Scott K

[1] https://release.debian.org/transitions/html/python3.5.html
diff -Nru wreport-3.3/debian/changelog wreport-3.3/debian/changelog
--- wreport-3.3/debian/changelog	2015-11-02 10:29:21.000000000 +0000
+++ wreport-3.3/debian/changelog	2016-01-06 06:56:28.000000000 +0000
@@ -1,3 +1,13 @@
+wreport (3.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Correct python3:Depends substitution variable for python3-wreport so that
+    correct dependency information is generated
+  * Minor cleanup of obsolete Python packaging information in debian/control
+  * Add dh-python to build-depends rather than depending on it indirectly
+
+ -- Scott Kitterman <sc...@kitterman.com>  Wed, 06 Jan 2016 06:45:24 +0000
+
 wreport (3.3-1) unstable; urgency=medium
 
   * New major upstream version
diff -Nru wreport-3.3/debian/control wreport-3.3/debian/control
--- wreport-3.3/debian/control	2015-11-02 10:28:42.000000000 +0000
+++ wreport-3.3/debian/control	2016-01-06 06:57:12.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Enrico Zini <enr...@debian.org>
 Build-Depends:
-  debhelper (>= 9), dh-buildinfo, dh-autoreconf,
+  debhelper (>= 9), dh-buildinfo, dh-autoreconf, dh-python,
   doxygen, pkg-config,
   liblua5.1-0-dev,
   python-all-dev, python3-all-dev, python-docutils, python-numpy, python3-numpy,
@@ -72,8 +72,6 @@
 Section: python
 Architecture: any
 Depends: wreport-common, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-XB-Python-Version: ${python:Versions}
-Provides: ${python:Provides}
 Description: Python library to work with BUFR and CREX weather bulletins
  Python bindings for wreport, a library to read and write weather reports in
  BUFR and CREX formats.
@@ -81,8 +79,7 @@
 Package: python3-wreport
 Section: python
 Architecture: any
-Depends: wreport-common, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
-Provides: ${python:Provides}
+Depends: wreport-common, ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
 Description: Python library to work with BUFR and CREX weather bulletins
  Python bindings for wreport, a library to read and write weather reports in
  BUFR and CREX formats.

Reply via email to