diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb b/meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb new file mode 100644 index 0000000000..7e48bc36c7 --- /dev/null +++ b/meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "Implements a XML/HTML/XHTML Markup safe string for Python" | ||
2 | HOMEPAGE = "http://github.com/mitsuhiko/markupsafe" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75" | ||
5 | |||
6 | SRC_URI[sha256sum] = "ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0" | ||
7 | |||
8 | PYPI_PACKAGE = "markupsafe" | ||
9 | UPSTREAM_CHECK_PYPI_PACKAGE = "MarkupSafe" | ||
10 | inherit pypi python_setuptools_build_meta ptest | ||
11 | |||
12 | RDEPENDS:${PN} += "python3-html python3-stringold" | ||
13 | |||
14 | BBCLASSEXTEND = "native nativesdk" | ||
15 | |||
16 | SRC_URI += " \ | ||
17 | file://run-ptest \ | ||
18 | " | ||
19 | |||
20 | RDEPENDS:${PN}-ptest += " \ | ||
21 | python3-pytest \ | ||
22 | python3-unittest-automake-output \ | ||
23 | " | ||
24 | |||
25 | do_install_ptest() { | ||
26 | install -d ${D}${PTEST_PATH}/tests | ||
27 | cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
28 | } | ||