1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

graphics/py-rasterio: Update to 1.3.10

Changes:	https://github.com/rasterio/rasterio/releases
This commit is contained in:
Po-Chuan Hsieh 2024-04-13 19:57:28 +08:00
parent 3e7557533c
commit b06d7d6b1e
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
3 changed files with 31 additions and 7 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= rasterio
PORTVERSION= 1.3.9
PORTVERSION= 1.3.10
CATEGORIES= graphics python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,7 +13,9 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= gdal>=3.1:graphics/gdal \
${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
${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} \
${PYTHON_PKGNAMEPREFIX}attrs>=0:devel/py-attrs@${PY_FLAVOR} \
@ -25,7 +27,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 distutils
USE_PYTHON= autoplist concurrent cython pep517
OPTIONS_DEFINE= PLOT S3
PLOT_DESC= Plotting support
@ -37,4 +39,10 @@ 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 <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31000
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
.endif
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1698341053
SHA256 (rasterio-1.3.9.tar.gz) = fc6d0d290492fa1a5068711cfebb21cc936968891b7ed9da0690c8a7388885c5
SIZE (rasterio-1.3.9.tar.gz) = 411741
TIMESTAMP = 1713001140
SHA256 (rasterio-1.3.10.tar.gz) = ce182c735b4f9e8735d90600607ecab15ef895eb8aa660bf665751529477e326
SIZE (rasterio-1.3.10.tar.gz) = 412856

View File

@ -0,0 +1,16 @@
--- pyproject.toml.orig 2024-04-10 14:59:49 UTC
+++ pyproject.toml
@@ -1,10 +1,9 @@ requires = [
[build-system]
requires = [
- "setuptools>=67.8",
+ "setuptools>=61",
"wheel",
- "cython~=3.0.2",
- "numpy==2.0.0rc1; python_version >= '3.9'",
- "oldest-supported-numpy; python_version < '3.9'"
+ "cython",
+ "numpy",
]
build-backend = "setuptools.build_meta"