From 1a5807e4c77bf8a64271ef28704b5c13d2ae405a Mon Sep 17 00:00:00 2001 From: Jan Vermaete Date: Fri, 31 May 2024 21:46:50 +0200 Subject: python3-flask: upgrade 3.0.2 -> 3.0.3 Changelog: The default hashlib.sha1 may not be available in FIPS builds. Don't access it at import time so the developer has time to change the default. #5448 Don't initialize the cli attribute in the sansio scaffold, but rather in the Flask concrete class. #5270 The license file was renamed from LICENSE.rst to LICENSE.txt without changing the content. Signed-off-by: Jan Vermaete Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-flask_3.0.3.bb | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-flask_3.0.3.bb (limited to 'meta-python/recipes-devtools/python/python3-flask_3.0.3.bb') diff --git a/meta-python/recipes-devtools/python/python3-flask_3.0.3.bb b/meta-python/recipes-devtools/python/python3-flask_3.0.3.bb new file mode 100644 index 0000000000..98e773008c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flask_3.0.3.bb @@ -0,0 +1,34 @@ +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] = "ceb27b0af3823ea2737928a4d99d125a06175b8512c445cbd9a9ce200ef76842" + +SRC_URI += " \ + file://run-ptest \ +" + +UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Flask" +UPSTREAM_CHECK_REGEX = "/Flask/(?P(\d+[\.\-_]*)+)" + +inherit pypi python_setuptools_build_meta ptest + +CLEANBROKEN = "1" + +RDEPENDS:${PN} = " \ + python3-blinker \ + python3-click \ + python3-itsdangerous \ + python3-jinja2 \ + python3-profile \ + python3-werkzeug \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf