summaryrefslogtreecommitdiff
path: root/devel/py-ijson
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-ijson')
-rw-r--r--devel/py-ijson/Makefile6
-rw-r--r--devel/py-ijson/distinfo6
-rw-r--r--devel/py-ijson/files/patch-pyproject.toml15
3 files changed, 22 insertions, 5 deletions
diff --git a/devel/py-ijson/Makefile b/devel/py-ijson/Makefile
index b3c724358d47..ba6d6680ed3d 100644
--- a/devel/py-ijson/Makefile
+++ b/devel/py-ijson/Makefile
@@ -1,5 +1,5 @@
PORTNAME= ijson
-PORTVERSION= 3.3.0
+PORTVERSION= 3.4.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +11,14 @@ WWW= https://github.com/ICRAR/ijson
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
+MAKE_ENV= IJSON_EMBED_YAJL='0'
+
OPTIONS_DEFINE= YAJL
YAJL_DESC= Enable yajl2_c backend
diff --git a/devel/py-ijson/distinfo b/devel/py-ijson/distinfo
index 86258ed2c39d..e4ebfed37370 100644
--- a/devel/py-ijson/distinfo
+++ b/devel/py-ijson/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718580088
-SHA256 (ijson-3.3.0.tar.gz) = 7f172e6ba1bee0d4c8f8ebd639577bfe429dee0f3f96775a067b8bae4492d8a0
-SIZE (ijson-3.3.0.tar.gz) = 60079
+TIMESTAMP = 1747546508
+SHA256 (ijson-3.4.0.tar.gz) = 5f74dcbad9d592c428d3ca3957f7115a42689ee7ee941458860900236ae9bb13
+SIZE (ijson-3.4.0.tar.gz) = 65782
diff --git a/devel/py-ijson/files/patch-pyproject.toml b/devel/py-ijson/files/patch-pyproject.toml
new file mode 100644
index 000000000000..51a03bfa98d3
--- /dev/null
+++ b/devel/py-ijson/files/patch-pyproject.toml
@@ -0,0 +1,15 @@
+--- pyproject.toml.orig 2025-05-08 01:39:38 UTC
++++ pyproject.toml
+@@ -1,10 +1,10 @@ build-backend = "setuptools.build_meta"
+ [build-system]
+ build-backend = "setuptools.build_meta"
+-requires = ["setuptools>=77.0"]
++requires = ["setuptools>=61.0"]
+
+ [project]
+ name = "ijson"
+-license = "BSD-3-Clause AND ISC"
++license = { text = "BSD-3-Clause AND ISC" }
+ description = "Iterative JSON parser with standard Python iterator interfaces"
+ readme = "README.rst"
+ authors = [