[oe] [meta-python][PATCH 03/13] python[3]-fask-migrate: new recipes

akuster808 akuster808 at gmail.com
Wed Dec 6 02:13:57 UTC 2017



On 12/01/2017 09:12 PM, Bill Randle wrote:
> Signed-off-by: Bill Randle <bill.randle at gmail.com>
> ---
>  .../recipes-devtools/python/python-flask-migrate.inc       | 14 ++++++++++++++
>  .../recipes-devtools/python/python-flask-migrate_2.1.1.bb  |  2 ++
>  .../recipes-devtools/python/python3-flask-migrate_2.1.1.bb |  2 ++
>  3 files changed, 18 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python-flask-migrate.inc
>  create mode 100644 meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb
>  create mode 100644 meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-flask-migrate.inc b/meta-python/recipes-devtools/python/python-flask-migrate.inc
> new file mode 100644
> index 0000000..7af4fe1
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-flask-migrate.inc
> @@ -0,0 +1,14 @@
> +DESCRIPTION = "SQLAlchemy database migrations for Flask applications using Alembic"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85"
> +
> +SRC_URI[md5sum] = "def4106c80897b7fad2afb3bc05360e4"
> +SRC_URI[sha256sum] = "b709ca8642559c3c5a81a33ab10839fa052177accd5ba821047a99db635255ed"
> +
> +PYPI_PACKAGE = "Flask-Migrate"
> +
> +RDEPENDS_${PN} += "\
> +    ${PYTHON_PN}-flask-sqlalchemy \
> +    ${PYTHON_PN}-alembic \
> +    ${PYTHON_PN}-flask \
> +    "
> diff --git a/meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb b/meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb
> new file mode 100644
> index 0000000..af79997
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-flask-migrate_2.1.1.bb
> @@ -0,0 +1,2 @@
> +inherit pypi setuptools
> +require python-flask-migrate
> diff --git a/meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb b/meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb
> new file mode 100644
> index 0000000..94abbf3
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-flask-migrate_2.1.1.bb
> @@ -0,0 +1,2 @@
> +inherit pypi setuptools3
Found issue
> +require python-flask-migrate  <<<-- missing .inc

- armin




More information about the Openembedded-devel mailing list