Task Todo List Remove hardcoded python version strings

2023-01-13 - 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.83.0-9 foutrelis Complete foutrelis
any Extra deluge 1:2.1.1-6 heftig Complete heftig
x86_64 Core gpgme 1.23.2-4 eworm Complete dvzrv
x86_64 Extra libpst 0.6.76-10 heftig Complete heftig
x86_64 Extra libreoffice-fresh 24.2.5-1 andyrtr Complete andyrtr
x86_64 Extra libreoffice-still 7.6.7-1 andyrtr Complete andyrtr
x86_64 Extra libvoikko 4.3.2-3 felixonmars Complete jelle
x86_64 Extra python-numpy 2.0.0-1 felixonmars Complete dvzrv
any Extra python-validate-pyproject 0.18-1 jelle, felixonmars Complete dvzrv
x86_64 Extra subversion 1.14.2-14 1.14.2-15 felixonmars Complete jelle