Skip to content

Commit

Permalink
www/py-flask-jwt: New port: JWT token authentication for Flask apps
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Jan 6, 2024
1 parent 5010ffc commit 26553ca
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions www/Makefile
Expand Up @@ -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
Expand Down
20 changes: 20 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
1 change: 1 addition & 0 deletions www/py-flask-jwt/pkg-descr
@@ -0,0 +1 @@
Flask-JWT allows to add basic JWT features to Flask applications.

0 comments on commit 26553ca

Please sign in to comment.