summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDomarys Correa <domarys.correa@ossystems.com.br>2020-05-21 12:06:03 -0300
committerKhem Raj <raj.khem@gmail.com>2020-05-21 15:09:34 -0700
commit0a7a998120c930e427b02de73bc48b78a0022dd2 (patch)
tree5fcb44da812c2288fd998becebc52b18d9fba8f2
parent8398669b9d423d13a086160af48e0a1185c9644f (diff)
downloadmeta-openembedded-0a7a998120c930e427b02de73bc48b78a0022dd2.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>
-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"