freebsd-ports/textproc/py-parsimonious/Makefile
Danilo G. Baio 72240e204b textproc/py-parsimonious: Update to 0.8.1, Add test target
- Switch to a function-style print in the benchmark tests so we work
    cleanly as a dependency on Python 3. (Edward Betts)
2018-06-23 12:44:51 +00:00

26 lines
570 B
Makefile

# $FreeBSD$
PORTNAME= parsimonious
PORTVERSION= 0.8.1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dbaio@FreeBSD.org
COMMENT= PEGs based parser in Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>