From b71dcebad5da427c8e12d8da58d3185f72cd4f19 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 18 Jul 2023 12:25:25 +0800 Subject: python3-charset-normalizer: upgrade 3.1.0 -> 3.2.0 Changelog: ========== Changed --------- Typehint for function from_path no longer enforce PathLike as its first argument Minor improvement over the global detection reliability Added --------- Introduce function is_binary that relies on main capabilities, and optimized to detect binaries Propagate enable_fallback argument throughout from_bytes, from_path, and from_fp that allow a deeper control over the detection (default True) Explicit support for Python 3.12 Fixed ----------- Edge case detection failure where a file would contain 'very-long' camel cased word (Issue #289) Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-charset-normalizer_3.1.0.bb | 15 --------------- .../python/python3-charset-normalizer_3.2.0.bb | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer_3.1.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer_3.2.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.1.0.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.1.0.bb deleted file mode 100644 index 27bd625b4d..0000000000 --- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.1.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] = "34e0a2f9c370eb95597aae63bf85eb5e96826d81e3dcf88b8886012906f509b5" - -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.2.0.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.2.0.bb new file mode 100644 index 0000000000..0c2810c62a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.2.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] = "3bb3d25a8e6c0aedd251753a79ae98a093c7e7b471faa3aa9a93a81431987ace" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-codecs \ + ${PYTHON_PN}-json \ +" -- cgit v1.2.3-54-g00ecf