diff options
Diffstat (limited to 'graphics/py-rasterio')
-rw-r--r-- | graphics/py-rasterio/Makefile | 7 | ||||
-rw-r--r-- | graphics/py-rasterio/files/patch-pyproject.toml | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/graphics/py-rasterio/Makefile b/graphics/py-rasterio/Makefile index 4b04b16f74ef..47404cbbfd52 100644 --- a/graphics/py-rasterio/Makefile +++ b/graphics/py-rasterio/Makefile @@ -1,5 +1,6 @@ PORTNAME= rasterio PORTVERSION= 1.3.11 +PORTREVISION= 2 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,8 +17,8 @@ BUILD_DEPENDS= gdal>=3.1:graphics/gdal \ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= gdal>=3.1:graphics/gdal \ - ${PYTHON_PKGNAMEPREFIX}affine>=0:math/py-affine@${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} \ @@ -27,7 +28,7 @@ RUN_DEPENDS= gdal>=3.1:graphics/gdal \ ${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", ] |