From 3cf73983b7c742b4cffcda488e1515a186c484b1 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Wed, 8 Jul 2020 21:08:10 -0700 Subject: [PATCH] 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/python3-flask-babel_0.12.2.bb | 2 -- .../{python-flask-babel.inc => python3-flask-babel_1.0.0.bb} | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-flask-babel_0.12.2.bb rename meta-python/recipes-devtools/python/{python-flask-babel.inc => python3-flask-babel_1.0.0.bb} (66%) 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/python-flask-babel.inc b/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb similarity index 66% rename from meta-python/recipes-devtools/python/python-flask-babel.inc rename to meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb index 0e507f3372..d968be3ee2 100644 --- a/meta-python/recipes-devtools/python/python-flask-babel.inc +++ b/meta-python/recipes-devtools/python/python3-flask-babel_1.0.0.bb @@ -2,12 +2,11 @@ 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" +SRC_URI[sha256sum] = "d6a70468f9a8919d59fba2a291a003da3a05ff884275dddbd965f3b98b09ab3e" PYPI_PACKAGE = "Flask-Babel" -inherit pypi +inherit pypi setuptools3 RDEPENDS_${PN} += "\ ${PYTHON_PN}-speaklater \