freebsd-ports/devel/py-decorator/Makefile

27 lines
638 B
Makefile

PORTNAME= decorator
PORTVERSION= 5.2.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Decorators for Humans
WWW= https://github.com/micheles/decorator
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= cpe python
USE_PYTHON= autoplist concurrent pep517 unittest
NO_ARCH= yes
TEST_ARGS= discover -s tests
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
CPE_VENDOR= python
.include <bsd.port.mk>