View | Details | Raw Unified | Return to bug 242819
Collapse All | Expand All

(-)b/www/Makefile (+1 lines)
Lines 1630-1635 Link Here
1630
    SUBDIR += py-flask-compress
1630
    SUBDIR += py-flask-compress
1631
    SUBDIR += py-flask-cors
1631
    SUBDIR += py-flask-cors
1632
    SUBDIR += py-flask-flatpages
1632
    SUBDIR += py-flask-flatpages
1633
    SUBDIR += py-flask-jwt-extended
1633
    SUBDIR += py-flask-login
1634
    SUBDIR += py-flask-login
1634
    SUBDIR += py-flask-marshmallow
1635
    SUBDIR += py-flask-marshmallow
1635
    SUBDIR += py-flask-migrate
1636
    SUBDIR += py-flask-migrate
(-)b/www/py-flask-jwt-extended/Makefile (+35 lines)
Added Link Here
1
# $FreeBSD$
2
3
PORTNAME=	Flask-JWT-Extended
4
PORTVERSION=	3.24.1
5
CATEGORIES=	www devel python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	meka@tilda.center
10
COMMENT=	Extended JWT integration with Flask
11
12
LICENSE=	BSD
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}pyjwt>=0:www/py-pyjwt@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
19
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}cryptography>=0:devel/py-dateutil@${PY_FLAVOR}
23
24
USES=		python:3.5+
25
USE_PYTHON=	autoplist concurrent distutils
26
27
TEST_ENV=	PYTHONPATH=${WRKSRC}/src
28
29
NO_ARCH=	yes
30
31
do-test:
32
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
33
		-k 'not test_jwt_optional'
34
35
.include <bsd.port.mk>
(-)b/www/py-flask-jwt-extended/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1577010708
2
SHA256 (Flask-JWT-Extended-3.24.1.tar.gz) = 0aa8ee6fa7eb3be9314e39dd199ac8e19389a95371f9d54e155c7aa635e319dd
3
SIZE (Flask-JWT-Extended-3.24.1.tar.gz) = 31251
(-)b/www/py-flask-jwt-extended/pkg-descr (+13 lines)
Added Link Here
1
Flask-JWT-Extended not only adds support for using JSON Web Tokens (JWT) to
2
Flask for protecting views, but also many helpful (and optional) features built
3
in to make working with JSON Web Tokens easier. These include:
4
5
  - Support for adding custom claims to JSON Web Tokens
6
  - Custom claims validation on received tokens
7
  - Creating tokens from complex objects or complex object from received tokens
8
  - Refresh tokens
9
  - Token freshness and separate view decorators to only allow fresh tokens
10
  - Token revoking/blacklisting
11
  - Storing tokens in cookies and CSRF protection
12
13
WWW: https://github.com/coleifer/flask-peewee

Return to bug 242819