ports/devel/py-tree-format/Makefile
Matthew Seaman 25df5fe946 Fix the do-test target: tox is fine for manual testing but doesn't
integrate well with poudriere.

Reported by:	koobs
2018-09-21 12:45:14 +00:00

27 lines
601 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
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>