void-packages/srcpkgs/python-Pyro4/template

32 lines
851 B
Bash

# Template file for 'python-Pyro4'
pkgname=python-Pyro4
version=4.37
revision=1
wrksrc="${pkgname#*-}-${version}"
noarch="yes"
build_style=python-module
python_versions="2.7 3.4"
pycompile_module="Pyro4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python"
depends="python python-serpent"
short_desc="Pyro means PYthon Remote Qbjects"
maintainer="pulux <pulux@pf4sh.de>"
license="MIT"
homepage="http://pythonhosted.org/Pyro4/"
distfiles="${PYPI_SITE}/P/Pyro4/Pyro4-${version}.tar.gz"
checksum=2c4c9e7c3dbace3c75524324b6a686381be37bebab89b5001c0670418cec89c7
python3.4-Pyro4_package() {
noarch="yes"
makedepends="python3.4"
depends="python3.4 python3.4-serpent"
pycompile_version="3.4"
pycompile_module="Pyro4"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vmove usr/bin
}
}