21 lines
723 B
Bash
21 lines
723 B
Bash
# Template file for 'libvirt-python3'
|
|
pkgname=libvirt-python3
|
|
version=10.3.0
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="pkg-config python3-devel python3-setuptools libvirt-devel
|
|
libapparmor-devel"
|
|
makedepends="libvirt-devel python3-devel"
|
|
depends="python3"
|
|
checkdepends="python3-pytest python3-lxml python3-nose"
|
|
short_desc="Libvirt virtualization API Python3 binding"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
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=0333781ffef915d984f36a9b475ae8df6d01763883eefbd138d14c7591f51f2f
|
|
|
|
do_check() {
|
|
PYTHONPATH="$(cd build/lib.* && pwd)" pytest
|
|
}
|