1. we have numpy2 now, so remove the local patch.

2. snuggs has been vendored, remove the RDEP (and that would allow us to 
   remove math/py-snuggs as well).

3. no BDEP on oldest-supported-numpy anymore

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/geo/py-rasterio/Makefile,v
diff -u -p -u -r1.34 Makefile
--- Makefile    29 Apr 2025 10:38:36 -0000      1.34
+++ Makefile    18 May 2025 16:44:49 -0000
@@ -1,9 +1,9 @@
 COMMENT =      geospatial raster data API and CLI
 
 MODPY_DISTV =  1.4.3
-REVISION =     0
 DISTNAME =     rasterio-${MODPY_DISTV}
 PKGNAME =      py-${DISTNAME}
+REVISION =     1
 
 CATEGORIES =   geo
 
@@ -26,8 +26,7 @@ LIB_DEPENDS = geo/gdal
 WANTLIB +=     ${COMPILER_LIBCXX} gdal m
 
 BUILD_DEPENDS +=       lang/cython \
-                       math/py-numpy \
-                       math/py-oldest-supported-numpy
+                       math/py-numpy
 
 RUN_DEPENDS =  geo/py-cligj>=0.5 \
                net/py-boto3 \
@@ -35,7 +34,6 @@ RUN_DEPENDS = geo/py-cligj>=0.5 \
                devel/py-click \
                devel/py-click-plugins \
                math/py-numpy \
-               math/py-snuggs \
                math/py-affine
 
 # test_read_no_band requires hdf5 support in GDAL
Index: patches/patch-pyproject_toml
===================================================================
RCS file: patches/patch-pyproject_toml
diff -N patches/patch-pyproject_toml
--- patches/patch-pyproject_toml        15 Apr 2025 07:07:37 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-loosen requirement on numpy2, setup.py still only requires 1.24 ?
-https://github.com/rasterio/rasterio/issues/3326
-
-Index: pyproject.toml
---- pyproject.toml.orig
-+++ pyproject.toml
-@@ -3,7 +3,7 @@ requires = [
-     "setuptools>=67.8",
-     "wheel",
-     "cython~=3.0.2",
--    "numpy>=2"
-+    "numpy>=1.24"
- ]
- build-backend = "setuptools.build_meta"
- 

Reply via email to