19 lines
724 B
Bash
19 lines
724 B
Bash
# Template file for 'libvirt-python3'
|
|
pkgname=libvirt-python3
|
|
version=8.2.0
|
|
revision=1
|
|
wrksrc="libvirt-python-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="pkg-config python3-devel libvirt-devel libapparmor-devel"
|
|
makedepends="libvirt-devel python3-devel"
|
|
checkdepends="python3-pytest python3-lxml python3-nose"
|
|
short_desc="Libvirt virtualization API Python3 binding"
|
|
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://pypi.org/project/libvirt-python/"
|
|
distfiles="https://libvirt.org/sources/python/libvirt-python-${version}.tar.gz"
|
|
checksum=f8b8cea67ff0d64d63029cc3410a4656e04ee9f26837a856bc0c287da55d053a
|
|
|
|
do_check() {
|
|
PYTHONPATH="$(cd build/lib.* && pwd)" pytest
|
|
}
|