mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=py3-libvirt
|
|
_pkgname=libvirt-python
|
|
pkgver=7.6.0
|
|
pkgrel=0
|
|
pkgdesc="The libvirt virtualization API python binding"
|
|
url="http://libvirt.org"
|
|
# s390x, mips64 and riscv64 blocked by polkit -> libvirt
|
|
arch="all !s390x !mips64 !riscv64"
|
|
license="LGPL-2.0-or-later"
|
|
makedepends="py3-setuptools python3-dev libvirt-dev"
|
|
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
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
4fc5ad8d12739799f38a107533245b0ad51e5d101569e0b2ea9baf1ec0d99fd29d049e2a245977faa8ee0021fa07034a46ac8d2a3a8197ab86bb1b0515f829d3 libvirt-python-7.6.0.tar.gz
|
|
3d1d62a5d5283e5679dd1318a335b2785c895499f1fedae5d75947e29b0a55f6e4925108cf74e6b36f1c9f140aaf5c89171b84d8e94b1c3d3fc6fdc8c7f2f5fc disable-screenshot-test.patch
|
|
"
|