New package: python-cached-property-1.3.0
This commit is contained in:
parent
57b0e17929
commit
24df711b82
33
srcpkgs/python-cached-property/template
Normal file
33
srcpkgs/python-cached-property/template
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Template file for 'python-cached-property'
|
||||||
|
pkgname=python-cached-property
|
||||||
|
version=1.3.0
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="cached-property-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
hostmakedepends="python-setuptools python3.4-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="3-clause-BSD"
|
||||||
|
distfiles="${PYPI_SITE}/c/cached-property/cached-property-${version}.tar.gz"
|
||||||
|
checksum=458e78b1c7286ece887d92c9bee829da85717994c5e3ddd253a40467f488bc81
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-cached-property_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="cached_property.py"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-cached-property
Symbolic link
1
srcpkgs/python3.4-cached-property
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
python-cached-property
|
Loading…
x
Reference in New Issue
Block a user