devel/py-property-cached: New port: Decorator for caching properties in classes
This commit is contained in:
parent
fecf7d13ac
commit
e9c2fa18e8
4 changed files with 27 additions and 0 deletions
|
@ -5032,6 +5032,7 @@
|
|||
SUBDIR += py-prompt-toolkit
|
||||
SUBDIR += py-prompt-toolkit1
|
||||
SUBDIR += py-prompt-toolkit2
|
||||
SUBDIR += py-property-cached
|
||||
SUBDIR += py-proselint
|
||||
SUBDIR += py-proto-plus
|
||||
SUBDIR += py-protobuf
|
||||
|
|
19
devel/py-property-cached/Makefile
Normal file
19
devel/py-property-cached/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
|||
PORTNAME= property-cached
|
||||
PORTVERSION= 1.6.4
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Decorator for caching properties in classes
|
||||
WWW= https://github.com/althonos/property-cached/
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= python:3.5+ zip
|
||||
USE_PYTHON= distutils autoplist pytest # 1 test fails, see https://github.com/pydanny/cached-property/pull/294
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-property-cached/distinfo
Normal file
3
devel/py-property-cached/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1672086239
|
||||
SHA256 (property-cached-1.6.4.zip) = 3e9c4ef1ed3653909147510481d7df62a3cfb483461a6986a6f1dcd09b2ebb73
|
||||
SIZE (property-cached-1.6.4.zip) = 23539
|
4
devel/py-property-cached/pkg-descr
Normal file
4
devel/py-property-cached/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
cached-property is a decorator for caching properties in classes. It makes
|
||||
caching of time or computational expensive properties quick and easy.
|
||||
|
||||
cached-property is forked from cached-property.
|
Loading…
Reference in a new issue