python3-charset-normalizer: upgrade 3.2.0 -> 3.3.0

Changelog:
===========
Added
---------
-Allow to execute the CLI (e.g. normalizer) through python -m
 charset_normalizer.cli or python -m charset_normalizer
-Support for 9 forgotten encoding that are supported by Python but unlisted
 in encoding.aliases as they have no alias (#323)

Removed
---------
-Redundant utils.is_ascii function and unused function is_private_use_only
-charset_normalizer.assets is moved inside charset_normalizer.constant

Changed
----------
-Unicode code blocks in constants are updated using the latest v15.0.0
 definition to improve detection
-Optional mypyc compilation upgraded to version 1.5.1 for Python >= 3.8

Fixed
--------
Unable to properly sort CharsetMatch when both chaos/noise and coherence were close due to an unreachable condition in __lt__ (#350)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2ac5bdc024)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Wang Mingyu
2023-10-23 16:32:25 +08:00
committed by Armin Kuster
parent bda5669c8d
commit 1337b34169

View File

@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/ousret/charset_normalizer"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0974a390827087287db39928f7c524b5"
SRC_URI[sha256sum] = "3bb3d25a8e6c0aedd251753a79ae98a093c7e7b471faa3aa9a93a81431987ace"
SRC_URI[sha256sum] = "63563193aec44bce707e0c5ca64ff69fa72ed7cf34ce6e11d5127555756fd2f6"
inherit pypi setuptools3