Files
meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.9.bb
T
Jason Schonberg 63d9284f53 python3-charset-normalizer: add patch for setuptools version
The 3.4.9 upgrade dropped the setuptools uppper-bound patch because upstream raised its cap from <82.1 to <83.1.  But oe-core ships
setuptools 84.0.0, so do_compile failed with Unmet dependencies: setuptools<83.1,>=68 ... found: 84.0.0

Refreshed patch to match 3.4.9's pyproject.toml

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-12 23:01:41 -07:00

25 lines
851 B
BlitzBasic

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-pyproject.toml-relax-setuptools-upper-bound.patch"
SRC_URI[sha256sum] = "673611bbd43f0810bec0b0f028ddeaaa501190339cac411f347ac76917c3ae7b"
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"