[Slackbuilds-users] improvement to python slackbuilds template

Glenn glimrick at epilitimus.com
Sat Nov 22 20:35:09 UTC 2025


On 11/21/25 23:16, B. Watson wrote:
>
>
> On Fri, 21 Nov 2025, Glenn wrote:
>
>> 1. Adds PYTHONVER as an input variable. The default is "3" if none is 
>> given on the command line.
>>
>> 2. Changes the calls to python3 to python$PYTHONVER
>>
>> 3. If PYTHONVER was provided adds a tag to the package name.
>>
>> This allows something like:
>>
>> $PYTHONVER=3.14 ./some_python_build.Slackbuild
>
> Could the variable be called PYVER? Just to save typing?
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
Not sure if this is intended for me. My response would be that I can 
change the patch to use that if that is what people want. PYTHONVER is 
just what I started with when I started doing this in scripts. If you 
have a bunch of packages that you will be building this way you can also 
just export the variable and build without typing it for each build.


Note: I originally sent this to B. Watson instead of the list. My apologies.


More information about the SlackBuilds-users mailing list