Files
Gyorgy Sarvari ce8539c941 python3-soupsieve: fix tests with Python 3.10.20
The latest Python upgrade in oe-core has broken some
ptests. This backported patch fixes them, they should work
with both the latest and previous versions.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
2026-05-04 15:59:37 +02:00

27 lines
776 B
BlitzBasic

SUMMARY = "CSS selector library for python-beautifulsoup4"
HOMEPAGE = "https://github.com/facelessuser/soupsieve"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=33c3a77def9b3ad83e01c65bdcc1af67"
SRC_URI[sha256sum] = "b8d49b1cd4f037c7082a9683dfa1801aa2597fb11c3a1155b7a5b94829b4f1f9"
inherit pypi python_setuptools_build_meta ptest
SRC_URI += "file://run-ptest \
file://update_tests_for_latest_libxml.patch \
file://0001-Adjustments-for-changes-in-HTML-parser-285.patch \
"
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \
${PYTHON_PN}-beautifulsoup4 \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
BBCLASSEXTEND = "native nativesdk"