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.83.0-2 | foutrelis | Complete | foutrelis | |
any | Extra | deluge | 1:2.1.1-4 | heftig | Complete | heftig | |
x86_64 | Core | gpgme | 1.22.0-1 | eworm | Complete | dvzrv | |
x86_64 | Extra | libpst | 0.6.76-9 | heftig | Complete | heftig | |
x86_64 | Extra | libreoffice-fresh | 7.6.2-1 | andyrtr | Complete | andyrtr | |
x86_64 | Extra | libreoffice-still | 7.5.7-1 | andyrtr | Complete | andyrtr | |
x86_64 | Extra | libvoikko | 4.3.2-2 | felixonmars | Complete | jelle | |
x86_64 | Extra | python-numpy | 1.26.0-3 | felixonmars | Complete | dvzrv | |
any | Extra | python-validate-pyproject | 0.13-1 | felixonmars | Complete | dvzrv | |
x86_64 | Extra | subversion | 1.14.2-10 | felixonmars | Complete | jelle |