From aa9b00d9d247735b42112d0a89ca3d5504c11de6 Mon Sep 17 00:00:00 2001 From: wangmy Date: Mon, 15 Nov 2021 23:04:13 +0800 Subject: python3-jinja2: upgrade 3.0.2 -> 3.0.3 What's Changed update requirements by @davidism in #1524 test Python 3.10 by @davidism in #1530 test Python 3.11 by @davidism in #1531 Tests: Adapt expected traceback regexes for Python 3.11.0a1 by @hroncok in #1527 simplify CodeType rewriting by @davidism in #1536 native: keep same behavior on Python 3.10 by @mkrizek in #1537 Reduce async overhead due to auto_await by @mohd-akram in #1516 Use object.__hash__ for Node.__hash__ by @klette in #1522 Fix typos by @kianmeng in #1509 rewrite Template class doc by @davidism in #1538 remove reference to macro.defaults by @davidism in #1539 rewrite docs about extending template objects by @davidism in #1540 document chained pow order by @davidism in #1541 PackageLoader works with single module file by @davidism in #1542 release version 3.0.3 by @davidism in #1543 (From OE-Core rev: cb39ee88f1e52551dd5093558fde4c67f30580ae) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- .../python/python3-jinja2_3.0.3.bb | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-jinja2_3.0.3.bb (limited to 'meta/recipes-devtools/python/python3-jinja2_3.0.3.bb') diff --git a/meta/recipes-devtools/python/python3-jinja2_3.0.3.bb b/meta/recipes-devtools/python/python3-jinja2_3.0.3.bb new file mode 100644 index 0000000000..c416acbf92 --- /dev/null +++ b/meta/recipes-devtools/python/python3-jinja2_3.0.3.bb @@ -0,0 +1,48 @@ +DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python." +HOMEPAGE = "https://pypi.org/project/Jinja/" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" + +SRC_URI[sha256sum] = "611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7" + +PYPI_PACKAGE = "Jinja2" + +CVE_PRODUCT = "jinja2 jinja" + +CLEANBROKEN = "1" + +inherit pypi setuptools3 +inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} + +SRC_URI += " \ + file://run-ptest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-toml \ + ${PYTHON_PN}-unixadmin \ +" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-asyncio \ + ${PYTHON_PN}-crypt \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-markupsafe \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers\ + ${PYTHON_PN}-pickle \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-threading \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf