Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -4704,6 +4704,7 @@ SUBDIR += py-comm SUBDIR += py-commandlines SUBDIR += py-commentjson + SUBDIR += py-condense_json SUBDIR += py-conditional SUBDIR += py-confection SUBDIR += py-configargparse Index: devel/py-condense_json/Makefile =================================================================== --- /dev/null +++ devel/py-condense_json/Makefile @@ -0,0 +1,22 @@ +PORTNAME= condense_json +DISTVERSION= 0.1.3 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dch@FreeBSD.org +COMMENT= Python function for condensing JSON using replacement strings +WWW= https://github.com/simonw/condense-json + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES= python shebangfix +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include Index: devel/py-condense_json/distinfo =================================================================== --- /dev/null +++ devel/py-condense_json/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1749504814 +SHA256 (condense_json-0.1.3.tar.gz) = 25fe8d434fdafd849e8d98f21a3e18f96ae2d6dbc2c17565f29e4843d039d2bc +SIZE (condense_json-0.1.3.tar.gz) = 8697 Index: devel/py-condense_json/pkg-descr =================================================================== --- /dev/null +++ devel/py-condense_json/pkg-descr @@ -0,0 +1,6 @@ +condense-json is a Python library that provides functionality for condensing +JSON data using replacement strings. It helps reduce the size of JSON output +by replacing repeated patterns with shorter representations. + +This can be useful for generating more compact JSON output while maintaining +the ability to expand it back to its original form when needed.