aboutsummaryrefslogtreecommitdiff
path: root/devel/py-cson/Makefile
blob: 63b35a543cfb29f39b2adb0916742ffa2b9dc60e (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
USE_PYTHON=	autoplist distutils

NO_ARCH=	yes

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

.include <bsd.port.mk>