mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Changelog: ============== - Drop support for Python 3.8. - Update minimum dependency versions to latest feature releases. Werkzeug >= 3.1, ItsDangerous >= 2.2, Blinker >= 1.9. - Provide a configuration option to control automatic option responses. - Flask.open_resource/open_instance_resource and Blueprint.open_resource take an encoding parameter to use when opening in text mode. It defaults to utf-8. - Request.max_content_length can be customized per-request instead of only through the MAX_CONTENT_LENGTH config. Added MAX_FORM_MEMORY_SIZE and MAX_FORM_PARTS config. Added documentation about resource limits to the security page. - Add support for the Partitioned cookie attribute (CHIPS), with the SESSION_COOKIE_PARTITIONED config. - -e path takes precedence over default .env and .flaskenv files. load_dotenv loads default files in addition to a path unless load_defaults=False is passed. - Support key rotation with the SECRET_KEY_FALLBACKS config, a list of old secret keys that can still be used for unsigning. Extensions will need to add support. - Fix how setting host_matching=True or subdomain_matching=False interacts with SERVER_NAME. Setting SERVER_NAME no longer restricts requests to only that domain. - Request.trusted_hosts is checked during routing, and can be set through the TRUSTED_HOSTS config. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
39 lines
1.0 KiB
BlitzBasic
39 lines
1.0 KiB
BlitzBasic
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.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75"
|
||
|
||
SRC_URI[sha256sum] = "5f873c5184c897c8d9d1b05df1e3d01b14910ce69607a117bd3277098a5836ac"
|
||
|
||
SRC_URI += " \
|
||
file://run-ptest \
|
||
"
|
||
|
||
UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Flask"
|
||
UPSTREAM_CHECK_REGEX = "/Flask/(?P<pver>(\d+[\.\-_]*)+)"
|
||
|
||
inherit pypi python_setuptools_build_meta ptest
|
||
|
||
CLEANBROKEN = "1"
|
||
|
||
RDEPENDS:${PN} = " \
|
||
python3-blinker \
|
||
python3-click \
|
||
python3-itsdangerous \
|
||
python3-jinja2 \
|
||
python3-profile \
|
||
python3-werkzeug \
|
||
"
|
||
|
||
RDEPENDS:${PN}-ptest += "\
|
||
python3-pytest \
|
||
python3-unittest-automake-output \
|
||
"
|
||
do_install_ptest() {
|
||
install -d ${D}${PTEST_PATH}/tests
|
||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||
}
|