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

31 lines
933 B
Bash
Raw Normal View History

# Template file for 'python-lazy-object-proxy'
pkgname=python-lazy-object-proxy
version=1.2.1
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=22ed751a2c63c6cf718674fd7461b1dfc45215bab4751ca32b6c9b8cb2734cb3
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
}
}