aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-libvirt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-libvirt/APKBUILD')
-rw-r--r--community/py3-libvirt/APKBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/community/py3-libvirt/APKBUILD b/community/py3-libvirt/APKBUILD
index 3f04156366..f31fc6a1df 100644
--- a/community/py3-libvirt/APKBUILD
+++ b/community/py3-libvirt/APKBUILD
@@ -1,29 +1,34 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-libvirt
_pkgname=libvirt-python
-pkgver=7.0.0
+pkgver=7.4.0
pkgrel=0
pkgdesc="The libvirt virtualization API python binding"
url="http://libvirt.org"
arch="all !s390x !mips64" # libvirt
license="LGPL-2.0-or-later"
makedepends="py3-setuptools python3-dev libvirt-dev"
-source="https://libvirt.org/sources/python/$_pkgname-$pkgver.tar.gz"
+checkdepends="py3-pytest"
+source="https://libvirt.org/sources/python/$_pkgname-$pkgver.tar.gz
+ disable-screenshot-test.patch"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-libvirt" # Backwards compatibility
provides="py-libvirt=$pkgver" # Backwards compatibility
-check() {
- python3 setup.py check
-}
-
build() {
python3 setup.py build
}
+check() {
+ python3 setup.py test
+}
+
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="c56bc53da06a81d330389f684df204d0ae8edb28127eccd81ac551342a0965341d20832f6e2b044e02e9217320349f6f5cb36098c5cc46508a4026fb1e59c4ac libvirt-python-7.0.0.tar.gz"
+sha512sums="
+e266b04604a21c0c35cb6c080ca5279f3162dfc489fd5ed9542b9ff49567b02074bcac135897d1a8f2375a744c000dbd93b67831621744c2f596b16ca9116d1d libvirt-python-7.4.0.tar.gz
+3d1d62a5d5283e5679dd1318a335b2785c895499f1fedae5d75947e29b0a55f6e4925108cf74e6b36f1c9f140aaf5c89171b84d8e94b1c3d3fc6fdc8c7f2f5fc disable-screenshot-test.patch
+"