diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-15 05:08:40 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-16 08:29:59 +0100 |
| commit | 6e58a59f313be093d0339835dfc051621e0abac9 (patch) | |
| tree | cbdc1c8939d5dd2973d5f9a4bbdc63b670ccb489 /meta/recipes-devtools/python/python3-markupsafe_2.0.0.bb | |
| parent | d9aa32dbf9145d25565a17ac39b186e332ed9a12 (diff) | |
| download | poky-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.bb | 27 |
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 @@ | |||
| 1 | DESCRIPTION = "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.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "4fae0677f712ee090721d8b17f412f1cbceefbf0dc180fe91bab3232f38b4527" | ||
| 7 | |||
| 8 | PYPI_PACKAGE = "MarkupSafe" | ||
| 9 | inherit pypi setuptools3 | ||
| 10 | inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} | ||
| 11 | |||
| 12 | RDEPENDS_${PN} += "${PYTHON_PN}-stringold" | ||
| 13 | |||
| 14 | BBCLASSEXTEND = "native nativesdk" | ||
| 15 | |||
| 16 | SRC_URI += " \ | ||
| 17 | file://run-ptest \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS_${PN}-ptest += " \ | ||
| 21 | ${PYTHON_PN}-pytest \ | ||
| 22 | " | ||
| 23 | |||
| 24 | do_install_ptest() { | ||
| 25 | install -d ${D}${PTEST_PATH}/tests | ||
| 26 | cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 27 | } | ||
