git: 4e189a9e8d49 - main - textproc/py-chardet: Update to 7.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Apr 2026 17:28:56 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4e189a9e8d49c32c41edc0a687731a4788913b99
commit 4e189a9e8d49c32c41edc0a687731a4788913b99
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-05 17:12:38 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-05 17:19:50 +0000
textproc/py-chardet: Update to 7.1.0
- Update LICENSE
Changes: https://github.com/chardet/chardet/releases
---
textproc/py-chardet/Makefile | 11 ++++++-----
textproc/py-chardet/distinfo | 6 +++---
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/textproc/py-chardet/Makefile b/textproc/py-chardet/Makefile
index 991786aa6013..30ae26b1c23d 100644
--- a/textproc/py-chardet/Makefile
+++ b/textproc/py-chardet/Makefile
@@ -1,5 +1,5 @@
PORTNAME= chardet
-PORTVERSION= 5.2.0
+PORTVERSION= 7.1.0
PORTEPOCH= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
@@ -10,16 +10,17 @@ COMMENT= Universal encoding detector for Python
WWW= https://chardet.readthedocs.io/en/latest/ \
https://github.com/chardet/chardet
-LICENSE= LGPL21
+LICENSE= MIT
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}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
+TEST_DEPENDS= git:devel/git
USES= python
USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes
+TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
.include <bsd.port.mk>
diff --git a/textproc/py-chardet/distinfo b/textproc/py-chardet/distinfo
index c33adb3e5bb0..174b34955870 100644
--- a/textproc/py-chardet/distinfo
+++ b/textproc/py-chardet/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703495907
-SHA256 (chardet-5.2.0.tar.gz) = 1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7
-SIZE (chardet-5.2.0.tar.gz) = 2069618
+TIMESTAMP = 1773967176
+SHA256 (chardet-7.1.0.tar.gz) = 8f47bc4accac17bd9accbb4acc1d563acc024a783806c0a43c3a583f5285690b
+SIZE (chardet-7.1.0.tar.gz) = 505743