[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#906211: lintian: python-script-but-no-python-dep despite Recommends



Hi Chris,

> > It might be the python 2-or-3 thing. The lines used to read
> > 	Recommends: python
> > and it did not trigger this rule, but recently it started to
> > trigger another rule (obsolete python version), so I ported
> > the script to work with both 2.7 and 3.6 and extended the
> > Recommends so either version would suffice.
> 
> In that case, regardless of the Lintian logic here your OR is not
> correct for this package. Gven that the shebang points to
> #!/usr/bin/python (ie. Python 2.x) this would not be satisfied by the
> "| python3" suffix

hrm. Right.

> I would suggest changing the shebang to "#!/usr/bin/env python3" and
> recommending only python3.

It’s just a Recommends, sure, but this is a package that, while
I always also test it on sid, currently targets jessie and PHP5
on the customer’s site, so I’m a bit wary of requiring py3k yet
(also I didn’t test it with that old a version).

Perhaps just removing the shebang and chmod -x’ing it would si‐
lence lintian?

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

*************************************************

**Besuchen Sie uns auf der dmexco 2018!**

12**. **& 13. September 2018, Koelnmesse / **Halle 7,** **Stand A-031**

Digital Business, Marketing und Innovation

[www.tarent.de/dmexco](http://www.tarent.de/dmexco)

*************************************************

**Visit us at dmexco 2018!**

12th & 13th September, 2018, Koelnmesse / **Hall 7,** **Booth A-031**

Digital business, marketing and innovation

[www.tarent.de/dmexco](http://www.tarent.de/dmexco)

*************************************************


Reply to: