# Template file for 'python-lazy-object-proxy'
pkgname=python-lazy-object-proxy
version=1.4.3
revision=2
wrksrc="lazy-object-proxy-${version}"
build_style=python-module
pycompile_module="lazy_object_proxy"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel"
short_desc="Fast and thorough lazy object proxy (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/ionelmc/python-lazy-object-proxy"
distfiles="${PYPI_SITE}/l/lazy-object-proxy/lazy-object-proxy-${version}.tar.gz"
checksum=f3900e8a5de27447acbf900b4750b0ddfd7ec1ea7fbaf11dfa911141bc522af0

post_install() {
	vlicense LICENSE
}

python3-lazy-object-proxy_package() {
	pycompile_module="lazy_object_proxy"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
		vlicense LICENSE
	}
}
