archlinux: pin PKGBUILD to python3.X major version as new python version will break the API

(cherry picked from commit 1fae41332219ba22d3e0bc2bfc73abea10f5bb97)
This commit is contained in:
Olivier MEDOC 2021-01-05 11:31:25 +01:00 committed by Marek Marczykowski-Górecki
parent 0e0c22910b
commit 17d828dcea
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -1,5 +1,3 @@
#!/bin/bash
# shellcheck disable=SC2034
pkgname=(qubes-vm-core qubes-vm-networking qubes-vm-keyring qubes-vm-passwordless-root) pkgname=(qubes-vm-core qubes-vm-networking qubes-vm-keyring qubes-vm-passwordless-root)
pkgver=$(cat version) pkgver=$(cat version)
pkgrel=15 pkgrel=15
@ -62,6 +60,8 @@ package_qubes-vm-core() {
zenity qubes-libvchan qubes-db-vm haveged python-gobject zenity qubes-libvchan qubes-db-vm haveged python-gobject
python-dbus xdg-utils notification-daemon gawk sed procps-ng librsvg python-dbus xdg-utils notification-daemon gawk sed procps-ng librsvg
socat pacman-contrib socat pacman-contrib
# Block updating if there is a major python update as the python API will be in the wrong PYTHONPATH
'python<3.10'
) )
optdepends=(gnome-keyring gnome-settings-daemon python-nautilus gpk-update-viewer qubes-vm-networking qubes-vm-keyring) optdepends=(gnome-keyring gnome-settings-daemon python-nautilus gpk-update-viewer qubes-vm-networking qubes-vm-keyring)
install=PKGBUILD.install install=PKGBUILD.install