ports/devel/py-jsonpatch/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

24 lines
511 B
Makefile

# $FreeBSD$
PORTNAME= jsonpatch
DISTVERSION= 1.21
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= harm@weites.com
COMMENT= Apply JSON-Patches (RFC 6902)
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonpointer>0:devel/py-jsonpointer@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
do-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} tests.py
@cd ${WRKSRC} && ${PYTHON_CMD} ext_tests.py
.include <bsd.port.mk>