git: 941eb4656d2a - main - textproc/py-chardet: Update to 5.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 25 Dec 2023 16:17:14 UTC
The branch main has been updated by sunpoet:

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

commit 941eb4656d2a2a6533b6cdd97d42ac2021ed68fd
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-25 16:04:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-25 16:11:02 +0000

    textproc/py-chardet: Update to 5.2.0
    
    - Update WWW
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/chardet/chardet/releases
---
 textproc/py-chardet/Makefile | 9 ++++++---
 textproc/py-chardet/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/textproc/py-chardet/Makefile b/textproc/py-chardet/Makefile
index 6d44a412cf96..991786aa6013 100644
--- a/textproc/py-chardet/Makefile
+++ b/textproc/py-chardet/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	chardet
-PORTVERSION=	4.0.0
+PORTVERSION=	5.2.0
 PORTEPOCH=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
@@ -7,15 +7,18 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Universal encoding detector for Python
-WWW=		https://github.com/chardet/chardet
+WWW=		https://chardet.readthedocs.io/en/latest/ \
+		https://github.com/chardet/chardet
 
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils pytest
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
diff --git a/textproc/py-chardet/distinfo b/textproc/py-chardet/distinfo
index 1a905f7a6a83..c33adb3e5bb0 100644
--- a/textproc/py-chardet/distinfo
+++ b/textproc/py-chardet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1622541529
-SHA256 (chardet-4.0.0.tar.gz) = 0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa
-SIZE (chardet-4.0.0.tar.gz) = 1907771
+TIMESTAMP = 1703495907
+SHA256 (chardet-5.2.0.tar.gz) = 1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7
+SIZE (chardet-5.2.0.tar.gz) = 2069618