From nobody Sat Nov 18 11:14:01 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SXWP52qjXz50xnD; Sat, 18 Nov 2023 11:14:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SXWP52NQfz4NLy; Sat, 18 Nov 2023 11:14:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700306041; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JKvMYzt0Nr0d1e8T8wNK6RDtYHnqho+2xlJOHBGmz+Y=; b=Xo+fyfvZGD9UdrR7uwu1ZN3ADUnlSpy3vzfja2DClwNAGZXR5sSRUgl63wnBCU6OKelKmN ATs6s60LisUq1m+t6LCcaPhpScf2kwfQAamI6GFlAJi8ZDV/BSUV6ArlSNK5801NCVmBuH 9jgK/0t/zq/QydAQGsFsU92RxF3XILFN3r4mCG0NlYfMyUUqOotXRQ6Uv6QvRIhTwQX30u uAP6CN9HZrTEPn0D5EKuCwU54OoFnpxjMVSUTxz1+DmtQ/HAk8IYBSqSCs8p8XoYkt2eP9 aF5U0uMQYPxLC/9SvD/LfWKpVc5yRzgm5xjccemazPutyME7WuCtuu5h5K0dWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700306041; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JKvMYzt0Nr0d1e8T8wNK6RDtYHnqho+2xlJOHBGmz+Y=; b=j1w/b+9elhlar7THktM1jc9xGpIeGmQE8R4NI6IuI5YbIgwEJMgNBT35ixdXthqtUDn925 tmyk6zhSD68w5ZUKMaN3Lxqv8bLOE3ix8T+rropEtz2/Y/0qfG21+BnU6m/Ph76haSlKKk NL5Ri57HVpo4Sjmtcdchkn6DgUukwkY+ul4eCZlBA3ewQmaHek7WQ8ov5T9ChlNvbNY7PW 0UypcdE2KuXsgNNKwpsZJssK+aCXPqqSkvUEoniDIEI4ARkBN3SOIzeplA4u4YIIYmZfeC fxeYpXp1eTBPZ/MxoIHKRJQuZEIOhq+LjtQKGtYaqSNpUYgSZJ247N69Fi0kNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700306041; a=rsa-sha256; cv=none; b=av4vsxVXfWAooMgLIDs92vGlo8oF4BOjRjgR/BMlxOSJ382JgehbeJmbQrHofO5pf939cn OVNadS2XMkitk0vw6W/GFMYuyBiE495SfoQBM/bV628a+bStn7vUhEx/gdf2azEdkPYSmA HuicMpFi0yeNOTidNmVwqdLzP3q2oDrNg0LQnzA9XZ8odzR+9/MsGxy5+c89GvV6seYqAu QRKBh6aUsrI+zSLMYTSZWiD3RugeUgaVqPHJlqxgcar2wZXMgmuMyoTKaoogo4oj7qAX5l IFnn9sSdP3doH5Hx8dpbkFhm8+XFpMm+1xmVWUFrUaYixHviTZ1rhsJeMB3W/Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SXWP51S67z98x; Sat, 18 Nov 2023 11:14:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AIBE1B6098478; Sat, 18 Nov 2023 11:14:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AIBE1Kd098475; Sat, 18 Nov 2023 11:14:01 GMT (envelope-from git) Date: Sat, 18 Nov 2023 11:14:01 GMT Message-Id: <202311181114.3AIBE1Kd098475@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dries Michiels Subject: git: 67a69f9ef3a9 - main - www/py-flask-limiter: add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: driesm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 67a69f9ef3a9abaa601ed872025546680f9e7282 Auto-Submitted: auto-generated The branch main has been updated by driesm: URL: https://cgit.FreeBSD.org/ports/commit/?id=67a69f9ef3a9abaa601ed872025546680f9e7282 commit 67a69f9ef3a9abaa601ed872025546680f9e7282 Author: Dries Michiels AuthorDate: 2023-11-18 11:10:33 +0000 Commit: Dries Michiels 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 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.