diff mbox series

[meta-python,2/2] python3-flask-limiter: Add recipe

Message ID 20260217151438.2960648-2-leon.anavi@konsulko.com
State New
Headers show
Series [meta-python,1/2] python3-limits: Add recipe | expand

Commit Message

Leon Anavi Feb. 17, 2026, 3:14 p.m. UTC
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 <leon.anavi@konsulko.com>
---
 .../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 mbox series

Patch

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 \
+"