31 lines
880 B
Bash
31 lines
880 B
Bash
# Template file for 'python-cached-property'
|
|
pkgname=python-cached-property
|
|
version=1.4.2
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="cached-property-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
pycompile_module="cached_property.py"
|
|
short_desc="Decorator for caching properties in classes (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/pydanny/cached-property"
|
|
license="BSD-3-Clause"
|
|
distfiles="${PYPI_SITE}/c/cached-property/cached-property-${version}.tar.gz"
|
|
checksum=bf093e640b7294303c7cc7ba3212f00b7a07d0416c1d923465995c9ef860a139
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-cached-property_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="cached_property.py"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|