freebsd-ports/devel/py-black/Makefile
Dmitry Marakasov 872925c15a - Update to 19.3b0
PR:		236672
Approved by:	maintainer timeout (neel@neelc.org, 3 weeks)
2019-04-09 15:44:52 +00:00

27 lines
686 B
Makefile

# $FreeBSD$
PORTNAME= black
DISTVERSION= 19.3b0
CATEGORIES= devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= neel@neelc.org
COMMENT= Python code formatter
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=18.1.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}click>=6.5:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toml>=0.9.4:textproc/py-toml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}appdirs>=0:devel/py-appdirs@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist concurrent
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>