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> |