Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2024 01:55:25 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 26553ca00e2a - main - www/py-flask-jwt: New port: JWT token authentication for Flask apps
Message-ID:  <202401060155.4061tPDc098450@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=26553ca00e2a8b6beedae1552fb5c3a940255a58

commit 26553ca00e2a8b6beedae1552fb5c3a940255a58
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-06 01:35:15 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-06 01:55:22 +0000

    www/py-flask-jwt: New port: JWT token authentication for Flask apps
---
 www/Makefile               |  1 +
 www/py-flask-jwt/Makefile  | 20 ++++++++++++++++++++
 www/py-flask-jwt/distinfo  |  3 +++
 www/py-flask-jwt/pkg-descr |  1 +
 4 files changed, 25 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 3b97a3c2736b..07df1104afb0 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1642,6 +1642,7 @@
     SUBDIR += py-flask-cors
     SUBDIR += py-flask-flatpages
     SUBDIR += py-flask-json
+    SUBDIR += py-flask-jwt
     SUBDIR += py-flask-jwt-extended
     SUBDIR += py-flask-limiter
     SUBDIR += py-flask-login
diff --git a/www/py-flask-jwt/Makefile b/www/py-flask-jwt/Makefile
new file mode 100644
index 000000000000..5dc4d19f7987
--- /dev/null
+++ b/www/py-flask-jwt/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	Flask-JWT
+DISTVERSION=	0.3.2
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	JWT token authentication for Flask apps
+WWW=		https://github.com/mattupstate/flask-jwt
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flask>=0.9:www/py-flask@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyjwt>=1.4.0:www/py-pyjwt@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist pytest # tests fail to run, see https://github.com/mattupstate/flask-jwt/issues/155
+
+.include <bsd.port.mk>
diff --git a/www/py-flask-jwt/distinfo b/www/py-flask-jwt/distinfo
new file mode 100644
index 000000000000..b2cec4c38a3e
--- /dev/null
+++ b/www/py-flask-jwt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1704499464
+SHA256 (Flask-JWT-0.3.2.tar.gz) = 49c0672fbde0f1cd3374bd834918d28956e3c521c7e00089cdc5380d323bd0ad
+SIZE (Flask-JWT-0.3.2.tar.gz) = 9892
diff --git a/www/py-flask-jwt/pkg-descr b/www/py-flask-jwt/pkg-descr
new file mode 100644
index 000000000000..e894149d0173
--- /dev/null
+++ b/www/py-flask-jwt/pkg-descr
@@ -0,0 +1 @@
+Flask-JWT allows to add basic JWT features to Flask applications.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401060155.4061tPDc098450>