summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-jinja2_3.1.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3-jinja2_3.1.6.bb')
-rw-r--r--meta/recipes-devtools/python/python3-jinja2_3.1.6.bb51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-jinja2_3.1.6.bb b/meta/recipes-devtools/python/python3-jinja2_3.1.6.bb
new file mode 100644
index 0000000000..de2b251049
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-jinja2_3.1.6.bb
@@ -0,0 +1,51 @@
1SUMMARY = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python."
2HOMEPAGE = "https://pypi.org/project/Jinja2/"
3
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dc88300786f1c214c1e9827a5229462"
6
7SRC_URI[sha256sum] = "0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d"
8
9PYPI_PACKAGE = "jinja2"
10
11CVE_PRODUCT = "jinja2 jinja"
12
13CLEANBROKEN = "1"
14
15inherit pypi python_flit_core ptest
16
17SRC_URI += " \
18 file://run-ptest \
19"
20
21do_install_ptest() {
22 install -d ${D}${PTEST_PATH}/tests
23 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
24
25 # test_async items require trio module
26 rm -f ${D}${PTEST_PATH}/tests/test_async.py ${D}${PTEST_PATH}/tests/test_async_filters.py
27}
28
29RDEPENDS:${PN}-ptest += " \
30 python3-pytest \
31 python3-unittest-automake-output \
32 python3-toml \
33 python3-unixadmin \
34"
35
36RDEPENDS:${PN} += " \
37 python3-asyncio \
38 python3-crypt \
39 python3-io \
40 python3-json \
41 python3-markupsafe \
42 python3-math \
43 python3-netclient \
44 python3-numbers\
45 python3-pickle \
46 python3-pprint \
47 python3-shell \
48 python3-threading \
49"
50
51BBCLASSEXTEND = "native nativesdk"