void-packages/srcpkgs/libvirt-python/template
2017-04-06 18:52:41 +02:00

23 lines
802 B
Bash

# Template file for 'libvirt-python'
pkgname=libvirt-python
version=3.2.0
revision=2
build_style=python-module
hostmakedepends="pkg-config python-devel python3-devel libvirt-devel"
makedepends="libvirt-devel python-devel python3-devel"
pycompile_module="libvirt.py libvirt_lxc.py libvirt_qemu.py"
short_desc="The libvirt virtualization API Python2 binding"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="LGPL-2.1"
homepage="https://pypi.python.org/pypi/libvirt-python"
distfiles="${PYPI_SITE}/l/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=ac85dd8dec332f308e5e0e40889be0d2f10b5d6917f00f0c474405ad25dc003d
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*
}
}