Yo Richard! On Wed, 2 Sep 2020 19:29:15 -0500 Richard Laager via devel <devel@ntpsec.org> wrote:
> Let me start over now that I've reviewed the specifics of the NTPsec > scripts and build system again: > > We are currently using "#!/usr/bin/env python" in all the scripts, Which is what the PEP preferred, until the Python people gave up fighting a certain unnamed distro's people. > and > waf uses the same. The minimum to do to drop Python 2 is: > > 1. Change waf's shebang: > -#!/usr/bin/env python > +#!/usr/bin/env python3 Uh, no. That breaks Gentoo eselect. Many other distros prefer not either. You can't just look at the problem through the lens of your distro. > 2. Change the other scripts the same way. > > 3. Update the docs and CI accordingly. The last gpsd release made it a replaceable variable because every distro wanted it different. > A. Change the Python shebangs to: > #!@PYTHON@ You realize that the POSIX doc says a pace after "#!", but so many do it wrong they accept that variant. > Option A is trivial. I could have that patch done in 10 minutes. Which would mirror gpsd, and make many packagers happy. RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703 g...@rellim.com Tel:+1 541 382 8588 Veritas liberabit vos. -- Quid est veritas? "If you can't measure it, you can't improve it." - Lord Kelvin
pgpEUjuYBBdWj.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel