Task Todo List Remove hardcoded python version strings

Jan. 13, 2023 - David Runge

To have less manual interaction with PKGBUILDs when upgrading the Python interpreter, the version strings should not be hardcoded (e.g. `python3.10`).

To get the (major.minor) version string of the Python available during build, use [1]:

```
local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
```

To get the site-packages directory of the Python available during build, use [2]:

```
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
```

[1] https://wiki.archlinux.org/title/Python_package_guidelines#Using_python_version
[2] https://wiki.archlinux.org/title/Python_package_guidelines#Using_site-packages

Link to lists of pkgbase values:

Filter Todo List Packages

Select filter criteria
10 packages displayed out of 10 total packages.
Arch Repository Name Current Version Staging Version Maintainers Status Last Touched By
x86_64 Extra boost 1.86.0-3 1.86.0-4 foutrelis, gromit Complete foutrelis
any Extra deluge 1:2.1.1-6 1:2.1.1-7 heftig Complete heftig
x86_64 Core gpgme 1.24.0-1 1.24.0-2 eworm Complete dvzrv
x86_64 Extra libpst 0.6.76-10 heftig Complete heftig
x86_64 Extra libreoffice-fresh 24.8.3-1 andyrtr Complete andyrtr
x86_64 Extra libreoffice-still 24.2.7-2 andyrtr Complete andyrtr
x86_64 Extra libvoikko 4.3.2-3 4.3.2-4 felixonmars Complete jelle
x86_64 Extra python-numpy 2.1.3-1 2.1.3-2 felixonmars Complete dvzrv
any Extra python-validate-pyproject 0.22-1 0.22-2 jelle, felixonmars Complete dvzrv
x86_64 Extra subversion 1.14.3-3 felixonmars Complete jelle