git: a64c66afc407 - main - graphics/py-rasterio: Remove cython hack

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 26 Jun 2025 17:30:25 UTC
The branch main has been updated by sunpoet:

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

commit a64c66afc4070ec10745cf99bd8371480aaee5d6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-26 17:28:16 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-26 17:30:02 +0000

    graphics/py-rasterio: Remove cython hack
    
    - Bump PORTREVISION for potential package change
---
 graphics/py-rasterio/Makefile                   | 4 ++--
 graphics/py-rasterio/files/patch-pyproject.toml | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/graphics/py-rasterio/Makefile b/graphics/py-rasterio/Makefile
index 537d810c3488..47404cbbfd52 100644
--- a/graphics/py-rasterio/Makefile
+++ b/graphics/py-rasterio/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	rasterio
 PORTVERSION=	1.3.11
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -28,7 +28,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}affine>=0:math/py-affine@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}snuggs>=1.4.1:math/py-snuggs@${PY_FLAVOR}
 
 USES=		compiler:c++11-lang python
-USE_PYTHON=	autoplist concurrent cython pep517
+USE_PYTHON=	autoplist concurrent cython3 pep517
 
 OPTIONS_DEFINE=	PLOT S3
 PLOT_DESC=	Plotting support
diff --git a/graphics/py-rasterio/files/patch-pyproject.toml b/graphics/py-rasterio/files/patch-pyproject.toml
index 3158f30c006e..59c5ffbafb21 100644
--- a/graphics/py-rasterio/files/patch-pyproject.toml
+++ b/graphics/py-rasterio/files/patch-pyproject.toml
@@ -9,7 +9,7 @@
 -    "cython~=3.0.2",
 -    "numpy>=2.0.0,<3.0; python_version >= '3.9'",
 -    "oldest-supported-numpy; python_version < '3.9'"
-+    "cython",
++    "cython>=3.0.2",
 +    "numpy",
  ]