void-packages/srcpkgs/python-lazy-object-proxy/template

31 lines
933 B
Bash

# Template file for 'python-lazy-object-proxy'
pkgname=python-lazy-object-proxy
version=1.2.2
revision=1
wrksrc="lazy-object-proxy-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
pycompile_module="lazy_object_proxy"
short_desc="Fast and thorough lazy object proxy (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/ionelmc/python-lazy-object-proxy"
license="2-clause-BSD"
distfiles="${PYPI_SITE}/l/lazy-object-proxy/lazy-object-proxy-${version}.tar.gz"
checksum=ddd4cf1c74279c349cb7b9c54a2efa5105854f57de5f2d35829ee93631564268
post_install() {
vlicense LICENSE
}
python3.4-lazy-object-proxy_package() {
pycompile_version="3.4"
pycompile_module="lazy_object_proxy"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense LICENSE
}
}