summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorDomarys Correa <domarys.correa@ossystems.com.br>2020-05-21 12:06:03 -0300
committerArmin Kuster <akuster808@gmail.com>2020-05-28 21:37:18 -0700
commit31b5e4109ab7af37f6c31164b6acb5b1e6649d2a (patch)
tree82e1aceb2c7ebdada7e98660d6829e7cad064ae8 /meta-python
parent47c72b2b8498c058d2cbf8dfd06280f374656155 (diff)
downloadmeta-openembedded-31b5e4109ab7af37f6c31164b6acb5b1e6649d2a.tar.gz
python3-jinja2: Update 2.11.1 -> 2.11.2
Add .inc file to .bb, as updated to python3 Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 0a7a998120c930e427b02de73bc48b78a0022dd2) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python-jinja2.inc33
-rw-r--r--meta-python/recipes-devtools/python/python3-jinja2_2.11.1.bb4
-rw-r--r--meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb43
3 files changed, 43 insertions, 37 deletions
diff --git a/meta-python/recipes-devtools/python/python-jinja2.inc b/meta-python/recipes-devtools/python/python-jinja2.inc
deleted file mode 100644
index 9272305156..0000000000
--- a/meta-python/recipes-devtools/python/python-jinja2.inc
+++ /dev/null
@@ -1,33 +0,0 @@
1DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python."
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462"
4
5PYPI_PACKAGE = "Jinja2"
6
7SRC_URI[md5sum] = "5d88c7e77aa63fc852a04f65dbfe5594"
8SRC_URI[sha256sum] = "93187ffbc7808079673ef52771baa950426fd664d3aad1d0fa3e95644360e250"
9
10RDEPENDS_${PN} += "${PYTHON_PN}-io ${PYTHON_PN}-pickle ${PYTHON_PN}-crypt \
11 ${PYTHON_PN}-math ${PYTHON_PN}-netclient \
12 ${PYTHON_PN}-pprint ${PYTHON_PN}-shell ${PYTHON_PN}-markupsafe \
13 ${PYTHON_PN}-json ${PYTHON_PN}-threading ${PYTHON_PN}-numbers"
14
15CLEANBROKEN = "1"
16
17BBCLASSEXTEND = "native nativesdk"
18
19inherit ptest
20
21SRC_URI += " \
22 file://run-ptest \
23"
24
25RDEPENDS_${PN}-ptest += " \
26 ${PYTHON_PN}-pytest \
27 ${PYTHON_PN}-unixadmin \
28"
29
30do_install_ptest() {
31 install -d ${D}${PTEST_PATH}/tests
32 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
33}
diff --git a/meta-python/recipes-devtools/python/python3-jinja2_2.11.1.bb b/meta-python/recipes-devtools/python/python3-jinja2_2.11.1.bb
deleted file mode 100644
index 284f5f588c..0000000000
--- a/meta-python/recipes-devtools/python/python3-jinja2_2.11.1.bb
+++ /dev/null
@@ -1,4 +0,0 @@
1inherit pypi setuptools3
2require python-jinja2.inc
3
4RDEPENDS_${PN} += "${PYTHON_PN}-asyncio"
diff --git a/meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb b/meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb
new file mode 100644
index 0000000000..681acf8f1c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb
@@ -0,0 +1,43 @@
1DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python."
2
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462"
5
6SRC_URI[sha256sum] = "89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0"
7
8PYPI_PACKAGE = "Jinja2"
9
10CLEANBROKEN = "1"
11
12inherit pypi setuptools3 ptest
13
14SRC_URI += " \
15 file://run-ptest \
16"
17
18do_install_ptest() {
19 install -d ${D}${PTEST_PATH}/tests
20 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
21}
22
23RDEPENDS_${PN}-ptest += " \
24 ${PYTHON_PN}-pytest \
25 ${PYTHON_PN}-unixadmin \
26"
27
28RDEPENDS_${PN} += " \
29 ${PYTHON_PN}-asyncio \
30 ${PYTHON_PN}-crypt \
31 ${PYTHON_PN}-io \
32 ${PYTHON_PN}-json \
33 ${PYTHON_PN}-markupsafe \
34 ${PYTHON_PN}-math \
35 ${PYTHON_PN}-netclient \
36 ${PYTHON_PN}-numbers\
37 ${PYTHON_PN}-pickle \
38 ${PYTHON_PN}-pprint \
39 ${PYTHON_PN}-shell \
40 ${PYTHON_PN}-threading \
41"
42
43BBCLASSEXTEND = "native nativesdk"