freebsd-ports/devel/py-cson/Makefile
Dmitry Marakasov 77d68471ad */*: rename CHEESESHOP to PYPI in MASTER_SITES
PR:			267994
Differential revision:	D37518
Approved by:		bapt
2023-01-11 18:58:34 +03:00

26 lines
616 B
Makefile

PORTNAME= cson
DISTVERSION= 0.8
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Coffescript Object Notation (CSON) parser for Python 2 and Python 3
WWW= https://github.com/avakar/pycson
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>