summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-markupsafe_2.0.1.bb
diff options
context:
space:
mode:
authorwangmy <wangmy@fujitsu.com>2021-05-27 07:46:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-28 06:41:02 +0100
commit874caab5be0300e645428ad8a7678bdecd250534 (patch)
tree4c038367afc7856ebd02cb5e653de2a85106a24c /meta/recipes-devtools/python/python3-markupsafe_2.0.1.bb
parent786ab5d4539e67105d004ec5baaeb26c8eb2e258 (diff)
downloadpoky-874caab5be0300e645428ad8a7678bdecd250534.tar.gz
python3-markupsafe: upgrade 2.0.0 -> 2.0.1
(From OE-Core rev: 2fab69a424910270354283a7a1270112237bf721) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-markupsafe_2.0.1.bb')
-rw-r--r--meta/recipes-devtools/python/python3-markupsafe_2.0.1.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-markupsafe_2.0.1.bb b/meta/recipes-devtools/python/python3-markupsafe_2.0.1.bb
new file mode 100644
index 0000000000..5be43b6c56
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-markupsafe_2.0.1.bb
@@ -0,0 +1,27 @@
1DESCRIPTION = "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
6SRC_URI[sha256sum] = "594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a"
7
8PYPI_PACKAGE = "MarkupSafe"
9inherit pypi setuptools3
10inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}
11
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}