From fddb6013208ceb8d8a08b0c37ab5c41eb535ed04 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 17 Feb 2026 17:14:38 +0200 Subject: [PATCH] python3-flask-limiter: Add recipe Rate limiting for flask applications. Add recipe for release 4.1.1: - Ensure cli commands fail gracefully when cli dependencies are not installed. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-flask-limiter_4.1.1.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-flask-limiter_4.1.1.bb diff --git a/meta-python/recipes-devtools/python/python3-flask-limiter_4.1.1.bb b/meta-python/recipes-devtools/python/python3-flask-limiter_4.1.1.bb new file mode 100644 index 0000000000..7c2e18ffba --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flask-limiter_4.1.1.bb @@ -0,0 +1,21 @@ +SUMMARY = "Rate Limiting extension for Flask" +DESCRIPTION = "Flask-Limiter adds rate limiting to Flask applications." +HOMEPAGE = "https://github.com/alisaifee/flask-limiter" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2455d5e574bc0fc489411ca45766ac78" + +SRC_URI[sha256sum] = "ca11608fc7eec43dcea606964ca07c3bd4ec1ae89043a0f67f717899a4f48106" + +PYPI_PACKAGE = "flask_limiter" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +inherit pypi python_hatchling + +DEPENDS += "python3-hatch-vcs-native" + +RDEPENDS:${PN} += " \ + python3-flask \ + python3-limits \ + python3-ordered-set \ + python3-werkzeug \ +"