freebsd-ports/devel/py-pyjq/Makefile
Dmitry Marakasov ba87d25786 devel/py-pyjq: limit supported python versions
_pyjq.c:3707:5: error: expression is not assignable
    ++Py_REFCNT(o);

Approved by:	portmgr blanket
2021-11-01 18:28:25 +03:00

25 lines
509 B
Makefile

PORTNAME= pyjq
PORTVERSION= 2.4.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gmm@tutanota.com
COMMENT= Python binding for jq
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libjq.so:textproc/jq \
libonig.so:devel/oniguruma
USES= localbase python:3.6-3.9
USE_PYTHON= autoplist distutils
post-patch:
@${RM} -r ${WRKSRC}/dependencies
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_pyjq*.so
.include <bsd.port.mk>