Files
poky/meta/recipes-devtools/python/python3-jinja2_3.1.4.bb
Derek Straka 7dcc37c329 python3-*: Update recipes to correctly check the upstream packages
With the upstream check migrated to the simple repo API, a number of the
recipes required updates to:
1. Remove outdated UPSTREAM_CHECK_REGEX checks
2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for
   packages that use '_', CamelCase, or other deviations from PEP625 in
   the source archive

(From OE-Core rev: efbb98977664cd5392ec00d97d0eaf5374a32573)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00

49 lines
1.0 KiB
BlitzBasic

SUMMARY = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python."
HOMEPAGE = "https://pypi.org/project/Jinja2/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dc88300786f1c214c1e9827a5229462"
SRC_URI[sha256sum] = "4a3aee7acbbe7303aede8e9648d13b8bf88a429282aa6122a993f0ac800cb369"
PYPI_PACKAGE = "jinja2"
CVE_PRODUCT = "jinja2 jinja"
CLEANBROKEN = "1"
inherit pypi python_flit_core ptest
SRC_URI += " \
file://run-ptest \
file://fix-3.13.patch \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
python3-unixadmin \
"
RDEPENDS:${PN} += " \
python3-asyncio \
python3-crypt \
python3-io \
python3-json \
python3-markupsafe \
python3-math \
python3-netclient \
python3-numbers\
python3-pickle \
python3-pprint \
python3-shell \
python3-threading \
"
BBCLASSEXTEND = "native nativesdk"