freebsd-ports/devel/py-cson/Makefile
Dmitry Marakasov 32a43c917c devel/py-cson: fix test dependency
Approved by:	portmgr blanket
2022-04-07 21:59:34 +03:00

24 lines
583 B
Makefile

PORTNAME= cson
DISTVERSION= 0.8
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Coffescript Object Notation (CSON) parser for Python 2 and Python 3
LICENSE= MIT
RUN_DEPENDS= ${PKGNAMEPREFIX}speg>=0.3:devel/py-speg@${PY_FLAVOR}
TEST_DEPENDS= ${PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PKGNAMEPREFIX}speg>=0.3:devel/py-speg@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest test
.include <bsd.port.mk>