blob: 34500625fd87b1c169c45a7546991636590358da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-libvirt
_pkgname=libvirt-python
pkgver=8.10.0
pkgrel=0
pkgdesc="The libvirt virtualization API python binding"
url="https://libvirt.org/"
arch="all"
license="LGPL-2.0-or-later"
makedepends="py3-setuptools python3-dev libvirt-dev libvirt"
checkdepends="py3-pytest py3-lxml"
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
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
3861f2cab4f38b0eb94695bfc85710cbe6619214853be356ee808e37ac467bf8e37c402b34d1a86d3916c9b7464f0013737e5af8e206e462b65145da7ff7d576 libvirt-python-8.10.0.tar.gz
3d1d62a5d5283e5679dd1318a335b2785c895499f1fedae5d75947e29b0a55f6e4925108cf74e6b36f1c9f140aaf5c89171b84d8e94b1c3d3fc6fdc8c7f2f5fc disable-screenshot-test.patch
"
|