[Python-apps-team] Bug#750871: Bug 750871 - patch

Faheem Mitha faheem at faheem.info
Sat Jun 7 20:57:45 UTC 2014



On Sat, 7 Jun 2014, Max Bowsher wrote:

> 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.

Dear Maintainers,

I tested Max's patch. It works, and looks like a clean solution. I hope 
you will apply it.

                                                         Regards, Faheem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 750871.patch
Type: text/x-patch
Size: 1704 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20140608/78f59a93/attachment.bin>


More information about the Python-apps-team mailing list