diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-11-12 17:24:29 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-18 22:09:03 +0000 |
| commit | 5d032631fa32c0161c53e258d7ee35bfa3501e03 (patch) | |
| tree | 75ca1a6ba84a27cd47b236ba50f23f41296489f4 /meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb | |
| parent | a9a5f9769ab27897ce315e28ab0a47614a56e291 (diff) | |
| download | poky-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.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 | } | ||
