From d9cf8080d230c5d3d842eb4d16764aa76d6eac44 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 28 Nov 2024 12:38:58 +0200 Subject: python3-charset-normalizer: Upgrade 3.3.2 -> 3.4.0 Upgrade to version 3.4.0: - Argument --no-preemptive in the CLI to prevent the detector to search for hints - Support for Python 3.13 - Relax the TypeError exception thrown when trying to compare a CharsetMatch with anything else than a CharsetMatch - Improved the general reliability of the detector based on user feedbacks - Declared charset in content (preemptive detection) not changed when converting to utf-8 bytes Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-charset-normalizer_3.3.2.bb | 17 ----------------- .../python/python3-charset-normalizer_3.4.0.bb | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer_3.3.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.3.2.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.3.2.bb deleted file mode 100644 index ca9a88ccfb..0000000000 --- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.3.2.bb +++ /dev/null @@ -1,17 +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] = "f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += " \ - python3-core \ - python3-logging \ - python3-codecs \ - python3-json \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.0.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.0.bb new file mode 100644 index 0000000000..10f199db49 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.0.bb @@ -0,0 +1,19 @@ +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] = "223217c3d4f82c3ac5e29032b3f1c2eb0fb591b72161f86d93f5719079dae93e" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "charset_normalizer" + +RDEPENDS:${PN} += " \ + python3-core \ + python3-logging \ + python3-codecs \ + python3-json \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf