Package: mwc
Version: 1.7.2-2
Severity: normal
Tags: patch

The package has way more python in build-depends and depends than it needs.
One consequence of this is that it shows up in the list of packages needing a
rebuild for the python3.5 transition [1] when, in fact, it doesn't.

Please see the attached patch the cleans things up (including a redundant call
to dh_python3).  If you check, it still ends up building the same package with
the same effective runtime depends.

Please apply soon as we are getting ready to start the transition and it would
be nice to get this off the list.

Scott K

[1] https://release.debian.org/transitions/html/python3.5.html
diff -Nru mwc-1.7.2/debian/changelog mwc-1.7.2/debian/changelog
--- mwc-1.7.2/debian/changelog	2014-11-10 03:37:44.000000000 -0500
+++ mwc-1.7.2/debian/changelog	2015-09-16 23:31:11.000000000 -0400
@@ -1,3 +1,12 @@
+mwc (1.7.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Simplify Python 3 related build-depends and depends to reflect actual
+    requirements
+  * Remove redundant call to dh_python3 in debian/rules
+
+ -- Scott Kitterman <sc...@kitterman.com>  Wed, 16 Sep 2015 23:28:02 -0400
+
 mwc (1.7.2-2) unstable; urgency=medium
 
   * debian/control:
diff -Nru mwc-1.7.2/debian/control mwc-1.7.2/debian/control
--- mwc-1.7.2/debian/control	2014-10-16 01:03:57.000000000 -0400
+++ mwc-1.7.2/debian/control	2015-09-16 23:29:12.000000000 -0400
@@ -5,7 +5,7 @@
 Build-Depends: 
  debhelper (>= 9),
  dh-python,
- python3 | python3-all | python3-dev | python3-all-dev
+ python3-all
 Standards-Version: 3.9.6
 Homepage: https://github.com/Debianguru/MailWebsiteChanges
 Vcs-Git: git://anonscm.debian.org/collab-maint/mwc.git
@@ -16,7 +16,6 @@
 Depends: 
  ${misc:Depends},
  ${python3:Depends},
- python3 | python3-all | python3-dev | python3-all-dev,
  python3-lxml,
  python3-cssselect
 Description: Powerful website-tracking tool
diff -Nru mwc-1.7.2/debian/rules mwc-1.7.2/debian/rules
--- mwc-1.7.2/debian/rules	2014-09-19 01:52:00.000000000 -0400
+++ mwc-1.7.2/debian/rules	2015-09-16 23:30:51.000000000 -0400
@@ -6,5 +6,4 @@
 override_dh_installdeb:
 	mv debian/mwc/usr/share/doc/mwc/examples/config_template.py debian/mwc/usr/share/doc/mwc/examples/mwc-config_template.py
 	mv debian/mwc/usr/share/doc/mwc/examples/mwc.cr debian/mwc/usr/share/doc/mwc/examples/mwc
-	dh_python3
 	dh_installdeb

Reply via email to