HI,

On Mon, Feb 12, 2018 at 04:53:26PM -0500, Daniel Kahn Gillmor wrote:
> Package: getmail
> Version: 5.5-2
> Severity: normal
> 
> Getmail does not work with python3, and upstream has indicated that
> they are not likely to port it.
> 
> According to PEP 394 [0], it should use a python2 shebang line, so
> that systems can eventually switch /usr/bin/python to be supplied by
> python3.

YES #!/usr/bin/python2

NO  #!/usr/bin/env python2

Please read Debian Python policy.
https://www.debian.org/doc/packaging-manuals/python-policy/programs.html#interpreter-directive
4.1. Interpreter directive (“Shebang”)

Executables written for interpretation by Python must use an appropraite
interpreter directive, or “shebang”, as the first line of the program.
This line should be of the form #!interpreter_location. See Section
2.4.1, “Interpreter Name” for the interpreter name to use.

As noted in Section 2.4.2, “Interpreter Location”, the form
#!/usr/bin/env interpreter_name is deprecated.

..... I see typo. s/appropraite/appropriate/

Reply via email to