summaryrefslogtreecommitdiff
path: root/graphics/py-imagecodecs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-imagecodecs')
-rw-r--r--graphics/py-imagecodecs/Makefile6
-rw-r--r--graphics/py-imagecodecs/distinfo6
-rw-r--r--graphics/py-imagecodecs/files/patch-pyproject.toml11
3 files changed, 17 insertions, 6 deletions
diff --git a/graphics/py-imagecodecs/Makefile b/graphics/py-imagecodecs/Makefile
index efcb1b1d7057..08b8393b808c 100644
--- a/graphics/py-imagecodecs/Makefile
+++ b/graphics/py-imagecodecs/Makefile
@@ -1,6 +1,5 @@
PORTNAME= imagecodecs
-PORTVERSION= 2024.12.30
-PORTREVISION= 3
+PORTVERSION= 2025.11.11
CATEGORIES= graphics python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -45,11 +44,12 @@ LIB_DEPENDS= libaec.so:science/libaec \
libzstd.so:archivers/zstd
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
-USES= jpeg localbase python
+USES= jpeg localbase python:3.11+
USE_PYTHON= autoplist concurrent cython3 pep517
CPPFLAGS+= -I${LOCALBASE}/include/jxrlib \
-I${LOCALBASE}/include/openjpeg-2.5
+MAKE_ENV= CG_LIMITED_API=0
OPTIONS_DEFINE= ALL
ALL_DESC= All optional dependencies
diff --git a/graphics/py-imagecodecs/distinfo b/graphics/py-imagecodecs/distinfo
index 6abcefc9f7a8..266abdca1269 100644
--- a/graphics/py-imagecodecs/distinfo
+++ b/graphics/py-imagecodecs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1738089098
-SHA256 (imagecodecs-2024.12.30.tar.gz) = 4c88f745719313cabea6dd5f1e69c9f93346de91c0f1e770eb969f2232247f21
-SIZE (imagecodecs-2024.12.30.tar.gz) = 9502615
+TIMESTAMP = 1766036491
+SHA256 (imagecodecs-2025.11.11.tar.gz) = a836d329f91c890d17b9dc3f3a2bba944a198ae741592c3cb0c4b9b097d10d34
+SIZE (imagecodecs-2025.11.11.tar.gz) = 9505589
diff --git a/graphics/py-imagecodecs/files/patch-pyproject.toml b/graphics/py-imagecodecs/files/patch-pyproject.toml
new file mode 100644
index 000000000000..14157007cfc6
--- /dev/null
+++ b/graphics/py-imagecodecs/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2025-11-06 23:45:43 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@
+ # imagecodecs/pyproject.toml
+
+ [build-system]
+-requires = ["setuptools", "numpy>=2", "Cython>=3.2"]
++requires = ["setuptools", "numpy", "Cython>=3.2"]
+ build-backend = "setuptools.build_meta"
+
+ [tool.black]