From 2fbcbeb2d6eb446427674e28baa587b7214cdfd6 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 27 Aug 2020 17:55:00 +0300 Subject: python3-flask-migrate: Upgrade 2.5.2 -> 2.5.3 Upgrade to release 2.5.3: - Allow Path objects to be used as directory parameter - Use same database URLs as Flask-SQLAlchemy - Document how to set up with init_app method - Document how to include a message in initial migrate - Remove checks for alembic 0.7.0. Flask-Migrate requires alembic >= 0.7 in its setup.py file, which makes all the checks for this version obsolete. - Use sys.executable in tests, also re-order imports - Cosmetic improvements to help messages Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-flask-migrate_2.5.3.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-flask-migrate_2.5.3.bb (limited to 'meta-python/recipes-devtools/python/python3-flask-migrate_2.5.3.bb') diff --git a/meta-python/recipes-devtools/python/python3-flask-migrate_2.5.3.bb b/meta-python/recipes-devtools/python/python3-flask-migrate_2.5.3.bb new file mode 100644 index 0000000000..54fa1dd972 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flask-migrate_2.5.3.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "SQLAlchemy database migrations for Flask applications using Alembic" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85" + +SRC_URI[md5sum] = "707d4a5fd4e11d3113a1228aa7793176" +SRC_URI[sha256sum] = "a69d508c2e09d289f6e55a417b3b8c7bfe70e640f53d2d9deb0d056a384f37ee" + +PYPI_PACKAGE = "Flask-Migrate" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-flask-sqlalchemy \ + ${PYTHON_PN}-alembic \ + ${PYTHON_PN}-flask \ + " -- cgit v1.2.3-54-g00ecf