55ced36bf8
Release 4.0.0 includes a lot of breaking changes, and will require some manual intervention to upgrade, see https://flask-jwt-extended.readthedocs.io/en/stable/v4_upgrade_guide/ Changelog: https://github.com/vimalloc/flask-jwt-extended/compare/3.25.0...4.3.1 PR: 254039
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
PORTNAME= flask-jwt-extended
|
|
PORTVERSION= 4.3.1
|
|
CATEGORIES= www devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= Flask-JWT-Extended-${DISTVERSION}
|
|
|
|
MAINTAINER= meka@tilda.center
|
|
COMMENT= Extended JWT integration with Flask
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}werkzeug>=0:www/py-werkzeug@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pyjwt>=0:www/py-pyjwt@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}cryptography>=0:security/py-cryptography@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}cryptography>=0:devel/py-dateutil@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
TEST_ENV= PYTHONPATH=${WRKSRC}/src
|
|
|
|
NO_ARCH= yes
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
|
|
-k 'not test_jwt_optional'
|
|
|
|
.include <bsd.port.mk>
|