danj 1fe0115dc0 Import py-cached-property-1.4.3 from semarie, ok sthen
A decorator for caching properties in classes.

Why ?

- Makes caching of time or computational expensive properties quick and easy.
- Because I got tired of copy/pasting this code from non-web project to non-web
  project.
- I needed something really simple that worked in Python 2 and 3.
2018-08-16 18:25:10 +00:00

27 lines
526 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2018/08/16 18:25:10 danj Exp $
COMMENT = decorator for caching properties in classes
MODPY_EGG_VERSION = 1.4.3
DISTNAME = cached-property-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
MAINTAINER = Sebastien Marie <semarie@online.fr>
# BSD
PERMIT_PACKAGE_CDROM= Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?=
TEST_DEPENDS += devel/py-freezegun${MODPY_FLAVOR} \
devel/py-dateutil${MODPY_FLAVOR}
.include <bsd.port.mk>