summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-markupsafe_2.0.0.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-15 05:08:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-16 08:29:59 +0100
commit6e58a59f313be093d0339835dfc051621e0abac9 (patch)
treecbdc1c8939d5dd2973d5f9a4bbdc63b670ccb489 /meta/recipes-devtools/python/python3-markupsafe_2.0.0.bb
parentd9aa32dbf9145d25565a17ac39b186e332ed9a12 (diff)
downloadpoky-6e58a59f313be093d0339835dfc051621e0abac9.tar.gz
python3-markupsafe: Upgrade 1.1.1 -> 2.0.0
(From OE-Core rev: def6184a8f24fe8965db77511bbc65edb38942c2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-markupsafe_2.0.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-markupsafe_2.0.0.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-markupsafe_2.0.0.bb b/meta/recipes-devtools/python/python3-markupsafe_2.0.0.bb
new file mode 100644
index 0000000000..5e4be22ee3
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-markupsafe_2.0.0.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] = "4fae0677f712ee090721d8b17f412f1cbceefbf0dc180fe91bab3232f38b4527"
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}