From f8935c5a387222d17eeadbc8ef3a7c49928b7e0e Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 2 Aug 2023 06:45:12 +0000 Subject: [PATCH] py-chardet: updated to 5.2.0 5.2.0 Adds support for running chardet CLI via python -m chardet --- converters/py-chardet/Makefile | 8 +++----- converters/py-chardet/PLIST | 4 +++- converters/py-chardet/distinfo | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/converters/py-chardet/Makefile b/converters/py-chardet/Makefile index df422feb148e..6be2525dad71 100644 --- a/converters/py-chardet/Makefile +++ b/converters/py-chardet/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.32 2022/12/05 08:35:47 adam Exp $ +# $NetBSD: Makefile,v 1.33 2023/08/02 06:45:12 adam Exp $ -DISTNAME= chardet-5.1.0 +DISTNAME= chardet-5.2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= converters python MASTER_SITES= ${MASTER_SITE_PYPI:=c/chardet/} @@ -24,10 +24,8 @@ 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} + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test.py .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" diff --git a/converters/py-chardet/PLIST b/converters/py-chardet/PLIST index 2f978d79d21b..ed637f366eaf 100644 --- a/converters/py-chardet/PLIST +++ b/converters/py-chardet/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.12 2022/12/05 08:35:47 adam Exp $ +@comment $NetBSD: PLIST,v 1.13 2023/08/02 06:45:12 adam Exp $ bin/chardetect-${PYVERSSUFFIX} ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE @@ -11,6 +11,8 @@ ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt ${PYSITELIB}/chardet/__init__.py ${PYSITELIB}/chardet/__init__.pyc +${PYSITELIB}/chardet/__main__.py +${PYSITELIB}/chardet/__main__.pyc ${PYSITELIB}/chardet/big5freq.py ${PYSITELIB}/chardet/big5freq.pyc ${PYSITELIB}/chardet/big5prober.py diff --git a/converters/py-chardet/distinfo b/converters/py-chardet/distinfo index a37536b358a4..bdb9f879ba39 100644 --- a/converters/py-chardet/distinfo +++ b/converters/py-chardet/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.14 2022/12/05 08:35:47 adam Exp $ +$NetBSD: distinfo,v 1.15 2023/08/02 06:45:12 adam Exp $ -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 +BLAKE2s (chardet-5.2.0.tar.gz) = 63c8f944cdb9ee5fee203a2616914f4439250cf5d13798fd2adea09e085476a2 +SHA512 (chardet-5.2.0.tar.gz) = c9c2d28c8783aa4513b15692c30955360b4bdb97922a8ba1ff4ec47d49be4d23d83a3e5e77fe2c9aa6bf8c966f9c021269d8e45ac7f9642b886475724ae3ae54 +Size (chardet-5.2.0.tar.gz) = 2069618 bytes