* Scott Kitterman <deb...@kitterman.com>, 2011-03-04, 21:15:
dh_python2 and dh_python3 cannot be used for the same files at the
same time (that's why dh_python2 igores python3-* packages, that's
why dh_python3 ignores python-* packages and that's why you have to
use -N/-p in all other packages if you want to invoke both helpers)
Wait, what, I cannot have a package that ship both python and python3
*scripts*?
you can:
Piotr Ożarowski wrote:
(+ an option to disable this behaviour in both helpers)
If you're going to push this forward, please call the option
--without-bugs.
I get that you're not in favor of this. What is the problem with the fixing
shebangs by default? If you believe what policy says, /usr/bin/env python is
something we should only have in Debian packages due to the maintainer
deciding it's needed for some reason.
I'm not convinced it's only about getting rid of "/usr/bin/env". Piotr
didn't give any rationale for the proposed changed and his algorithm (as
I showed a few mails ago) gives odd results even for fairly conventional
shebangs.
For what it's worth, I'd OK with Python helpers doing this:
s,^#!\s*/usr/bin/env\s+(python[0-9.]*(-dbg)?)\b,#!/usr/bin/\1,
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110305190722.ga8...@jwilk.net