void-packages/srcpkgs/libvirt-python3/template
2021-12-05 10:03:25 -05:00

19 lines
725 B
Bash

# Template file for 'libvirt-python3'
pkgname=libvirt-python3
version=7.10.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=267774bbdf99d47515274542880499437dc94ae291771f5663c62020a62da975
do_check() {
PYTHONPATH="$(cd build/lib.* && pwd)" pytest
}