git: bae0dbbe5356 - main - graphics/py-gdal: Update to 3.6.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 13:06:43 UTC
The branch main has been updated by sunpoet:

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

commit bae0dbbe53564f5af90b6745dd35c3eb83a5dcce
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:29:13 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:59:16 +0000

    graphics/py-gdal: Update to 3.6.2
    
    - Change MASTER_SITES to PYPI
    - Update WWW
    
    Changes:        https://github.com/OSGeo/gdal/releases
                    https://github.com/OSGeo/gdal/blob/master/NEWS.md
---
 graphics/py-gdal/Makefile | 15 ++++++---------
 graphics/py-gdal/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/graphics/py-gdal/Makefile b/graphics/py-gdal/Makefile
index 77b7e7ff63f0..4a4e6f6b3477 100644
--- a/graphics/py-gdal/Makefile
+++ b/graphics/py-gdal/Makefile
@@ -1,25 +1,22 @@
 PORTNAME=	gdal
-PORTVERSION=	3.5.3
+PORTVERSION=	3.6.2
 CATEGORIES=	graphics python
-MASTER_SITES=	https://download.osgeo.org/gdal/${PORTVERSION}/ \
-		LOCAL/sunpoet
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	GDAL-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Python binding for GDAL
-WWW=		https://gdal.org/
+WWW=		https://gdal.org/ \
+		https://github.com/OSGeo/gdal
 
 LICENSE=	MIT
-LICENSE_FILE=	${WRKSRC}/../../LICENSE.TXT
 
 LIB_DEPENDS=	libgdal.so:graphics/gdal
 
-USES=		compiler:c++14-lang cpe python:3.8+ tar:xz
+USES=		compiler:c++11-lang cpe python:3.8+
 USE_PYTHON=	autoplist concurrent distutils
 
-USE_CXXSTD=	c++14
-WRKSRC_SUBDIR=	swig/python
-
 CPE_VENDOR=	osgeo
 
 OPTIONS_DEFINE=	NUMPY
diff --git a/graphics/py-gdal/distinfo b/graphics/py-gdal/distinfo
index fa68b70b162d..4af22aee369d 100644
--- a/graphics/py-gdal/distinfo
+++ b/graphics/py-gdal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669057591
-SHA256 (gdal-3.5.3.tar.xz) = d32223ddf145aafbbaec5ccfa5dbc164147fb3348a3413057f9b1600bb5b3890
-SIZE (gdal-3.5.3.tar.xz) = 9504740
+TIMESTAMP = 1674589588
+SHA256 (GDAL-3.6.2.tar.gz) = a167cde1813707d91a938dad1a22f280f5ad28c45980d42e948fb8c59f890f5a
+SIZE (GDAL-3.6.2.tar.gz) = 757691