Package: dh-python
Version: 1.20130728-1
Severity: minor
Hello,
I am trying to use shebang rewriting on a package (rss2email) which
ships two binaries in /usr/bin, one written in python3 and one written
in python2.
More precisely:
- the one written in python3 uses a library written in python3, part
of the same package, which is the reason why I'm using dh_python3.
- the one written in python2 is a migration script for rss2email, to
help convert rss2email 2.x data (which happens to be python 2.x
pickle data) to the new rss2email 3.x format
I tried:
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3 -X r2e-migrate
but unfortunately it gets rewritten anyway. It seems to me that for
shebang rewriting, -X is ignored, but I'm not sure if this is supposed
to work or not.
As a workaround, I just pass --ignore-shebangs and sed the python3
script.
Thanks!
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.9-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dh-python depends on:
ii python3 3.3.2-13
dh-python recommends no packages.
dh-python suggests no packages.
-- no debconf information
--
Etienne Millon
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]