1*8460358cSPatrick WilliamsSUMMARY = "Implements a XML/HTML/XHTML Markup safe string for Python" 2*8460358cSPatrick WilliamsHOMEPAGE = "http://github.com/mitsuhiko/markupsafe" 3*8460358cSPatrick WilliamsLICENSE = "BSD-3-Clause" 4*8460358cSPatrick WilliamsLIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75" 5*8460358cSPatrick Williams 6*8460358cSPatrick WilliamsSRC_URI[sha256sum] = "ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0" 7*8460358cSPatrick Williams 8*8460358cSPatrick WilliamsPYPI_PACKAGE = "markupsafe" 9*8460358cSPatrick WilliamsUPSTREAM_CHECK_PYPI_PACKAGE = "MarkupSafe" 10*8460358cSPatrick Williamsinherit pypi python_setuptools_build_meta ptest 11*8460358cSPatrick Williams 12*8460358cSPatrick WilliamsRDEPENDS:${PN} += "python3-html python3-stringold" 13*8460358cSPatrick Williams 14*8460358cSPatrick WilliamsBBCLASSEXTEND = "native nativesdk" 15*8460358cSPatrick Williams 16*8460358cSPatrick WilliamsSRC_URI += " \ 17*8460358cSPatrick Williams file://run-ptest \ 18*8460358cSPatrick Williams" 19*8460358cSPatrick Williams 20*8460358cSPatrick WilliamsRDEPENDS:${PN}-ptest += " \ 21*8460358cSPatrick Williams python3-pytest \ 22*8460358cSPatrick Williams python3-unittest-automake-output \ 23*8460358cSPatrick Williams" 24*8460358cSPatrick Williams 25*8460358cSPatrick Williamsdo_install_ptest() { 26*8460358cSPatrick Williams install -d ${D}${PTEST_PATH}/tests 27*8460358cSPatrick Williams cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/ 28*8460358cSPatrick Williams} 29