Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Apr 2024 00:01:30 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 33965eb7242c - main - graphics/py-gdal: Update to 3.8.5
Message-ID:  <202404060001.43601UOX072827@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=33965eb7242c4d6f869756f0b40b95edd0a6c6b6

commit 33965eb7242c4d6f869756f0b40b95edd0a6c6b6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-05 23:57:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-05 23:57:44 +0000

    graphics/py-gdal: Update to 3.8.5
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/OSGeo/gdal/releases
                    https://github.com/OSGeo/gdal/blob/release/3.8/NEWS.md
---
 graphics/py-gdal/Makefile             |  6 ++++--
 graphics/py-gdal/distinfo             |  6 +++---
 graphics/py-gdal/files/patch-setup.py | 11 +++++++++++
 3 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/graphics/py-gdal/Makefile b/graphics/py-gdal/Makefile
index 562e6c7d768b..ea8ec3d9acbc 100644
--- a/graphics/py-gdal/Makefile
+++ b/graphics/py-gdal/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gdal
-PORTVERSION=	3.8.4
+PORTVERSION=	3.8.5
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +12,12 @@ WWW=		https://gdal.org/ \
 
 LICENSE=	MIT
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0: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 distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 CPE_VENDOR=	osgeo
 
diff --git a/graphics/py-gdal/distinfo b/graphics/py-gdal/distinfo
index 348caace75b1..8e5e7503f233 100644
--- a/graphics/py-gdal/distinfo
+++ b/graphics/py-gdal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1709390454
-SHA256 (GDAL-3.8.4.tar.gz) = 7c51e0ae7a7ccf43ad9e4bf435176baa9276653dfa16fd167c3632f6e7275207
-SIZE (GDAL-3.8.4.tar.gz) = 802459
+TIMESTAMP = 1712330577
+SHA256 (GDAL-3.8.5.tar.gz) = ad8addd58ba9c62aefc7f65d345c168736798f137e5c8f247af76fcf4862d371
+SIZE (GDAL-3.8.5.tar.gz) = 802628
diff --git a/graphics/py-gdal/files/patch-setup.py b/graphics/py-gdal/files/patch-setup.py
new file mode 100644
index 000000000000..4ff4931744ad
--- /dev/null
+++ b/graphics/py-gdal/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2024-04-04 17:09:42 UTC
++++ setup.py
+@@ -332,7 +332,7 @@ readme = open('README.rst', encoding="utf-8").read()
+ 
+ readme = open('README.rst', encoding="utf-8").read()
+ 
+-name = 'GDAL'
++name = 'gdal'
+ author = "Frank Warmerdam"
+ author_email = "warmerdam@pobox.com"
+ maintainer = "Howard Butler"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404060001.43601UOX072827>