void-packages/srcpkgs/libvirt-python/template
2019-10-07 14:51:30 +02:00

22 lines
819 B
Bash

# Template file for 'libvirt-python'
pkgname=libvirt-python
version=5.8.0
revision=1
build_style=python-module
pycompile_module="libvirt.py libvirt_lxc.py libvirt_qemu.py"
hostmakedepends="pkg-config python-devel python3-devel libvirt-devel"
makedepends="libvirt-devel python-devel python3-devel"
short_desc="Libvirt virtualization API Python2 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=4617fa535364a155425dc99f639b3a0fe9f703eb36feb56b3917b5443a1ddf4f
libvirt-python3_package() {
short_desc="${short_desc/Python2/Python3}"
pycompile_module="libvirt.py libvirt_lxc.py libvirt_qemu.py"
pkg_install() {
vmove usr/lib/python3*
}
}