freebsd-ports/devel/py-tree-format/Makefile
Antoine Brodin aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00

27 lines
606 B
Makefile

# $FreeBSD$
PORTNAME= tree-format
PORTVERSION= 0.1.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= matthew@FreeBSD.org
COMMENT= Generate nicely formatted trees
LICENSE= APACHE20
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}testtools>0:devel/py-testtools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
do-test:
cd ${WRKSRC} && \
${PYTHON_CMD} setup.py --version && \
${PYTHON_CMD} -m unittest discover tree_format.tests
.include <bsd.port.mk>