From a50b58f6268dc20cccf78f2586dccbb11f907ce7 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 2 Jan 2024 15:08:15 +0800 Subject: python3-flask: upgrade 2.3.3 -> 3.0.0 Changelog: ============ -Remove previously deprecated code. -Deprecate the __version__ attribute. Use feature detection, or importlib.metadata.version("flask"), instead. -Restructure the code such that the Flask (app) and Blueprint classes have Sans-IO bases. -Allow self as an argument to url_for. -Require Werkzeug >= 3.0.0. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-flask_3.0.0.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-flask_3.0.0.bb (limited to 'meta-python/recipes-devtools/python/python3-flask_3.0.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-flask_3.0.0.bb b/meta-python/recipes-devtools/python/python3-flask_3.0.0.bb new file mode 100644 index 0000000000..e0afd3718f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flask_3.0.0.bb @@ -0,0 +1,25 @@ +SUMMARY = "A microframework based on Werkzeug, Jinja2 and good intentions" +DESCRIPTION = "\ +Flask is a microframework for Python based on Werkzeug, Jinja 2 and good \ +intentions. And before you ask: It’s BSD licensed!" +HOMEPAGE = "https://github.com/mitsuhiko/flask/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" + +SRC_URI[sha256sum] = "cfadcdb638b609361d29ec22360d6070a77d7463dcb3ab08d2c2f2f168845f58" + +UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Flask" +UPSTREAM_CHECK_REGEX = "/Flask/(?P(\d+[\.\-_]*)+)" + +inherit pypi python_setuptools_build_meta + +CLEANBROKEN = "1" + +RDEPENDS:${PN} = " \ + ${PYTHON_PN}-blinker \ + ${PYTHON_PN}-click \ + ${PYTHON_PN}-itsdangerous \ + ${PYTHON_PN}-jinja2 \ + ${PYTHON_PN}-profile \ + ${PYTHON_PN}-werkzeug \ +" -- cgit v1.2.3-54-g00ecf