From 31b5e4109ab7af37f6c31164b6acb5b1e6649d2a Mon Sep 17 00:00:00 2001 From: Domarys Correa Date: Thu, 21 May 2020 12:06:03 -0300 Subject: python3-jinja2: Update 2.11.1 -> 2.11.2 Add .inc file to .bb, as updated to python3 Signed-off-by: Domarys Correa Acked-by: Trevor Gamblin Signed-off-by: Khem Raj (cherry picked from commit 0a7a998120c930e427b02de73bc48b78a0022dd2) Signed-off-by: Armin Kuster --- .../recipes-devtools/python/python-jinja2.inc | 33 ----------------- .../python/python3-jinja2_2.11.1.bb | 4 -- .../python/python3-jinja2_2.11.2.bb | 43 ++++++++++++++++++++++ 3 files changed, 43 insertions(+), 37 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-jinja2.inc delete mode 100644 meta-python/recipes-devtools/python/python3-jinja2_2.11.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-jinja2_2.11.2.bb (limited to 'meta-python/recipes-devtools/python') 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 @@ -DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python." -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" - -PYPI_PACKAGE = "Jinja2" - -SRC_URI[md5sum] = "5d88c7e77aa63fc852a04f65dbfe5594" -SRC_URI[sha256sum] = "93187ffbc7808079673ef52771baa950426fd664d3aad1d0fa3e95644360e250" - -RDEPENDS_${PN} += "${PYTHON_PN}-io ${PYTHON_PN}-pickle ${PYTHON_PN}-crypt \ - ${PYTHON_PN}-math ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-pprint ${PYTHON_PN}-shell ${PYTHON_PN}-markupsafe \ - ${PYTHON_PN}-json ${PYTHON_PN}-threading ${PYTHON_PN}-numbers" - -CLEANBROKEN = "1" - -BBCLASSEXTEND = "native nativesdk" - -inherit ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-unixadmin \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} 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 @@ -inherit pypi setuptools3 -require python-jinja2.inc - -RDEPENDS_${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 @@ +DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python." + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462" + +SRC_URI[sha256sum] = "89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0" + +PYPI_PACKAGE = "Jinja2" + +CLEANBROKEN = "1" + +inherit pypi setuptools3 ptest + +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}-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" -- cgit 1.2.3-korg