summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-11-12 17:24:29 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-11-18 22:09:03 +0000
commit5d032631fa32c0161c53e258d7ee35bfa3501e03 (patch)
tree75ca1a6ba84a27cd47b236ba50f23f41296489f4 /meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb
parenta9a5f9769ab27897ce315e28ab0a47614a56e291 (diff)
downloadpoky-5d032631fa32c0161c53e258d7ee35bfa3501e03.tar.gz
python3-markupsafe: upgrade 3.0.1 -> 3.0.2
Changelog: ========== - Fix compatibility when __str__ returns a str subclass. - Build requires setuptools >= 70.1. (From OE-Core rev: 786ce51f9411b23281919b6251a4d700d8c75c41) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.bb28
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 @@
1SUMMARY = "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.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
5
6SRC_URI[sha256sum] = "ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0"
7
8PYPI_PACKAGE = "markupsafe"
9UPSTREAM_CHECK_PYPI_PACKAGE = "MarkupSafe"
10inherit pypi python_setuptools_build_meta ptest
11
12RDEPENDS:${PN} += "python3-html python3-stringold"
13
14BBCLASSEXTEND = "native nativesdk"
15
16SRC_URI += " \
17 file://run-ptest \
18"
19
20RDEPENDS:${PN}-ptest += " \
21 python3-pytest \
22 python3-unittest-automake-output \
23"
24
25do_install_ptest() {
26 install -d ${D}${PTEST_PATH}/tests
27 cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/
28}