From 69e42c4fbd164ad7e63b92869e6ac5ff2ccc8b92 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 20 Mar 2026 15:10:52 -0700 Subject: python3-charset-normalizer: Upgrade to 3.4.6 Fix build with setuptools > 82.0.0 as well Signed-off-by: Khem Raj --- .../python/python3-charset-normalizer_3.4.6.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.6.bb (limited to 'meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.6.bb') diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.6.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.6.bb new file mode 100644 index 0000000000..e6056a3512 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.6.bb @@ -0,0 +1,25 @@ +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 += "file://0001-pyprojects-Bump-setuptools-check-to-be-82.x.patch" + +SRC_URI[sha256sum] = "1ae6b62897110aa7c79ea2f5dd38d1abca6db663687c0b1ad9aed6f6bae3d9d6" + +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-codecs \ + python3-json \ +" + +RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-charmap-gb18030 glibc-charmaps" +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf