From e5a2438e3e94410130a820cad3de65bc53bd0d56 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 25 Aug 2020 16:26:32 +0300 Subject: python3-flask: Consolidate in a single file Consolidate inc and bb files into a single bb file. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python-flask.inc | 16 ---------------- .../recipes-devtools/python/python3-flask_1.1.1.bb | 18 +++++++++++++++++- 2 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-flask.inc diff --git a/meta-python/recipes-devtools/python/python-flask.inc b/meta-python/recipes-devtools/python/python-flask.inc deleted file mode 100644 index 1263383da..000000000 --- a/meta-python/recipes-devtools/python/python-flask.inc +++ /dev/null @@ -1,16 +0,0 @@ -SUMMARY = "A microframework based on Werkzeug, Jinja2 and good intentions" -DESCRIPTION = "\ -Flask is a microframework for Python based on Werkzeug, Jinja 2 and good \ -intentions. And before you ask: It’s BSD licensed!" -HOMEPAGE = "https://github.com/mitsuhiko/flask/" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" - -SRC_URI[md5sum] = "0e3ed44ece1c489ed835d1b7047e349c" -SRC_URI[sha256sum] = "13f9f196f330c7c2c5d7a5cf91af894110ca0215ac051b5844701f2bfd934d52" - -CLEANBROKEN = "1" - -PYPI_PACKAGE = "Flask" - -RDEPENDS_${PN} = "${PYTHON_PN}-werkzeug ${PYTHON_PN}-jinja2 ${PYTHON_PN}-itsdangerous ${PYTHON_PN}-click" diff --git a/meta-python/recipes-devtools/python/python3-flask_1.1.1.bb b/meta-python/recipes-devtools/python/python3-flask_1.1.1.bb index cd439900c..fbe1ca00e 100644 --- a/meta-python/recipes-devtools/python/python3-flask_1.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-flask_1.1.1.bb @@ -1,2 +1,18 @@ +SUMMARY = "A microframework based on Werkzeug, Jinja2 and good intentions" +DESCRIPTION = "\ +Flask is a microframework for Python based on Werkzeug, Jinja 2 and good \ +intentions. And before you ask: It’s BSD licensed!" +HOMEPAGE = "https://github.com/mitsuhiko/flask/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" + +SRC_URI[md5sum] = "0e3ed44ece1c489ed835d1b7047e349c" +SRC_URI[sha256sum] = "13f9f196f330c7c2c5d7a5cf91af894110ca0215ac051b5844701f2bfd934d52" + +PYPI_PACKAGE = "Flask" + inherit pypi setuptools3 -require python-flask.inc + +CLEANBROKEN = "1" + +RDEPENDS_${PN} = "${PYTHON_PN}-werkzeug ${PYTHON_PN}-jinja2 ${PYTHON_PN}-itsdangerous ${PYTHON_PN}-click" -- cgit v1.2.3-54-g00ecf