pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www py-flask-jwt-extended: added version 3.18.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/794fb25200c7
branches: trunk
changeset: 335337:794fb25200c7
user: adam <adam%pkgsrc.org@localhost>
date: Mon Jun 17 20:57:39 2019 +0000
description:
py-flask-jwt-extended: added version 3.18.2
Flask-JWT-Extended not only adds support for using JSON Web Tokens (JWT) to
Flask for protecting views, but also many helpful (and optional) features built
in to make working with JSON Web Tokens easier. These include:
* Support for adding custom claims to JSON Web Tokens
* Custom claims validation on received tokens
* Creating tokens from complex objects or complex object from received tokens
* Refresh tokens
* Token freshness and separate view decorators to only allow fresh tokens
* Token revoking/blacklisting
* Storing tokens in cookies and CSRF protection
diffstat:
www/Makefile | 4 +++-
www/py-flask-jwt-extended/DESCR | 10 ++++++++++
www/py-flask-jwt-extended/Makefile | 26 ++++++++++++++++++++++++++
www/py-flask-jwt-extended/PLIST | 31 +++++++++++++++++++++++++++++++
www/py-flask-jwt-extended/distinfo | 6 ++++++
5 files changed, 76 insertions(+), 1 deletions(-)
diffs (114 lines):
diff -r 9e84edc0d7d0 -r 794fb25200c7 www/Makefile
--- a/www/Makefile Mon Jun 17 20:56:58 2019 +0000
+++ b/www/Makefile Mon Jun 17 20:57:39 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1388 2019/06/15 09:38:03 adam Exp $
+# $NetBSD: Makefile,v 1.1389 2019/06/17 20:57:39 adam Exp $
#
COMMENT= Packages related to the World Wide Web
@@ -682,6 +682,7 @@
SUBDIR+= py-filebrowser_safe
SUBDIR+= py-flask
SUBDIR+= py-flask-admin
+SUBDIR+= py-flask-api
SUBDIR+= py-flask-assets
SUBDIR+= py-flask-babel
SUBDIR+= py-flask-babelex
@@ -692,6 +693,7 @@
SUBDIR+= py-flask-debugtoolbar
SUBDIR+= py-flask-flatpages
SUBDIR+= py-flask-frozen
+SUBDIR+= py-flask-jwt-extended
SUBDIR+= py-flask-limiter
SUBDIR+= py-flask-login
SUBDIR+= py-flask-mail
diff -r 9e84edc0d7d0 -r 794fb25200c7 www/py-flask-jwt-extended/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-jwt-extended/DESCR Mon Jun 17 20:57:39 2019 +0000
@@ -0,0 +1,10 @@
+Flask-JWT-Extended not only adds support for using JSON Web Tokens (JWT) to
+Flask for protecting views, but also many helpful (and optional) features built
+in to make working with JSON Web Tokens easier. These include:
+* Support for adding custom claims to JSON Web Tokens
+* Custom claims validation on received tokens
+* Creating tokens from complex objects or complex object from received tokens
+* Refresh tokens
+* Token freshness and separate view decorators to only allow fresh tokens
+* Token revoking/blacklisting
+* Storing tokens in cookies and CSRF protection
diff -r 9e84edc0d7d0 -r 794fb25200c7 www/py-flask-jwt-extended/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-jwt-extended/Makefile Mon Jun 17 20:57:39 2019 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2019/06/17 20:57:39 adam Exp $
+
+DISTNAME= Flask-JWT-Extended-3.18.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=F/Flask-JWT-Extended/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/vimalloc/flask-jwt-extended
+COMMENT= Extended JWT integration with Flask
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-JWT-[0-9]*:../../textproc/py-JWT
+DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-cryptography>=2.3:../../security/py-cryptography
+DEPENDS+= ${PYPKGPREFIX}-werkzeug>=0.14:../../www/py-werkzeug
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+do-test:
+ cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9e84edc0d7d0 -r 794fb25200c7 www/py-flask-jwt-extended/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-jwt-extended/PLIST Mon Jun 17 20:57:39 2019 +0000
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1 2019/06/17 20:57:39 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/flask_jwt_extended/__init__.py
+${PYSITELIB}/flask_jwt_extended/__init__.pyc
+${PYSITELIB}/flask_jwt_extended/__init__.pyo
+${PYSITELIB}/flask_jwt_extended/config.py
+${PYSITELIB}/flask_jwt_extended/config.pyc
+${PYSITELIB}/flask_jwt_extended/config.pyo
+${PYSITELIB}/flask_jwt_extended/default_callbacks.py
+${PYSITELIB}/flask_jwt_extended/default_callbacks.pyc
+${PYSITELIB}/flask_jwt_extended/default_callbacks.pyo
+${PYSITELIB}/flask_jwt_extended/exceptions.py
+${PYSITELIB}/flask_jwt_extended/exceptions.pyc
+${PYSITELIB}/flask_jwt_extended/exceptions.pyo
+${PYSITELIB}/flask_jwt_extended/jwt_manager.py
+${PYSITELIB}/flask_jwt_extended/jwt_manager.pyc
+${PYSITELIB}/flask_jwt_extended/jwt_manager.pyo
+${PYSITELIB}/flask_jwt_extended/tokens.py
+${PYSITELIB}/flask_jwt_extended/tokens.pyc
+${PYSITELIB}/flask_jwt_extended/tokens.pyo
+${PYSITELIB}/flask_jwt_extended/utils.py
+${PYSITELIB}/flask_jwt_extended/utils.pyc
+${PYSITELIB}/flask_jwt_extended/utils.pyo
+${PYSITELIB}/flask_jwt_extended/view_decorators.py
+${PYSITELIB}/flask_jwt_extended/view_decorators.pyc
+${PYSITELIB}/flask_jwt_extended/view_decorators.pyo
diff -r 9e84edc0d7d0 -r 794fb25200c7 www/py-flask-jwt-extended/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-flask-jwt-extended/distinfo Mon Jun 17 20:57:39 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/06/17 20:57:39 adam Exp $
+
+SHA1 (Flask-JWT-Extended-3.18.2.tar.gz) = b82cf326791b39cb49046076e45e62af4d7c772f
+RMD160 (Flask-JWT-Extended-3.18.2.tar.gz) = 17f14b7c622a8b76f0b422cdae013e3a13994fd6
+SHA512 (Flask-JWT-Extended-3.18.2.tar.gz) = 13c853d002d5dc9b30bbc029ab24009e449d4ce3d62384bd97b1676a305193b72dce2f2b9251e6a2a55f70011d0d2f31f97ac90b5ccebb556db3d7aa6284b2f7
+Size (Flask-JWT-Extended-3.18.2.tar.gz) = 30131 bytes
Home |
Main Index |
Thread Index |
Old Index