diff --git a/textproc/py-json-repair/Makefile b/textproc/py-json-repair/Makefile index 216632212074..40d1d82c03ee 100644 --- a/textproc/py-json-repair/Makefile +++ b/textproc/py-json-repair/Makefile @@ -1,32 +1,33 @@ PORTNAME= json-repair DISTVERSIONPREFIX= v -DISTVERSION= 0.60.1 +DISTVERSION= 0.61.1 CATEGORIES= textproc python #MASTER_SITES= PYPI # missing file for tests PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Package to repair broken json strings WWW= https://github.com/mangiucugna/json_repair/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0.44.0:devel/py-wheel@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-benchmark>0:devel/py-pytest-benchmark@${PY_FLAVOR} USES= python USE_PYTHON= pep517 autoplist pytest USE_GITHUB= yes GH_ACCOUNT= mangiucugna GH_PROJECT= ${PORTNAME:S/-/_/} NO_ARCH= yes -# tests as of 0.59.10: 265 passed -# tests as of 0.60.1: 6 failed, 272 passed, 1 skipped in 24.94s, see https://github.com/mangiucugna/json_repair/issues/199 +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +# tests as of 0.61.1: 299 passed in 11.09s .include diff --git a/textproc/py-json-repair/distinfo b/textproc/py-json-repair/distinfo index 4f6aa53403ef..b16c1654ffb3 100644 --- a/textproc/py-json-repair/distinfo +++ b/textproc/py-json-repair/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1780557063 -SHA256 (mangiucugna-json_repair-v0.60.1_GH0.tar.gz) = d9fac7f0846fa675df10afd795513cd1f26aa03df3dd77a275452ebc404635d3 -SIZE (mangiucugna-json_repair-v0.60.1_GH0.tar.gz) = 2565209 +TIMESTAMP = 1782800546 +SHA256 (mangiucugna-json_repair-v0.61.1_GH0.tar.gz) = c286bad98bef2ba8efa3c07cd4acc7e5b7f00741d8ada3d5dc4c1312e2f05fda +SIZE (mangiucugna-json_repair-v0.61.1_GH0.tar.gz) = 2563279 diff --git a/textproc/py-json-repair/files/patch-pyproject.toml b/textproc/py-json-repair/files/patch-pyproject.toml index 65c6b69bcf97..38c71044cfab 100644 --- a/textproc/py-json-repair/files/patch-pyproject.toml +++ b/textproc/py-json-repair/files/patch-pyproject.toml @@ -1,14 +1,14 @@ -- Remove license fields from pyproject.toml as they are currently in an invalid format -- for newer setuptools, which causes the build to fail. ---- pyproject.toml.orig 2026-06-03 17:25:43 UTC +--- pyproject.toml.orig 2026-06-29 12:07:41 UTC +++ pyproject.toml -@@ -4,8 +4,6 @@ version = "0.60.1" +@@ -4,8 +4,6 @@ version = "0.61.1" [project] name = "json_repair" - version = "0.60.1" + version = "0.61.1" -license = "MIT" -license-files = ["LICENSE"] authors = [ { name="Stefano Baccianella", email="4247706+mangiucugna@users.noreply.github.com" }, ]