aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-12-25 16:04:03 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-12-25 16:11:02 +0000
commit941eb4656d2a2a6533b6cdd97d42ac2021ed68fd (patch)
tree45e0a49bbd755657a4b35e2647d9ad977bee12ba
parent9d7189cea4d78e95f8dc3c0429d1f58b80d0b134 (diff)
downloadports-941eb4656d2a2a6533b6cdd97d42ac2021ed68fd.tar.gz
ports-941eb4656d2a2a6533b6cdd97d42ac2021ed68fd.zip
textproc/py-chardet: Update to 5.2.0
- Update WWW - Convert to USE_PYTHON=pep517 Changes: https://github.com/chardet/chardet/releases
-rw-r--r--textproc/py-chardet/Makefile9
-rw-r--r--textproc/py-chardet/distinfo6
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