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
Filter Todo List Packages
Arch | Repository | Name | Current Version | Staging Version | Maintainers | Status | Last Touched By |
---|---|---|---|---|---|---|---|
x86_64 | Extra | boost | 1.86.0-6 | foutrelis, gromit | Complete | foutrelis | |
any | Extra | deluge | 1:2.1.1-8 | heftig | Complete | heftig | |
x86_64 | Core | gpgme | 1.24.1-3 | eworm | Complete | dvzrv | |
x86_64 | Extra | libpst | 0.6.76-10 | heftig | Complete | heftig | |
x86_64 | Extra | libreoffice-fresh | 24.8.4-2 | andyrtr | Complete | andyrtr | |
x86_64 | Extra | libreoffice-still | 24.2.7-5 | andyrtr | Complete | andyrtr | |
x86_64 | Extra | libvoikko | 4.3.2-4 | felixonmars | Complete | jelle | |
x86_64 | Extra | python-numpy | 2.2.2-1 | felixonmars | Complete | dvzrv | |
any | Extra | python-validate-pyproject | 0.23-1 | jelle, felixonmars, carsme | Complete | dvzrv | |
x86_64 | Extra | subversion | 1.14.5-1 | felixonmars | Complete | jelle |