pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/converters/py-chardet py-chardet: updated to 5.1.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f8223e989a6
branches: trunk
changeset: 389511:4f8223e989a6
user: adam <adam%pkgsrc.org@localhost>
date: Mon Dec 05 08:35:47 2022 +0000
description:
py-chardet: updated to 5.1.0
chardet 5.1.0
Features
Add should_rename_legacy argument to most functions, which will rename older encodings to their more modern equivalents (e.g., GB2312 becomes GB18030)
Add capital letter sharp S and ISO-8859-15 support
Add a prober for MacRoman encoding
Add --minimal flag to chardetect command
Add type annotations to the project and run mypy on CI
Add support for Python 3.11
Fixes
Clarify LGPL version in License trove classifier
Remove support for EOL Python 3.6
Remove unnecessary guards for non-falsey values
Misc changes
Switch to Python 3.10 release in GitHub actions
Remove setup.py in favor of build package
Run tests on macos, Windows, and 3.11-dev
diffstat:
converters/py-chardet/Makefile | 12 +++---
converters/py-chardet/PLIST | 68 ++++++++++-------------------------------
converters/py-chardet/distinfo | 8 ++--
3 files changed, 27 insertions(+), 61 deletions(-)
diffs (208 lines):
diff -r 9d239ede7222 -r 4f8223e989a6 converters/py-chardet/Makefile
--- a/converters/py-chardet/Makefile Mon Dec 05 08:29:44 2022 +0000
+++ b/converters/py-chardet/Makefile Mon Dec 05 08:35:47 2022 +0000
@@ -1,16 +1,16 @@
-# $NetBSD: Makefile,v 1.31 2022/07/06 11:20:16 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2022/12/05 08:35:47 adam Exp $
-DISTNAME= chardet-5.0.0
+DISTNAME= chardet-5.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= converters python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/chardet/}
MAINTAINER= bartosz.kuzma%gmail.com@localhost
-HOMEPAGE= https://pypi.python.org/pypi/chardet
-COMMENT= Character encoding auto-detection in Python
+HOMEPAGE= https://github.com/chardet/chardet
+COMMENT= Universal encoding detector for Python 3
LICENSE= gnu-lgpl-v2.1
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
TEST_DEPENDS+= ${PYPKGPREFIX}-exceptiongroup-[0-9]*:../../devel/py-exceptiongroup
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
TEST_DEPENDS+= ${PYPKGPREFIX}-py-[0-9]*:../../devel/py-py
@@ -29,5 +29,5 @@
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 9d239ede7222 -r 4f8223e989a6 converters/py-chardet/PLIST
--- a/converters/py-chardet/PLIST Mon Dec 05 08:29:44 2022 +0000
+++ b/converters/py-chardet/PLIST Mon Dec 05 08:35:47 2022 +0000
@@ -1,142 +1,108 @@
-@comment $NetBSD: PLIST,v 1.11 2022/07/03 12:45:17 wiz Exp $
+@comment $NetBSD: PLIST,v 1.12 2022/12/05 08:35:47 adam Exp $
bin/chardetect-${PYVERSSUFFIX}
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/chardet/__init__.py
${PYSITELIB}/chardet/__init__.pyc
-${PYSITELIB}/chardet/__init__.pyo
${PYSITELIB}/chardet/big5freq.py
${PYSITELIB}/chardet/big5freq.pyc
-${PYSITELIB}/chardet/big5freq.pyo
${PYSITELIB}/chardet/big5prober.py
${PYSITELIB}/chardet/big5prober.pyc
-${PYSITELIB}/chardet/big5prober.pyo
${PYSITELIB}/chardet/chardistribution.py
${PYSITELIB}/chardet/chardistribution.pyc
-${PYSITELIB}/chardet/chardistribution.pyo
${PYSITELIB}/chardet/charsetgroupprober.py
${PYSITELIB}/chardet/charsetgroupprober.pyc
-${PYSITELIB}/chardet/charsetgroupprober.pyo
${PYSITELIB}/chardet/charsetprober.py
${PYSITELIB}/chardet/charsetprober.pyc
-${PYSITELIB}/chardet/charsetprober.pyo
${PYSITELIB}/chardet/cli/__init__.py
${PYSITELIB}/chardet/cli/__init__.pyc
-${PYSITELIB}/chardet/cli/__init__.pyo
${PYSITELIB}/chardet/cli/chardetect.py
${PYSITELIB}/chardet/cli/chardetect.pyc
-${PYSITELIB}/chardet/cli/chardetect.pyo
${PYSITELIB}/chardet/codingstatemachine.py
${PYSITELIB}/chardet/codingstatemachine.pyc
-${PYSITELIB}/chardet/codingstatemachine.pyo
+${PYSITELIB}/chardet/codingstatemachinedict.py
+${PYSITELIB}/chardet/codingstatemachinedict.pyc
${PYSITELIB}/chardet/cp949prober.py
${PYSITELIB}/chardet/cp949prober.pyc
-${PYSITELIB}/chardet/cp949prober.pyo
${PYSITELIB}/chardet/enums.py
${PYSITELIB}/chardet/enums.pyc
-${PYSITELIB}/chardet/enums.pyo
${PYSITELIB}/chardet/escprober.py
${PYSITELIB}/chardet/escprober.pyc
-${PYSITELIB}/chardet/escprober.pyo
${PYSITELIB}/chardet/escsm.py
${PYSITELIB}/chardet/escsm.pyc
-${PYSITELIB}/chardet/escsm.pyo
${PYSITELIB}/chardet/eucjpprober.py
${PYSITELIB}/chardet/eucjpprober.pyc
-${PYSITELIB}/chardet/eucjpprober.pyo
${PYSITELIB}/chardet/euckrfreq.py
${PYSITELIB}/chardet/euckrfreq.pyc
-${PYSITELIB}/chardet/euckrfreq.pyo
${PYSITELIB}/chardet/euckrprober.py
${PYSITELIB}/chardet/euckrprober.pyc
-${PYSITELIB}/chardet/euckrprober.pyo
${PYSITELIB}/chardet/euctwfreq.py
${PYSITELIB}/chardet/euctwfreq.pyc
-${PYSITELIB}/chardet/euctwfreq.pyo
${PYSITELIB}/chardet/euctwprober.py
${PYSITELIB}/chardet/euctwprober.pyc
-${PYSITELIB}/chardet/euctwprober.pyo
${PYSITELIB}/chardet/gb2312freq.py
${PYSITELIB}/chardet/gb2312freq.pyc
-${PYSITELIB}/chardet/gb2312freq.pyo
${PYSITELIB}/chardet/gb2312prober.py
${PYSITELIB}/chardet/gb2312prober.pyc
-${PYSITELIB}/chardet/gb2312prober.pyo
${PYSITELIB}/chardet/hebrewprober.py
${PYSITELIB}/chardet/hebrewprober.pyc
-${PYSITELIB}/chardet/hebrewprober.pyo
${PYSITELIB}/chardet/jisfreq.py
${PYSITELIB}/chardet/jisfreq.pyc
-${PYSITELIB}/chardet/jisfreq.pyo
${PYSITELIB}/chardet/johabfreq.py
${PYSITELIB}/chardet/johabfreq.pyc
-${PYSITELIB}/chardet/johabfreq.pyo
${PYSITELIB}/chardet/johabprober.py
${PYSITELIB}/chardet/johabprober.pyc
-${PYSITELIB}/chardet/johabprober.pyo
${PYSITELIB}/chardet/jpcntx.py
${PYSITELIB}/chardet/jpcntx.pyc
-${PYSITELIB}/chardet/jpcntx.pyo
${PYSITELIB}/chardet/langbulgarianmodel.py
${PYSITELIB}/chardet/langbulgarianmodel.pyc
-${PYSITELIB}/chardet/langbulgarianmodel.pyo
${PYSITELIB}/chardet/langgreekmodel.py
${PYSITELIB}/chardet/langgreekmodel.pyc
-${PYSITELIB}/chardet/langgreekmodel.pyo
${PYSITELIB}/chardet/langhebrewmodel.py
${PYSITELIB}/chardet/langhebrewmodel.pyc
-${PYSITELIB}/chardet/langhebrewmodel.pyo
${PYSITELIB}/chardet/langhungarianmodel.py
${PYSITELIB}/chardet/langhungarianmodel.pyc
-${PYSITELIB}/chardet/langhungarianmodel.pyo
${PYSITELIB}/chardet/langrussianmodel.py
${PYSITELIB}/chardet/langrussianmodel.pyc
-${PYSITELIB}/chardet/langrussianmodel.pyo
${PYSITELIB}/chardet/langthaimodel.py
${PYSITELIB}/chardet/langthaimodel.pyc
-${PYSITELIB}/chardet/langthaimodel.pyo
${PYSITELIB}/chardet/langturkishmodel.py
${PYSITELIB}/chardet/langturkishmodel.pyc
-${PYSITELIB}/chardet/langturkishmodel.pyo
${PYSITELIB}/chardet/latin1prober.py
${PYSITELIB}/chardet/latin1prober.pyc
-${PYSITELIB}/chardet/latin1prober.pyo
+${PYSITELIB}/chardet/macromanprober.py
+${PYSITELIB}/chardet/macromanprober.pyc
${PYSITELIB}/chardet/mbcharsetprober.py
${PYSITELIB}/chardet/mbcharsetprober.pyc
-${PYSITELIB}/chardet/mbcharsetprober.pyo
${PYSITELIB}/chardet/mbcsgroupprober.py
${PYSITELIB}/chardet/mbcsgroupprober.pyc
-${PYSITELIB}/chardet/mbcsgroupprober.pyo
${PYSITELIB}/chardet/mbcssm.py
${PYSITELIB}/chardet/mbcssm.pyc
-${PYSITELIB}/chardet/mbcssm.pyo
${PYSITELIB}/chardet/metadata/__init__.py
${PYSITELIB}/chardet/metadata/__init__.pyc
-${PYSITELIB}/chardet/metadata/__init__.pyo
${PYSITELIB}/chardet/metadata/languages.py
${PYSITELIB}/chardet/metadata/languages.pyc
-${PYSITELIB}/chardet/metadata/languages.pyo
+${PYSITELIB}/chardet/py.typed
+${PYSITELIB}/chardet/resultdict.py
+${PYSITELIB}/chardet/resultdict.pyc
${PYSITELIB}/chardet/sbcharsetprober.py
${PYSITELIB}/chardet/sbcharsetprober.pyc
-${PYSITELIB}/chardet/sbcharsetprober.pyo
${PYSITELIB}/chardet/sbcsgroupprober.py
${PYSITELIB}/chardet/sbcsgroupprober.pyc
-${PYSITELIB}/chardet/sbcsgroupprober.pyo
${PYSITELIB}/chardet/sjisprober.py
${PYSITELIB}/chardet/sjisprober.pyc
-${PYSITELIB}/chardet/sjisprober.pyo
${PYSITELIB}/chardet/universaldetector.py
${PYSITELIB}/chardet/universaldetector.pyc
-${PYSITELIB}/chardet/universaldetector.pyo
${PYSITELIB}/chardet/utf1632prober.py
${PYSITELIB}/chardet/utf1632prober.pyc
-${PYSITELIB}/chardet/utf1632prober.pyo
${PYSITELIB}/chardet/utf8prober.py
${PYSITELIB}/chardet/utf8prober.pyc
-${PYSITELIB}/chardet/utf8prober.pyo
${PYSITELIB}/chardet/version.py
${PYSITELIB}/chardet/version.pyc
-${PYSITELIB}/chardet/version.pyo
diff -r 9d239ede7222 -r 4f8223e989a6 converters/py-chardet/distinfo
--- a/converters/py-chardet/distinfo Mon Dec 05 08:29:44 2022 +0000
+++ b/converters/py-chardet/distinfo Mon Dec 05 08:35:47 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2022/07/03 12:45:17 wiz Exp $
+$NetBSD: distinfo,v 1.14 2022/12/05 08:35:47 adam Exp $
-BLAKE2s (chardet-5.0.0.tar.gz) = 4132ba79b99831e53fbf283bd1514ad4a97a282c44488767bbb5a19bb83d81ef
-SHA512 (chardet-5.0.0.tar.gz) = 3853248584d53d977abe0e6ab856e1526fd7360d9b94b4f08d03895da80ba9efac8882dbd3f919f0d52b0699c0d7fd68edb223c37512685976c6f2b212fbe0ff
-Size (chardet-5.0.0.tar.gz) = 2021116 bytes
+BLAKE2s (chardet-5.1.0.tar.gz) = 2768cce8061fc71f8f7d7883e3a4f279b283fd4eb62d443b9c0101c75d72749b
+SHA512 (chardet-5.1.0.tar.gz) = f4e668de1d6f8fe0223d79a150123b99875cc5e2015e2b6c4052c1c545c044f1a3aba1c02eba3c295c0a1795e24302f5304500321dca8f1e8c0605d08ef8bb62
+Size (chardet-5.1.0.tar.gz) = 2069617 bytes
Home |
Main Index |
Thread Index |
Old Index