Index: devel/py-pyjq/Makefile =================================================================== --- /dev/null +++ devel/py-pyjq/Makefile @@ -0,0 +1,35 @@ +# Created by: Gilbert Morgan +# $FreeBSD$ +# + +PORTNAME= pyjq +PORTVERSION= 2.4.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dvl@FreeBSD.org +COMMENT= Python binding for jq + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python autoreconf:build libtool pkgconfig +USE_PYTHON= autoplist distutils + +#BUILD_DEPENDS+= git:devel/git + +BUILD_DEPENDS+= jq>0:textproc/jq +BUILD_DEPENDS+= oniguruma>0:devel/oniguruma + +RUN_DEPENDS+= jq>0:textproc/jq +RUN_DEPENDS+= oniguruma>0:devel/oniguruma +#RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pipenv>0:devel/py-pipenv@${PY_FLAVOR} + +post-patch: + @${RM} -r ${WRKSRC}/dependencies + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python3.6/site-packages/_pyjq.so + +.include Index: devel/py-pyjq/distinfo =================================================================== --- /dev/null +++ devel/py-pyjq/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1573147120 +SHA256 (pyjq-2.4.0.tar.gz) = 651f7a3ab2087e7c69cf00f1ba5433d7afe7b72f4ff499dcaf9c86cb1c2ae3c1 +SIZE (pyjq-2.4.0.tar.gz) = 2033014 Index: devel/py-pyjq/pkg-descr =================================================================== --- /dev/null +++ devel/py-pyjq/pkg-descr @@ -0,0 +1,15 @@ +pyjq is a Python bindings for jq (http://stedolan.github.io/jq/). + + jq is like sed for JSON data - you can use it to slice and filter and map + and transform structured data with the same ease that sed, awk, grep and + friends let you play with text. + + http://stedolan.github.io/jq/ + +You can seamlessly call jq script (like regular expression) and process a plain +python data structure. + +For your information, https://pypi.python.org/pypi/jq is a also jq bindings but +different and incompatible with pyjq. + +WWW: https://github.com/doloopwhile/pyjq