git: fa6f9da6a666 - main - graphics/py-gdal: Update to 3.9.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 May 2024 17:24:23 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fa6f9da6a66635112c5ed1e4b33b8fa00136ce67 commit fa6f9da6a66635112c5ed1e4b33b8fa00136ce67 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-19 16:16:15 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-19 17:15:14 +0000 graphics/py-gdal: Update to 3.9.0 Changes: https://github.com/OSGeo/gdal/releases https://github.com/OSGeo/gdal/blob/release/3.9/NEWS.md --- graphics/py-gdal/Makefile | 6 ++++-- graphics/py-gdal/distinfo | 6 +++--- graphics/py-gdal/files/patch-pyproject.toml | 18 ++++++++++++++++++ graphics/py-gdal/files/patch-setup.py | 6 +++--- 4 files changed, 28 insertions(+), 8 deletions(-) diff --git a/graphics/py-gdal/Makefile b/graphics/py-gdal/Makefile index ea8ec3d9acbc..f71653e1fbcd 100644 --- a/graphics/py-gdal/Makefile +++ b/graphics/py-gdal/Makefile @@ -1,5 +1,5 @@ PORTNAME= gdal -PORTVERSION= 3.8.5 +PORTVERSION= 3.9.0 CATEGORIES= graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,13 +12,15 @@ WWW= https://gdal.org/ \ LICENSE= MIT -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libgdal.so:graphics/gdal USES= compiler:c++11-lang cpe python USE_PYTHON= autoplist concurrent pep517 +MAKE_ENV= GDAL_PYTHON_BINDINGS_WITHOUT_NUMPY=yes + CPE_VENDOR= osgeo OPTIONS_DEFINE= NUMPY diff --git a/graphics/py-gdal/distinfo b/graphics/py-gdal/distinfo index 8e5e7503f233..f10041267089 100644 --- a/graphics/py-gdal/distinfo +++ b/graphics/py-gdal/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1712330577 -SHA256 (GDAL-3.8.5.tar.gz) = ad8addd58ba9c62aefc7f65d345c168736798f137e5c8f247af76fcf4862d371 -SIZE (GDAL-3.8.5.tar.gz) = 802628 +TIMESTAMP = 1715842582 +SHA256 (GDAL-3.9.0.tar.gz) = 7c2a857cf903b9921357e0dfae593f2fe6f7dcd2ea42600577d5fc3c864fb066 +SIZE (GDAL-3.9.0.tar.gz) = 839919 diff --git a/graphics/py-gdal/files/patch-pyproject.toml b/graphics/py-gdal/files/patch-pyproject.toml new file mode 100644 index 000000000000..7f85867e1502 --- /dev/null +++ b/graphics/py-gdal/files/patch-pyproject.toml @@ -0,0 +1,18 @@ +--- pyproject.toml.orig 2024-05-06 12:37:20 UTC ++++ pyproject.toml +@@ -1,12 +1,10 @@ + [build-system] +-requires = ["setuptools>=67.0.0", +- "wheel", +- "oldest-supported-numpy; python_version=='3.8'", +- "numpy >=2.0.0rc1; python_version>='3.9'"] ++requires = ["setuptools>=61.0.0", ++ "wheel"] + build-backend = "setuptools.build_meta" + + [project] +-name = "GDAL" ++name = "gdal" + dynamic = ["version", "scripts"] + authors = [ + {name = "Frank Warmerdam"}, diff --git a/graphics/py-gdal/files/patch-setup.py b/graphics/py-gdal/files/patch-setup.py index 4ff4931744ad..3e1cc161bf41 100644 --- a/graphics/py-gdal/files/patch-setup.py +++ b/graphics/py-gdal/files/patch-setup.py @@ -1,6 +1,6 @@ ---- setup.py.orig 2024-04-04 17:09:42 UTC +--- setup.py.orig 2024-05-06 12:37:20 UTC +++ setup.py -@@ -332,7 +332,7 @@ readme = open('README.rst', encoding="utf-8").read() +@@ -373,7 +373,7 @@ readme = open('README.rst', encoding="utf-8").read() readme = open('README.rst', encoding="utf-8").read() @@ -8,4 +8,4 @@ +name = 'gdal' author = "Frank Warmerdam" author_email = "warmerdam@pobox.com" - maintainer = "Howard Butler" + maintainer = "GDAL contributors"