23 lines
801 B
Bash
23 lines
801 B
Bash
# Template file for 'libvirt-python'
|
|
pkgname=libvirt-python
|
|
version=5.0.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="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://pypi.org/project/libvirt-python/"
|
|
distfiles="${PYPI_SITE}/l/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=47605ccc3996aa0833919dc8e9bbde98b10968c5a8d37f7ca55c6a29894e8abf
|
|
|
|
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*
|
|
}
|
|
}
|