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:   adam
Date:           Wed Aug  2 06:45:13 UTC 2023

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

Log Message:
py-chardet: updated to 5.2.0

5.2.0

Adds support for running chardet CLI via python -m chardet


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/converters/py-chardet/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/converters/py-chardet/PLIST
cvs rdiff -u -r1.14 -r1.15 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.32 pkgsrc/converters/py-chardet/Makefile:1.33
--- pkgsrc/converters/py-chardet/Makefile:1.32  Mon Dec  5 08:35:47 2022
+++ pkgsrc/converters/py-chardet/Makefile       Wed Aug  2 06:45:12 2023
@@ -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"

Index: pkgsrc/converters/py-chardet/PLIST
diff -u pkgsrc/converters/py-chardet/PLIST:1.12 pkgsrc/converters/py-chardet/PLIST:1.13
--- pkgsrc/converters/py-chardet/PLIST:1.12     Mon Dec  5 08:35:47 2022
+++ pkgsrc/converters/py-chardet/PLIST  Wed Aug  2 06:45:12 2023
@@ -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_poin
 ${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

Index: pkgsrc/converters/py-chardet/distinfo
diff -u pkgsrc/converters/py-chardet/distinfo:1.14 pkgsrc/converters/py-chardet/distinfo:1.15
--- pkgsrc/converters/py-chardet/distinfo:1.14  Mon Dec  5 08:35:47 2022
+++ pkgsrc/converters/py-chardet/distinfo       Wed Aug  2 06:45:12 2023
@@ -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



Home | Main Index | Thread Index | Old Index