From bf2eb8abd175b18570a1a463bcb639b472134493 Mon Sep 17 00:00:00 2001 From: Bill Randle Date: Thu, 7 Dec 2017 21:45:41 -0800 Subject: python-flask-sqlalchemy: move core of recipe to a .inc file Signed-off-by: Bill Randle Signed-off-by: Armin Kuster --- .../recipes-devtools/python/python-flask-sqlalchemy.inc | 10 ++++++++++ .../recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb | 12 +----------- 2 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc b/meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc new file mode 100644 index 0000000000..e0efbc63ae --- /dev/null +++ b/meta-python/recipes-devtools/python/python-flask-sqlalchemy.inc @@ -0,0 +1,10 @@ +DESCRIPTION = "Adds SQLAlchemy support to your Flask application." +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5ed1b8cc741515a835a7f6bf2f62ef4a" + +SRC_URI[md5sum] = "373ce61dfd03b593ad2eaba68c9fee35" +SRC_URI[sha256sum] = "5971b9852b5888655f11db634e87725a9031e170f37c0ce7851cf83497f56e53" + +PYPI_PACKAGE = "Flask-SQLAlchemy" + +RDEPENDS_${PN} = "${PYTHON_PN}-sqlalchemy ${PYTHON_PN}-flask" diff --git a/meta-python/recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb b/meta-python/recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb index 76509171f1..3dc355c5da 100644 --- a/meta-python/recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb +++ b/meta-python/recipes-devtools/python/python-flask-sqlalchemy_2.3.2.bb @@ -1,12 +1,2 @@ -DESCRIPTION = "Adds SQLAlchemy support to your Flask application." -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=5ed1b8cc741515a835a7f6bf2f62ef4a" - -SRC_URI[md5sum] = "373ce61dfd03b593ad2eaba68c9fee35" -SRC_URI[sha256sum] = "5971b9852b5888655f11db634e87725a9031e170f37c0ce7851cf83497f56e53" - -PYPI_PACKAGE = "Flask-SQLAlchemy" - inherit pypi setuptools - -RDEPENDS_${PN} = "${PYTHON_PN}-sqlalchemy ${PYTHON_PN}-flask" +require python-flask-sqlalchemy.inc -- cgit v1.2.3-54-g00ecf