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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2024-01-02 15:08:15 +08:00
committed by Khem Raj
parent e17de9ffb9
commit a50b58f626

View File

@@ -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: Its 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<pver>(\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 \
"