blob: 5be43b6c565f4f9e45a566f932550c74ffcd6ae9 [file] [log] [blame]
Andrew Geisslerc3d88e42020-10-02 09:45:00 -05001DESCRIPTION = "Implements a XML/HTML/XHTML Markup safe string for Python"
2HOMEPAGE = "http://github.com/mitsuhiko/markupsafe"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
5
William A. Kennington IIIac69b482021-06-02 12:28:27 -07006SRC_URI[sha256sum] = "594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a"
Andrew Geisslerc3d88e42020-10-02 09:45:00 -05007
8PYPI_PACKAGE = "MarkupSafe"
9inherit pypi setuptools3
Andrew Geisslerc926e172021-05-07 16:11:35 -050010inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}
Andrew Geisslerc3d88e42020-10-02 09:45:00 -050011
12RDEPENDS_${PN} += "${PYTHON_PN}-stringold"
13
14BBCLASSEXTEND = "native nativesdk"
15
16SRC_URI += " \
17 file://run-ptest \
18"
19
20RDEPENDS_${PN}-ptest += " \
21 ${PYTHON_PN}-pytest \
22"
23
24do_install_ptest() {
25 install -d ${D}${PTEST_PATH}/tests
26 cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/
27}