From 81958300f23edfd2cd78eb43ee27cbd3f339f979 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 30 May 2025 12:41:42 +0300 Subject: python3-charset-normalizer: Upgrade 3.4.1 -> 3.4.2 Upgrade to release 3.4.2: - Addressed the DeprecationWarning in our CLI regarding argparse.FileType by backporting the target class into the package. - Improved the overall reliability of the detector with CJK Ideographs. - Optional mypyc compilation upgraded to version 1.15 for Python >= 3.8 Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-charset-normalizer_3.4.2.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb (limited to 'meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb new file mode 100644 index 0000000000..e62306fff3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.2.bb @@ -0,0 +1,24 @@ +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=48178f3fc1374ad7e830412f812bde05" + +SRC_URI[sha256sum] = "5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63" + +DEPENDS += "python3-setuptools-scm-native python3-mypy-native" + +inherit pypi python_setuptools_build_meta ptest-python-pytest + +PYPI_PACKAGE = "charset_normalizer" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +RDEPENDS:${PN} += " \ + python3-core \ + python3-logging \ + python3-mypy \ + python3-codecs \ + python3-json \ +" + +RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-charmap-gb18030 glibc-charmaps" +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf