wok rev 25167
updated python-chardet (3.0.4 -> 4.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 14:57:06 2022 +0100 (2022-07-01) |
parents | d85bd79b1552 |
children | d32d64bc318e |
files | python-chardet/description.txt python-chardet/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-chardet/description.txt Fri Jul 01 14:57:06 2022 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +Chardet: The Universal Character Encoding Detector 1.5 + 1.6 +Detects 1.7 + 1.8 +- ASCII, UTF-8, UTF-16 (2 variants), UTF-32 (4 variants) 1.9 +- Big5, GB2312, EUC-TW, HZ-GB-2312, ISO-2022-CN (Traditional and Simplified Chinese) 1.10 +- EUC-JP, SHIFT_JIS, CP932, ISO-2022-JP (Japanese) 1.11 +- EUC-KR, ISO-2022-KR (Korean) 1.12 +- KOI8-R, MacCyrillic, IBM855, IBM866, ISO-8859-5, windows-1251 (Cyrillic) 1.13 +- ISO-8859-5, windows-1251 (Bulgarian) 1.14 +- ISO-8859-1, windows-1252 (Western European languages) 1.15 +- ISO-8859-7, windows-1253 (Greek) 1.16 +- ISO-8859-8, windows-1255 (Visual and Logical Hebrew) 1.17 +- TIS-620 (Thai)
2.1 --- a/python-chardet/receipt Fri Jul 01 11:13:57 2022 +0100 2.2 +++ b/python-chardet/receipt Fri Jul 01 14:57:06 2022 +0100 2.3 @@ -1,18 +1,19 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="python-chardet" 2.7 -VERSION="3.0.4" 2.8 +VERSION="4.0.0" # last version with Python 2 support 2.9 CATEGORY="development" 2.10 MAINTAINER="maintainer@slitaz.org" 2.11 SHORT_DESC="Python module for character encoding auto-detection." 2.12 LICENSE="LGPL2.1" 2.13 -WEB_SITE="https://github.com/chardet/chardet" 2.14 +WEB_SITE="https://pypi.org/project/chardet/" 2.15 +REPOLOGY="python:chardet" 2.16 2.17 -SOURCE=chardet 2.18 -TARBALL="$PACKAGE-$VERSION.tgz" 2.19 -WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 2.20 +SOURCE="chardet" 2.21 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.22 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$SOURCE-$VERSION.tar.gz" 2.23 2.24 -DEPENDS="python" 2.25 +DEPENDS="python python-setuptools" 2.26 BUILD_DEPENDS="python-dev python-setuptools" 2.27 2.28 current_version() 2.29 @@ -24,11 +25,15 @@ 2.30 # Rules to configure and make the package. 2.31 compile_rules() 2.32 { 2.33 - python setup.py install --root=$DESTDIR --optimize=1 2.34 + python setup.py \ 2.35 + install \ 2.36 + --root=$DESTDIR \ 2.37 + --optimize=1 2.38 } 2.39 2.40 # Rules to gen a SliTaz package suitable for Tazpkg. 2.41 genpkg_rules() 2.42 { 2.43 - cp -a $install/usr $fs 2.44 + cook_copy_folders bin 2.45 + cook_copy_folders lib 2.46 }