diff --git a/converters/py-chardet/Makefile b/converters/py-chardet/Makefile index 4aaef8de6cbc..3f8f95419bfb 100644 --- a/converters/py-chardet/Makefile +++ b/converters/py-chardet/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.29 2022/01/05 15:40:59 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2022/07/03 12:45:17 wiz Exp $ -DISTNAME= chardet-4.0.0 +DISTNAME= chardet-5.0.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 2 CATEGORIES= converters python MASTER_SITES= ${MASTER_SITE_PYPI:=c/chardet/} @@ -12,9 +11,10 @@ COMMENT= Character encoding auto-detection in Python LICENSE= gnu-lgpl-v2.1 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner +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 - -PYTHON_VERSIONED_DEPENDENCIES= hypothesis:test +TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test USE_PKG_RESOURCES= yes @@ -22,6 +22,10 @@ post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} chardetect chardetect-${PYVERSSUFFIX} || ${TRUE} +# as of 5.0.0 +# 1 failed, 375 passed, 6 xfailed, 1 xpassed +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} + .include "../../lang/python/egg.mk" -.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/converters/py-chardet/PLIST b/converters/py-chardet/PLIST index d590f2d0294b..bd145f795998 100644 --- a/converters/py-chardet/PLIST +++ b/converters/py-chardet/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.10 2021/01/04 11:53:14 wiz Exp $ +@comment $NetBSD: PLIST,v 1.11 2022/07/03 12:45:17 wiz Exp $ bin/chardetect-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -32,9 +32,6 @@ ${PYSITELIB}/chardet/cli/chardetect.pyo ${PYSITELIB}/chardet/codingstatemachine.py ${PYSITELIB}/chardet/codingstatemachine.pyc ${PYSITELIB}/chardet/codingstatemachine.pyo -${PYSITELIB}/chardet/compat.py -${PYSITELIB}/chardet/compat.pyc -${PYSITELIB}/chardet/compat.pyo ${PYSITELIB}/chardet/cp949prober.py ${PYSITELIB}/chardet/cp949prober.pyc ${PYSITELIB}/chardet/cp949prober.pyo @@ -74,6 +71,12 @@ ${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 @@ -128,6 +131,9 @@ ${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 diff --git a/converters/py-chardet/distinfo b/converters/py-chardet/distinfo index 2f24fdce2c35..94ebfb4ec910 100644 --- a/converters/py-chardet/distinfo +++ b/converters/py-chardet/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.12 2021/10/26 10:06:49 nia Exp $ +$NetBSD: distinfo,v 1.13 2022/07/03 12:45:17 wiz Exp $ -BLAKE2s (chardet-4.0.0.tar.gz) = 0d2dbdc34b5f86de8a94091931d4cb576e2d4ed7c6b1ac46276b7502ac2f5666 -SHA512 (chardet-4.0.0.tar.gz) = ebd7f420e1094445270db993f6373ffe7370419e002b0bb13299dc6c9b0f7c4e77b0f44f871fba6371e6869e7c86728514367db377e3137487a3acf50cb81e96 -Size (chardet-4.0.0.tar.gz) = 1907771 bytes +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