[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse-packaging
Subject: Re: [opensuse-packaging] New thoughts on python singlespec macros
From: Jan Engelhardt <jengelh () inai ! de>
Date: 2017-11-14 18:43:57
Message-ID: nycvar.YFH.7.76.1711141940080.11711 () n3 ! vanv ! qr
[Download RAW message or body]
On Tuesday 2017-11-14 19:29, Todd Rme wrote:
>
>1. We really need to get rid of using unversioned "python" in shebangs.
>
>Regarding 1, there are currently two pain points. First and most
>obvious is the fact that the shebangs have to be edit manually. The
>second is that if we want versioned shebangs, we need to manually
>recompile the files to avoid mtime issues.
>
>Ideally changing the shebangs could be handled automatically during
>%python_build, but there could still be a separate macro that could be
>called in cases where manual changes are necessary. Recompiling is
>needed in other situations as well, so having a macro to handle that
>would be useful in general.
Aside from unversioned pythons in the #! line, "#!/usr/bin/env" has
also been made out to be a problem, so there is an opportunity here
to kill two birds with one stone.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic