blob: 25c11d412ef5b4c998de7fedbc0bc3bd8b2416e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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>
|