From 3cf73983b7c742b4cffcda488e1515a186c484b1 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Wed, 8 Jul 2020 21:08:10 -0700 Subject: python3-flask-babel: update to 1.0.0 and consolidate The python3-werkzeug 1.0.0 requires this package to be updated. Fixes: File "/usr/lib/python3.8/site-packages/flask_babel/__init__.py", line 19, in from werkzeug import ImmutableDict ImportError: cannot import name 'ImmutableDict' from 'werkzeug' (/usr/lib/python3.8/site-packages/werkzeug/__init__.py) https://github.com/python-babel/flask-babel/issues/162 Signed-off-by: Armin Kuster Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../recipes-devtools/python/python-flask-babel.inc | 16 ---------------- .../python/python3-flask-babel_0.12.2.bb | 2 -- .../recipes-devtools/python/python3-flask-babel_1.0.0.bb | 15 +++++++++++++++ 3 files changed, 15 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-flask-babel.inc delete mode 100644 meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb diff --git a/meta-python/recipes-devtools/python/python-flask-babel.inc b/meta-python/recipes-devtools/python/python-flask-babel.inc deleted file mode 100644 index 0e507f3372..0000000000 --- a/meta-python/recipes-devtools/python/python-flask-babel.inc +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "i18n and l10n support for Flask based on babel and pytz" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=51917f3e8e858f5ae295a7d0e2eb3cc9" - -SRC_URI[md5sum] = "fcf2f360ff279d3133e40974804efd72" -SRC_URI[sha256sum] = "316ad183e42003f3922957fa643d0a1e8e34a0f0301a88c3a8f605bc37ba5c86" - -PYPI_PACKAGE = "Flask-Babel" - -inherit pypi - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-speaklater \ - ${PYTHON_PN}-babel \ - ${PYTHON_PN}-flask \ - " diff --git a/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb b/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb deleted file mode 100644 index 104e7c28f1..0000000000 --- a/meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb +++ /dev/null @@ -1,2 +0,0 @@ -inherit pypi setuptools3 -require python-flask-babel.inc diff --git a/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb b/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb new file mode 100644 index 0000000000..d968be3ee2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "i18n and l10n support for Flask based on babel and pytz" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=51917f3e8e858f5ae295a7d0e2eb3cc9" + +SRC_URI[sha256sum] = "d6a70468f9a8919d59fba2a291a003da3a05ff884275dddbd965f3b98b09ab3e" + +PYPI_PACKAGE = "Flask-Babel" + +inherit pypi setuptools3 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-speaklater \ + ${PYTHON_PN}-babel \ + ${PYTHON_PN}-flask \ + " -- cgit v1.2.3-54-g00ecf