Files
meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.7.bb
T
Khem Raj 6860ce914d python3-charset-normalizer: Relax setuptools upper bound in build requirements
The upstream pyproject.toml caps setuptools at <82.1, but OE builds with
--no-isolation against the native setuptools (now 83.0.0), so the build
fails with "Missing dependencies: setuptools<82.1,>=68". Drop the
spurious upper bound.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-08 23:34:15 -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] = "ae89db9e5f98a11a4bf50407d4363e7b09b31e55bc117b4f7d80aab97ba009e5"
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"