freebsd-ports/devel/py-attrs/Makefile
Sunpoet Po-Chuan Hsieh 27a621f3fb Update to 18.2.0
Changes:	https://github.com/python-attrs/attrs/blob/master/CHANGELOG.rst
PR:		231386
Submitted by:	Axel Rau <axel.rau@chaos1.de> (maintainer)
2018-09-16 00:08:28 +00:00

30 lines
897 B
Makefile

# Created by: Axel Rau <axel.rau@chaos1.de>
# $FreeBSD$
PORTNAME= attrs
PORTVERSION= 18.2.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= axel.rau@chaos1.de
COMMENT= Python attributes without boilerplate
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>0:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Pympler>0:devel/py-pympler@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>0:devel/py-zope.interface@${PY_FLAVOR}
NO_ARCH= yes
USES= python
USE_PYTHON= autoplist distutils
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
.include <bsd.port.mk>