diff --git a/graphics/py-rasterio/Makefile b/graphics/py-rasterio/Makefile index 3ecfdd34db67..1bcc19021fcd 100644 --- a/graphics/py-rasterio/Makefile +++ b/graphics/py-rasterio/Makefile @@ -1,41 +1,41 @@ PORTNAME= rasterio PORTVERSION= 1.5.0 PORTREVISION= 5 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast and direct raster I/O for use with NumPy WWW= https://rasterio.readthedocs.io/en/stable/ \ https://github.com/rasterio/rasterio LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2,1<3,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libgdal.so:graphics/gdal RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}affine>=0:math/py-affine@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}click>=4.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cligj>=0.5:devel/py-cligj@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}numpy>=2,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR} -USES= compiler:c++11-lang python:3.11+ +USES= compiler:c++11-lang python:3.12+ USE_PYTHON= autoplist concurrent cython pep517 OPTIONS_DEFINE= PLOT S3 PLOT_DESC= Plotting support S3_DESC= Amazon S3 support PLOT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} S3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto3>=1.2.4:www/py-boto3@${PY_FLAVOR} post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/graphics/py-rasterio/files/patch-pyproject.toml b/graphics/py-rasterio/files/patch-pyproject.toml index 9c2b411c9530..5061f5135d99 100644 --- a/graphics/py-rasterio/files/patch-pyproject.toml +++ b/graphics/py-rasterio/files/patch-pyproject.toml @@ -1,31 +1,22 @@ --- pyproject.toml.orig 2026-01-05 14:22:45 UTC +++ pyproject.toml @@ -1,7 +1,7 @@ requires = [ [build-system] requires = [ - "setuptools>=77.0.3", - "cython>=3.1,<=3.2", + "setuptools>=61", + "cython>=3.1", "numpy>=2,<3", ] build-backend = "setuptools.build_meta" @@ -18,8 +18,7 @@ keywords = ["gis", "raster", "gdal"] description = "Fast and direct raster I/O for use with NumPy" readme = "README.rst" keywords = ["gis", "raster", "gdal"] -license = "BSD-3-Clause" -license-files = ["LICENSE.txt", "AUTHORS.txt"] +license = {text = "BSD-3-Clause"} classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", -@@ -34,7 +33,7 @@ classifiers = [ - "Topic :: Multimedia :: Graphics :: Graphics Conversion", - "Topic :: Scientific/Engineering :: GIS", - ] --requires-python = ">=3.12" -+requires-python = ">=3.11" - dependencies = [ - "affine", - "attrs",