34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'python-lazy-object-proxy'
|
|
pkgname=python-lazy-object-proxy
|
|
version=1.3.1
|
|
revision=1
|
|
wrksrc="lazy-object-proxy-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="python-devel python3-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=eb91be369f945f10d3a49f5f9be8b3d0b93a4c2be8f8a5b83b0571b8123e0a7a
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-lazy-object-proxy_package() {
|
|
pycompile_module="lazy_object_proxy"
|
|
replaces="python3.4-lazy-object-proxy>=0"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|
|
python3.4-lazy-object-proxy_package() {
|
|
build_style=meta
|
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
|
depends="python3-lazy-object-proxy>=${version}_${revision}"
|
|
}
|