git: 5f17387592b9 - main - devel/py-tzdata: Update to 2023.2

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Wed, 29 Mar 2023 16:40:58 UTC
The branch main has been updated by kai:

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

commit 5f17387592b98f928056f127c590a675fdc023d3
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-03-29 16:32:09 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-03-29 16:32:09 +0000

    devel/py-tzdata: Update to 2023.2
    
    * Switch to PEP517 build framework and remove the no longer required
      workaround for setuptools.
    
    Changelogs since 2022.7:
    
    https://github.com/python/tzdata/releases/tag/2023.3
    https://github.com/python/tzdata/releases/tag/2023.2
    https://github.com/python/tzdata/releases/tag/2023.1
    
    MFH:            No (PEP517 support not present in 2023Q1)
---
 devel/py-tzdata/Makefile       | 10 +++++-----
 devel/py-tzdata/distinfo       |  6 +++---
 devel/py-tzdata/files/setup.py |  3 ---
 3 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/devel/py-tzdata/Makefile b/devel/py-tzdata/Makefile
index 1b9910fdbd08..8999ead995bc 100644
--- a/devel/py-tzdata/Makefile
+++ b/devel/py-tzdata/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	tzdata
-DISTVERSION=	2022.7
+DISTVERSION=	2023.3
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +11,12 @@ WWW=		https://github.com/python/tzdata
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
-post-extract:
-	@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
-
 .include <bsd.port.mk>
diff --git a/devel/py-tzdata/distinfo b/devel/py-tzdata/distinfo
index 6dfbbac9dce6..6d0f3650fc42 100644
--- a/devel/py-tzdata/distinfo
+++ b/devel/py-tzdata/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669844124
-SHA256 (tzdata-2022.7.tar.gz) = fe5f866eddd8b96e9fcba978f8e503c909b19ea7efda11e52e39494bad3a7bfa
-SIZE (tzdata-2022.7.tar.gz) = 185615
+TIMESTAMP = 1680100202
+SHA256 (tzdata-2023.3.tar.gz) = 11ef1e08e54acb0d4f95bdb1be05da659673de4acbd21bf9c69e94cc5e907a3a
+SIZE (tzdata-2023.3.tar.gz) = 187483
diff --git a/devel/py-tzdata/files/setup.py b/devel/py-tzdata/files/setup.py
deleted file mode 100644
index 606849326a40..000000000000
--- a/devel/py-tzdata/files/setup.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from setuptools import setup
-
-setup()