summaryrefslogtreecommitdiff
path: root/textproc/py-json-repair
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--textproc/py-json-repair/Makefile11
-rw-r--r--textproc/py-json-repair/distinfo6
-rw-r--r--textproc/py-json-repair/files/patch-pyproject.toml6
3 files changed, 15 insertions, 8 deletions
diff --git a/textproc/py-json-repair/Makefile b/textproc/py-json-repair/Makefile
index 5d61179ad4de..8a3e023f6f29 100644
--- a/textproc/py-json-repair/Makefile
+++ b/textproc/py-json-repair/Makefile
@@ -1,7 +1,8 @@
PORTNAME= json-repair
-DISTVERSION= 0.50.0
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.50.1
CATEGORIES= textproc python
-MASTER_SITES= PYPI
+#MASTER_SITES= PYPI # missing file for tests
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
@@ -14,12 +15,18 @@ 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.50.0: 3 failed, 94 passed, 4 errors in 7.12s, see https://github.com/mangiucugna/json_repair/issues/147
+# tests as of 0.50.1: 8 failed, 24 passed in 18.04s
.include <bsd.port.mk>
diff --git a/textproc/py-json-repair/distinfo b/textproc/py-json-repair/distinfo
index 7349e6e3c8d5..22210478ad38 100644
--- a/textproc/py-json-repair/distinfo
+++ b/textproc/py-json-repair/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1756617943
-SHA256 (json_repair-0.50.0.tar.gz) = 1d42a3f353e389cf6051941b45fa44b6d130af3c91406a749e88586d830adb89
-SIZE (json_repair-0.50.0.tar.gz) = 34815
+TIMESTAMP = 1757284136
+SHA256 (mangiucugna-json_repair-v0.50.1_GH0.tar.gz) = 0b6eb0d5d26c5f817938912684843150efa85c38896fdbc2edfe9c7f11752829
+SIZE (mangiucugna-json_repair-v0.50.1_GH0.tar.gz) = 2513812
diff --git a/textproc/py-json-repair/files/patch-pyproject.toml b/textproc/py-json-repair/files/patch-pyproject.toml
index fc5dd52bcba2..f6e5bac5c774 100644
--- a/textproc/py-json-repair/files/patch-pyproject.toml
+++ b/textproc/py-json-repair/files/patch-pyproject.toml
@@ -1,9 +1,9 @@
---- pyproject.toml.orig 2025-08-31 06:16:42 UTC
+--- pyproject.toml.orig 2025-09-07 22:29:05 UTC
+++ pyproject.toml
-@@ -4,8 +4,6 @@ version = "0.50.0"
+@@ -4,8 +4,6 @@ version = "0.50.1"
[project]
name = "json_repair"
- version = "0.50.0"
+ version = "0.50.1"
-license = "MIT"
-license-files = ["LICENSE"]
authors = [