Files
poky/meta/recipes-devtools/python/python3-markupsafe_3.0.1.bb
Alexander Kanavin d5d7b01460 python3-markupsafe: fix upstream version check
(From OE-Core rev: 721395809dcab2b133f77f7592c3aa69b710212c)

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-11-01 11:53:27 +00:00

29 lines
749 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"
UPSTREAM_CHECK_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/
}