[Slackbuilds-users] improvement to python slackbuilds template

B. Watson urchlay at slackware.uk
Sat Nov 22 07:16:22 UTC 2025



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?


More information about the SlackBuilds-users mailing list