[Python-apps-team] Bug#750871: Bug 750871 - patch
Max Bowsher
_ at maxb.eu
Sat Jun 7 20:35:43 UTC 2014
The problem here is that some manual sed hackery munging the /usr/bin/hg
shebang was removed in PAPT SVN r10748, with the justification that
dh_python2 would take care of it automatically.
Unfortunately, it was not considered that the package currently
circumvents large portions of dh_python2's multiple python version
support by calling the upstream Makefile instead of setup.py.
Fortunately the solution is relatively simple:
* Drop package-local Makefile constructs handling multiple python versions
* Explicitly call the python_distutils debhelper buildsystem plugin
* Use override hooks to call only the upstream Makefile targets which
handle non-distutils parts of the build.
Patch attached.
Regards,
Max Bowsher.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 750871.patch
Type: text/x-patch
Size: 1655 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20140607/ce9590f3/attachment.bin>
More information about the Python-apps-team
mailing list