mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
[NEW] devel/py-lazy: Lazy attributes for Python objects
The lazy module provides a decorator to create lazy attributes. A lazy attribute is a computed attribute that is evaluated only once, the first time it is used. Subsequent uses return the results of the first call. WWW: https://pypi.python.org/pypi/lazy
This commit is contained in:
parent
a1fdc932e4
commit
f45ac5f904
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361024
@ -3704,6 +3704,7 @@
|
||||
SUBDIR += py-kjbuckets
|
||||
SUBDIR += py-kqueue
|
||||
SUBDIR += py-krosspython
|
||||
SUBDIR += py-lazy
|
||||
SUBDIR += py-levenshtein
|
||||
SUBDIR += py-liblarch
|
||||
SUBDIR += py-libplist
|
||||
|
21
devel/py-lazy/Makefile
Normal file
21
devel/py-lazy/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= lazy
|
||||
PORTVERSION= 1.2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= koobs@FreeBSD.org
|
||||
COMMENT= Lazy attributes for Python objects
|
||||
|
||||
USES= zip
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
regression-test: build
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-lazy/distinfo
Normal file
2
devel/py-lazy/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (lazy-1.2.zip) = 127ea610418057b953f0d102bed83f2c367be13b59f8d0ddf3b8a86c7d31b970
|
||||
SIZE (lazy-1.2.zip) = 14380
|
5
devel/py-lazy/pkg-descr
Normal file
5
devel/py-lazy/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
The lazy module provides a decorator to create lazy attributes. A lazy
|
||||
attribute is a computed attribute that is evaluated only once, the first
|
||||
time it is used. Subsequent uses return the results of the first call.
|
||||
|
||||
WWW: https://pypi.python.org/pypi/lazy
|
Loading…
Reference in New Issue
Block a user