Files
meta-openembedded/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb
T
Markus Volk 0369c15532 python3-html5lib: drop the six dependency
openembedded-core removed python3-six, so the recipe no longer resolves.
html5lib 1.1 only used six as a Python 2 compatibility layer; patch the
imports over to the Python 3 builtins and drop the runtime dependency.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
AI-Generated: Uses Claude Code (Claude Fable 5.1)
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-09-21 08:13:56 -07:00

21 lines
639 B
BlitzBasic

SUMMARY = "HTML parser based on the WHATWG HTML specifcation"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c"
SRC_URI += "file://0001-setup.py-fix-version-parsing-on-Python-3.14-ast.Str-.patch"
SRC_URI += "file://0001-setup.py-make-pkg_resources-import-optional-for-Pyth.patch"
SRC_URI += "file://0001-Drop-the-six-dependency.patch"
SRC_URI[sha256sum] = "b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f"
inherit pypi setuptools3
RDEPENDS:${PN} += "\
python3-lxml \
python3-webencodings \
python3-xml \
"
CVE_PRODUCT = "html5lib"
BBCLASSEXTEND = "native nativesdk"