# HG changeset patch # User Hans-G?nter Theisgen # Date 1656683826 -3600 # Node ID 97eb61f0546019dafd24b438ec56ed9a4b0c5e60 # Parent d85bd79b15520a9c3fe7836d56452c68cf5cc007 updated python-chardet (3.0.4 -> 4.0.0) diff -r d85bd79b1552 -r 97eb61f05460 python-chardet/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-chardet/description.txt Fri Jul 01 14:57:06 2022 +0100 @@ -0,0 +1,14 @@ +Chardet: The Universal Character Encoding Detector + +Detects + +- ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants) +- Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified Chinese) +- EUC-JP, SHIFT_JIS, CP932, ISO-2022-JP (Japanese) +- EUC-KR, ISO-2022-KR (Korean) +- KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic) +- ISO-8859-5, windows-1251 (Bulgarian) +- ISO-8859-1, windows-1252 (Western European languages) +- ISO-8859-7, windows-1253 (Greek) +- ISO-8859-8, windows-1255 (Visual and Logical Hebrew) +- TIS-620 (Thai) diff -r d85bd79b1552 -r 97eb61f05460 python-chardet/receipt --- a/python-chardet/receipt Fri Jul 01 11:13:57 2022 +0100 +++ b/python-chardet/receipt Fri Jul 01 14:57:06 2022 +0100 @@ -1,18 +1,19 @@ # SliTaz package receipt. PACKAGE="python-chardet" -VERSION="3.0.4" +VERSION="4.0.0" # last version with Python 2 support CATEGORY="development" MAINTAINER="maintainer@slitaz.org" SHORT_DESC="Python module for character encoding auto-detection." LICENSE="LGPL2.1" -WEB_SITE="https://github.com/chardet/chardet" +WEB_SITE="https://pypi.org/project/chardet/" +REPOLOGY="python:chardet" -SOURCE=chardet -TARBALL="$PACKAGE-$VERSION.tgz" -WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" +SOURCE="chardet" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz" -DEPENDS="python" +DEPENDS="python python-setuptools" BUILD_DEPENDS="python-dev python-setuptools" current_version() @@ -24,11 +25,15 @@ # Rules to configure and make the package. compile_rules() { - python setup.py install --root=$DESTDIR --optimize=1 + python setup.py \ + install \ + --root=$DESTDIR \ + --optimize=1 } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/usr $fs + cook_copy_folders bin + cook_copy_folders lib }