Files
poky/meta/recipes-devtools/python/python3-markupsafe_3.0.1.bb
Alexander Kanavin c9b7b850e7 python3-markupsafe: add missing html module dependency
(From OE-Core rev: 0f55f110b76eb1fab25c7a1656d9a2aebcc35cfb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-22 12:28:18 +01:00

28 lines
706 B
BlitzBasic

SUMMARY = "Implements a XML/HTML/XHTML Markup safe string for Python"
HOMEPAGE = "http://github.com/mitsuhiko/markupsafe"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
SRC_URI[sha256sum] = "3e683ee4f5d0fa2dde4db77ed8dd8a876686e3fc417655c2ece9a90576905344"
PYPI_PACKAGE = "markupsafe"
inherit pypi python_setuptools_build_meta ptest
RDEPENDS:${PN} += "python3-html python3-stringold"
BBCLASSEXTEND = "native nativesdk"
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/
}