Files
poky/meta/recipes-devtools/python/python3-markupsafe_3.0.1.bb
Richard Purdie 7de344b3d0 python3-markupsafe: Upgrade 2.1.5 -> 3.0.1
Update to match the upstream repo name change and the renamed license file.

(From OE-Core rev: 43a2af6e4124a0f3949bfd9409b102987b2b2767)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-22 11:39:58 +01:00

28 lines
693 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-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/
}