From 1337b3416905938d28f5fe9df1f611fe37f3f46c Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 23 Oct 2023 16:32:25 +0800 Subject: 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 Signed-off-by: Khem Raj (cherry picked from commit 2ac5bdc0244af7b64c7f14c5a8bdeb115eedd850) Signed-off-by: Armin Kuster --- .../python/python3-charset-normalizer_3.2.0.bb | 15 --------------- .../python/python3-charset-normalizer_3.3.0.bb | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer_3.2.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer_3.3.0.bb diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.2.0.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.2.0.bb deleted file mode 100644 index 0c2810c62a..0000000000 --- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.2.0.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -HOMEPAGE = "https://github.com/ousret/charset_normalizer" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0974a390827087287db39928f7c524b5" - -SRC_URI[sha256sum] = "3bb3d25a8e6c0aedd251753a79ae98a093c7e7b471faa3aa9a93a81431987ace" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += " \ - ${PYTHON_PN}-core \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-codecs \ - ${PYTHON_PN}-json \ -" diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.3.0.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.3.0.bb new file mode 100644 index 0000000000..8502be7b4e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.3.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." +HOMEPAGE = "https://github.com/ousret/charset_normalizer" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0974a390827087287db39928f7c524b5" + +SRC_URI[sha256sum] = "63563193aec44bce707e0c5ca64ff69fa72ed7cf34ce6e11d5127555756fd2f6" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-codecs \ + ${PYTHON_PN}-json \ +" -- cgit v1.2.3-54-g00ecf