From 8d5aae114a6da56052e63c81fa10a15b8a650a99 Mon Sep 17 00:00:00 2001 From: wangmy Date: Wed, 23 Feb 2022 15:44:57 +0800 Subject: python3-markupsafe: upgrade 2.0.1 -> 2.1.0 Changelog: ========== Drop support for Python 3.6. :pr:'262' Remove soft_unicode, which was previously deprecated. Use soft_str instead. :pr:'261' Raise error on missing single placeholder during string interpolation. :issue:'225' Disable speedups module for GraalPython. :issue:'277' (From OE-Core rev: b953a11adcc014ee561af844b09e3513d534a4f9) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-markupsafe_2.1.0.bb | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-markupsafe_2.1.0.bb (limited to 'meta/recipes-devtools/python/python3-markupsafe_2.1.0.bb') diff --git a/meta/recipes-devtools/python/python3-markupsafe_2.1.0.bb b/meta/recipes-devtools/python/python3-markupsafe_2.1.0.bb new file mode 100644 index 0000000000..953ea01cfe --- /dev/null +++ b/meta/recipes-devtools/python/python3-markupsafe_2.1.0.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Implements a XML/HTML/XHTML Markup safe string for Python" +HOMEPAGE = "http://github.com/mitsuhiko/markupsafe" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" + +SRC_URI[sha256sum] = "80beaf63ddfbc64a0452b841d8036ca0611e049650e20afcb882f5d3c266d65f" + +PYPI_PACKAGE = "MarkupSafe" +inherit pypi setuptools3 +inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} + +RDEPENDS:${PN} += "${PYTHON_PN}-stringold" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf