Bug#740161: lintian: dh_python2 and dh_python3 are now shipped in dh-python package
Package: lintian
Version: 2.5.21
Severity: wishlist
dh_python2 and dh_python3 are moved to new dh-python binary package.
python3 depends on this new package, python cannot do that (newer
dh_python2 is implemented in Python 3.X and shares codebase with
dh_python3, requiring python3 to install python is not an option).
python package provides an older copy of dh_python2 for the time being.
These are temporary solutions, the goal is to have dh-python in all
packages that use dh_python2, dh_python3 or new dh_pypy. I hope to
achieve that by promoting new dh buildsystem: pybuild which is also
available in dh-python binary package, but in the meantime, it would be
nice if lintian warned about this (missing) build dependency as well.
Attached patch updates package names and adds dh_pypy, I'm not familiar
with lintian's code so I don't know if that's enough, but it's a start
for sure.
Thanks for working on lintian!
diff -ruN lintian/data/debhelper/dh_commands lintian-2.5.21+nmu2/data/debhelper/dh_commands
--- lintian/data/debhelper/dh_commands 2013-05-18 09:36:11.000000000 +0200
+++ lintian-2.5.21+nmu2/data/debhelper/dh_commands 2014-02-26 13:45:57.000000000 +0100
@@ -114,10 +114,11 @@
dh_pycentral=python-central
dh_pydeb=python-van.pydeb
dh_pyppd=pyppd
+dh_pypy=dh-python
dh_pysupport=python-support
dh_python-ply=python-ply
-dh_python2=python
-dh_python3=python3
+dh_python2=dh-python
+dh_python3=dh-python
dh_python=debhelper
dh_quilt_patch=quilt
dh_quilt_unpatch=quilt
diff -ruN lintian/data/debhelper/maint_commands lintian-2.5.21+nmu2/data/debhelper/maint_commands
--- lintian/data/debhelper/maint_commands 2013-05-18 09:36:11.000000000 +0200
+++ lintian-2.5.21+nmu2/data/debhelper/maint_commands 2014-02-26 13:46:11.000000000 +0100
@@ -26,6 +26,7 @@
dh_metainit
dh_nativejava
dh_pycentral
+dh_pypy
dh_pysupport
dh_python
dh_python2
Reply to: