git: 66e798213400 - main - graphics/py-imageio: Update to 2.36.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 22 Oct 2024 09:56:47 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=66e7982134003d3728cd8194684004783e83ecd5

commit 66e7982134003d3728cd8194684004783e83ecd5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-22 09:48:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-22 09:48:48 +0000

    graphics/py-imageio: Update to 2.36.0
    
    Changes:        https://github.com/imageio/imageio/releases
---
 graphics/py-imageio/Makefile             |  4 ++--
 graphics/py-imageio/distinfo             |  6 +++---
 graphics/py-imageio/files/patch-setup.py | 18 +++++++++---------
 3 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/graphics/py-imageio/Makefile b/graphics/py-imageio/Makefile
index 17af0c6b5b67..b0dbb976d266 100644
--- a/graphics/py-imageio/Makefile
+++ b/graphics/py-imageio/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	imageio
-PORTVERSION=	2.35.1
+PORTVERSION=	2.36.0
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI \
 		https://github.com/imageio/imageio/releases/download/v${PORTVERSION}/
@@ -28,7 +28,7 @@ TEST_DEPENDS=	opencv>=0:graphics/opencv \
 # devel/py-fsspec[github]
 TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.9+
 USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
diff --git a/graphics/py-imageio/distinfo b/graphics/py-imageio/distinfo
index fc9ca2f62240..ca387d32df71 100644
--- a/graphics/py-imageio/distinfo
+++ b/graphics/py-imageio/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1726081037
-SHA256 (imageio-2.35.1.tar.gz) = 4952dfeef3c3947957f6d5dedb1f4ca31c6e509a476891062396834048aeed2a
-SIZE (imageio-2.35.1.tar.gz) = 389686
+TIMESTAMP = 1729509160
+SHA256 (imageio-2.36.0.tar.gz) = 1c8f294db862c256e9562354d65aa54725b8dafed7f10f02bb3ec20ec1678850
+SIZE (imageio-2.36.0.tar.gz) = 389492
diff --git a/graphics/py-imageio/files/patch-setup.py b/graphics/py-imageio/files/patch-setup.py
index 795ebaad2833..bab5ba4a6a6f 100644
--- a/graphics/py-imageio/files/patch-setup.py
+++ b/graphics/py-imageio/files/patch-setup.py
@@ -1,11 +1,11 @@
---- setup.py.orig	2024-08-13 04:41:56 UTC
+--- setup.py.orig	2024-10-14 02:48:52 UTC
 +++ setup.py
-@@ -117,7 +117,7 @@ extras_require = {
-     # TODO: move this to cpython_only_plugins when python 3.8 support is dropped
-     "rawpy": [
-         "rawpy",
--        "numpy>2",
-+        "numpy",
-     ],  # rawpy doesn't support python 3.8 (due to numpy > 2 requirement)
-     "pillow-heif": ["pillow-heif"],  # pillow-heif doesn#t support py3.8 on MacOS ARM
+@@ -104,7 +104,7 @@ cpython_only_plugins = {
+ 
+ cpython_only_plugins = {
+     "fits": ["astropy"],
+-    "rawpy": ["rawpy", "numpy>2"],
++    "rawpy": ["rawpy", "numpy"],
  }
+ 
+ extras_require = {