summaryrefslogtreecommitdiff
path: root/devel/py-cson/Makefile
blob: 52f40b96d489d051c986b30e22da57a5e77f5c2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

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:devel/py-pytest@${PY_FLAVOR} \
		${PKGNAMEPREFIX}speg>=0.3:devel/py-speg@${PY_FLAVOR}

USES=		python:3.6+
USE_PYTHON=	autoplist distutils

do-test:
	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest test

.include <bsd.port.mk>