Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 970901A9217 for ; Mon, 4 Jan 2021 11:53:16 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id D286384DE4; Mon, 4 Jan 2021 11:53:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1978184D6F for ; Mon, 4 Jan 2021 11:53:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id pL7BY7NQKA0B for ; Mon, 4 Jan 2021 11:53:14 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 4742C84CDC for ; Mon, 4 Jan 2021 11:53:14 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 40CACFA9D; Mon, 4 Jan 2021 11:53:14 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1609761194173410" MIME-Version: 1.0 Date: Mon, 4 Jan 2021 11:53:14 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/converters/py-chardet To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20210104115314.40CACFA9D@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1609761194173410 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Mon Jan 4 11:53:14 UTC 2021 Modified Files: pkgsrc/converters/py-chardet: Makefile PLIST distinfo Log Message: py-chardet: update to 4.0.0. This will be the last release of chardet to support Python 2.7. chardet 5.0 will only support 3.6+ Major Changes This release is multiple years in the making, and provides some quality of life improvements to chardet. The primary user-facing changes are: Single-byte charset probers now use nested dictionaries under the hood, so they are usually a little faster than before. (See #121 for details) The CharsetGroupProber class now properly short-circuits when one of the probers in the group is considered a definite match. This lead to a substantial speedup. There is now a chardet.detect_all function that returns a list of possible encodings for the input with associated confidences. We have dropped support for Python 2.6, 3.4, and 3.5 as they are all past end-of-life. The changes in this release have also laid the groundwork for retraining the models to make them more accurate, and to support some more encodings/languages (see #99 for progress). This is our main focus for chardet 5.0 (beyond dropping Python 2 support). To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 pkgsrc/converters/py-chardet/Makefile cvs rdiff -u -r1.9 -r1.10 pkgsrc/converters/py-chardet/PLIST \ pkgsrc/converters/py-chardet/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1609761194173410 Content-Disposition: inline Content-Length: 3646 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/converters/py-chardet/Makefile diff -u pkgsrc/converters/py-chardet/Makefile:1.26 pkgsrc/converters/py-chardet/Makefile:1.27 --- pkgsrc/converters/py-chardet/Makefile:1.26 Tue Oct 6 10:51:21 2020 +++ pkgsrc/converters/py-chardet/Makefile Mon Jan 4 11:53:14 2021 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.26 2020/10/06 10:51:21 wiz Exp $ +# $NetBSD: Makefile,v 1.27 2021/01/04 11:53:14 wiz Exp $ -DISTNAME= chardet-3.0.4 +DISTNAME= chardet-4.0.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= converters python MASTER_SITES= ${MASTER_SITE_PYPI:=c/chardet/} Index: pkgsrc/converters/py-chardet/PLIST diff -u pkgsrc/converters/py-chardet/PLIST:1.9 pkgsrc/converters/py-chardet/PLIST:1.10 --- pkgsrc/converters/py-chardet/PLIST:1.9 Wed Apr 19 17:24:16 2017 +++ pkgsrc/converters/py-chardet/PLIST Mon Jan 4 11:53:14 2021 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.9 2017/04/19 17:24:16 wiz Exp $ +@comment $NetBSD: PLIST,v 1.10 2021/01/04 11:53:14 wiz Exp $ bin/chardetect-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -80,9 +80,6 @@ ${PYSITELIB}/chardet/jpcntx.pyo ${PYSITELIB}/chardet/langbulgarianmodel.py ${PYSITELIB}/chardet/langbulgarianmodel.pyc ${PYSITELIB}/chardet/langbulgarianmodel.pyo -${PYSITELIB}/chardet/langcyrillicmodel.py -${PYSITELIB}/chardet/langcyrillicmodel.pyc -${PYSITELIB}/chardet/langcyrillicmodel.pyo ${PYSITELIB}/chardet/langgreekmodel.py ${PYSITELIB}/chardet/langgreekmodel.pyc ${PYSITELIB}/chardet/langgreekmodel.pyo @@ -92,6 +89,9 @@ ${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 @@ -110,6 +110,12 @@ ${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/sbcharsetprober.py ${PYSITELIB}/chardet/sbcharsetprober.pyc ${PYSITELIB}/chardet/sbcharsetprober.pyo Index: pkgsrc/converters/py-chardet/distinfo diff -u pkgsrc/converters/py-chardet/distinfo:1.9 pkgsrc/converters/py-chardet/distinfo:1.10 --- pkgsrc/converters/py-chardet/distinfo:1.9 Thu Jun 8 19:06:51 2017 +++ pkgsrc/converters/py-chardet/distinfo Mon Jan 4 11:53:14 2021 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.9 2017/06/08 19:06:51 adam Exp $ +$NetBSD: distinfo,v 1.10 2021/01/04 11:53:14 wiz Exp $ -SHA1 (chardet-3.0.4.tar.gz) = 4766fb07e700945a7085d073257f1f320d037ce8 -RMD160 (chardet-3.0.4.tar.gz) = 03913482c682bf5e2b872d7f0a25d44fc1df9a47 -SHA512 (chardet-3.0.4.tar.gz) = 61a03b23447a2bfe52ceed4dd1b9afdb5784da1933a623776883ee9f297e341f633e27f0ce0230bd5fdc5fdb5382105ab42736a74a417ddeb9f83af57455dba5 -Size (chardet-3.0.4.tar.gz) = 1868453 bytes +SHA1 (chardet-4.0.0.tar.gz) = 2384f6cfba4685d901262e073a4455d4cf76d102 +RMD160 (chardet-4.0.0.tar.gz) = 55d244d032ebdf38c1da022155699732c9d8e513 +SHA512 (chardet-4.0.0.tar.gz) = ebd7f420e1094445270db993f6373ffe7370419e002b0bb13299dc6c9b0f7c4e77b0f44f871fba6371e6869e7c86728514367db377e3137487a3acf50cb81e96 +Size (chardet-4.0.0.tar.gz) = 1907771 bytes --_----------=_1609761194173410--