Date: Friday, January 27, 2023 @ 15:42:53 Author: felixonmars Revision: 1388738
upgpkg: python-qasync 0.23.0-2: make all backends optional (FS#77121) Modified: python-qasync/trunk/PKGBUILD ----------+ PKGBUILD | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-01-27 15:41:01 UTC (rev 1388737) +++ PKGBUILD 2023-01-27 15:42:53 UTC (rev 1388738) @@ -3,14 +3,16 @@ pkgname=python-qasync pkgver=0.23.0 -pkgrel=1 +pkgrel=2 pkgdesc="Python library for using asyncio in Qt-based applications" arch=(any) url="https://github.com/CabbageDevelopment/qasync" license=('BSD') -depends=('python' 'qt5-python-bindings') +depends=('python') +optdepends=('pyside2' 'pyside6' 'python-pyqt5' 'python-pyqt6') makedepends=('python-setuptools') -checkdepends=('python-pytest-raises' 'python-pyqt5' 'pyside2' 'xorg-server-xvfb') +checkdepends=('python-pytest-raises' 'pyside2' 'pyside6' 'python-pyqt5' 'python-pyqt6' + 'xorg-server-xvfb') source=("https://github.com/CabbageDevelopment/qasync/archive/v$pkgver/$pkgname-$pkgver.tar.gz") sha512sums=('5d0f4a1363461d88f9f3b6583cf87cc87fef08f18adcf26682cf40f2fd4202d42887e0b15e52c505c9565e59284f3809f222df0c96c5d78f5261556645715213') @@ -21,8 +23,10 @@ check() { cd qasync-$pkgver - QT_API=PyQt5 xvfb-run python -m pytest - QT_API=PySide2 xvfb-run python -m pytest + QT_API=pyside2 xvfb-run python -m pytest + QT_API=pyside6 xvfb-run python -m pytest + QT_API=pyqt5 xvfb-run python -m pytest + QT_API=pyqt6 xvfb-run python -m pytest } package() {
