blob: 857472cc7b297f154b4ddea0622eceb69536fb26 [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
Patrick Williams213cb262021-08-07 19:21:33 -050012RDEPENDS:${PN} += "${PYTHON_PN}-stringold"
Andrew Geisslerc3d88e42020-10-02 09:45:00 -050013
14BBCLASSEXTEND = "native nativesdk"
15
16SRC_URI += " \
17 file://run-ptest \
18"
19
Patrick Williams213cb262021-08-07 19:21:33 -050020RDEPENDS:${PN}-ptest += " \
Andrew Geisslerc3d88e42020-10-02 09:45:00 -050021 ${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}