mirror of
https://git.yoctoproject.org/poky
synced 2026-04-03 02:02:21 +02:00
python3-jinja2: upgrade 3.0.3 -> 3.1.1
(From OE-Core rev: 768de8fa99336f6232110cf4158b6bab36ec3c54) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
48
meta/recipes-devtools/python/python3-jinja2_3.1.1.bb
Normal file
48
meta/recipes-devtools/python/python3-jinja2_3.1.1.bb
Normal file
@@ -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] = "640bed4bb501cbd17194b3cace1dc2126f5b619cf068a726b98192a0fde74ae9"
|
||||
|
||||
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"
|
||||
Reference in New Issue
Block a user