git: 67a69f9ef3a9 - main - www/py-flask-limiter: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Nov 2023 11:14:01 UTC
The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=67a69f9ef3a9abaa601ed872025546680f9e7282 commit 67a69f9ef3a9abaa601ed872025546680f9e7282 Author: Dries Michiels <driesm@FreeBSD.org> AuthorDate: 2023-11-18 11:10:33 +0000 Commit: Dries Michiels <driesm@FreeBSD.org> CommitDate: 2023-11-18 11:12:49 +0000 www/py-flask-limiter: add new port Flask-Limiter adds rate limiting to Flask applications. WWW: https://github.com/alisaifee/flask-limiter --- www/Makefile | 1 + www/py-flask-limiter/Makefile | 18 ++++++++++++++++++ www/py-flask-limiter/distinfo | 3 +++ www/py-flask-limiter/pkg-descr | 4 ++++ 4 files changed, 26 insertions(+) diff --git a/www/Makefile b/www/Makefile index 437a80bea771..03c8091a2a56 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1664,6 +1664,7 @@ SUBDIR += py-flask-flatpages SUBDIR += py-flask-json SUBDIR += py-flask-jwt-extended + SUBDIR += py-flask-limiter SUBDIR += py-flask-login SUBDIR += py-flask-marshmallow SUBDIR += py-flask-migrate diff --git a/www/py-flask-limiter/Makefile b/www/py-flask-limiter/Makefile new file mode 100644 index 000000000000..6dfe05a417dd --- /dev/null +++ b/www/py-flask-limiter/Makefile @@ -0,0 +1,18 @@ +PORTNAME= Flask-Limiter +PORTVERSION= 3.5.0 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= driesm@FreeBSD.org +COMMENT= Flask-Limiter adds rate limiting to Flask applications +WWW= https://github.com/alisaifee/flask-limiter + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.8:www/py-flask@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist distutils concurrent + +.include <bsd.port.mk> diff --git a/www/py-flask-limiter/distinfo b/www/py-flask-limiter/distinfo new file mode 100644 index 000000000000..2ff2d42be77b --- /dev/null +++ b/www/py-flask-limiter/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1700305618 +SHA256 (Flask-Limiter-3.5.0.tar.gz) = 13a3491b994c49f7cb4706587a38ca47e8162b576530472df38be68104f299c0 +SIZE (Flask-Limiter-3.5.0.tar.gz) = 301919 diff --git a/www/py-flask-limiter/pkg-descr b/www/py-flask-limiter/pkg-descr new file mode 100644 index 000000000000..f1739f43d86b --- /dev/null +++ b/www/py-flask-limiter/pkg-descr @@ -0,0 +1,4 @@ +Flask-Limiter adds rate limiting to Flask applications. You can +configure rate limits at different levels such as: application +wide global limits per user, default limits per route, by +blueprints, class based views and individual routes.