pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/converters/py-chardet



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jul  3 12:45:18 UTC 2022

Modified Files:
        pkgsrc/converters/py-chardet: Makefile PLIST distinfo

Log Message:
py-chardet: update to 5.0.0.

This release is the first release of chardet that no longer
supports Python < 3.6.

In addition to that change, it features the following user-facing
changes:

    Added a prober for Johab Korean (#207, @grizlupo)
    Added a prober for UTF-16/32 BE/LE (#109, #206, @jpz)
    Added test data for Croatian, Czech, Hungarian, Polish, Slovak,
    Slovene, Greek, and Turkish, which should help prevent future
    errors with those languages
    Improved XML tag filtering, which should improve accuracy for
    XML files (#208)
    Tweaked SingleByteCharSetProber confidence to match latest
    uchardet (#209)
    Made detect_all return child prober confidences (#210)
    Updated examples in docs (#223, @domdfcoding)
    Documentation fixes (#212, #224, #225, #226, #220, #221, #244
    from too many to mention)
    Minor performance improvements (#252, @deedy5)
    Add support for Python 3.10 when testing (#232, @jdufresne)
    Lots of little development cycle improvements, mostly thanks
    to @jdufresne


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/converters/py-chardet/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/converters/py-chardet/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/converters/py-chardet/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/converters/py-chardet/Makefile
diff -u pkgsrc/converters/py-chardet/Makefile:1.29 pkgsrc/converters/py-chardet/Makefile:1.30
--- pkgsrc/converters/py-chardet/Makefile:1.29  Wed Jan  5 15:40:59 2022
+++ pkgsrc/converters/py-chardet/Makefile       Sun Jul  3 12:45:17 2022
@@ -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-detecti
 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"

Index: pkgsrc/converters/py-chardet/PLIST
diff -u pkgsrc/converters/py-chardet/PLIST:1.10 pkgsrc/converters/py-chardet/PLIST:1.11
--- pkgsrc/converters/py-chardet/PLIST:1.10     Mon Jan  4 11:53:14 2021
+++ pkgsrc/converters/py-chardet/PLIST  Sun Jul  3 12:45:17 2022
@@ -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

Index: pkgsrc/converters/py-chardet/distinfo
diff -u pkgsrc/converters/py-chardet/distinfo:1.12 pkgsrc/converters/py-chardet/distinfo:1.13
--- pkgsrc/converters/py-chardet/distinfo:1.12  Tue Oct 26 10:06:49 2021
+++ pkgsrc/converters/py-chardet/distinfo       Sun Jul  3 12:45:17 2022
@@ -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



Home | Main Index | Thread Index | Old Index