libvirt-python: add python3 package
This commit is contained in:
parent
176d72445a
commit
78879a2742
2 changed files with 14 additions and 6 deletions
|
@ -1,15 +1,22 @@
|
|||
# Template file for 'libvirt-python'
|
||||
pkgname=libvirt-python
|
||||
version=3.2.0
|
||||
revision=1
|
||||
build_style=python2-module
|
||||
hostmakedepends="python pkg-config libvirt-devel"
|
||||
makedepends="libvirt-devel python-devel"
|
||||
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"
|
||||
depends="libvirt"
|
||||
short_desc="The libvirt virtualization API python binding"
|
||||
short_desc="The libvirt virtualization API Python2 binding"
|
||||
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
||||
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*
|
||||
}
|
||||
}
|
||||
|
|
1
srcpkgs/libvirt-python3
Symbolic link
1
srcpkgs/libvirt-python3
Symbolic link
|
@ -0,0 +1 @@
|
|||
libvirt-python
|
Loading…
Reference in a new issue