23 lines
802 B
Bash
23 lines
802 B
Bash
# Template file for 'libvirt-python'
|
|
pkgname=libvirt-python
|
|
version=4.1.0
|
|
revision=1
|
|
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=dec2a33d68779672b4688b296d6de18c9c41b89d8c74c9d3dc887e366587b8c7
|
|
|
|
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*
|
|
}
|
|
}
|