freebsd-ports/devel/py-backports.cached-property/Makefile
Po-Chuan Hsieh 54e8cf9f32
devel/py-backports.cached-property: Add py-backports.cached-property 1.0.1
Python 3.8 adds great descriptor to functools: cached_property. Technically all
required APIs was available since python 3.6, but it is what it is.

This package is a backport of this functionality for python 3.6 and 3.7.

WWW: https://github.com/penguinolog/backports.cached_property
2021-10-13 13:33:57 +08:00

22 lines
549 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= backports.cached-property
PORTVERSION= 1.0.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= cached_property() - computed once per instance, cached as attribute
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>