1 PORTNAME= flask-security
4 CATEGORIES= www devel python
5 MASTER_SITES= CHEESESHOP
6 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
7 DISTNAME= Flask-Security-${DISTVERSION}
9 MAINTAINER= meka@tilda.center
10 COMMENT= Simple security for Flask apps
11 WWW= https://github.com/mattupstate/flask-security
14 LICENSE_FILE= ${WRKSRC}/LICENSE
16 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR} \
17 ${PYTHON_PKGNAMEPREFIX}Babel>=0:devel/py-babel@${PY_FLAVOR}
18 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \
19 ${PYTHON_PKGNAMEPREFIX}Flask-Login>=0:www/py-flask-login@${PY_FLAVOR} \
20 ${PYTHON_PKGNAMEPREFIX}Flask-Mail>=0:mail/py-flask-mail@${PY_FLAVOR} \
21 ${PYTHON_PKGNAMEPREFIX}Flask-Principal>=0:www/py-flask-principal@${PY_FLAVOR} \
22 ${PYTHON_PKGNAMEPREFIX}Flask-WTF>=0:www/py-flask-wtf@${PY_FLAVOR} \
23 ${PYTHON_PKGNAMEPREFIX}flask-babelex>=0:www/py-flask-babelex@${PY_FLAVOR} \
24 ${PYTHON_PKGNAMEPREFIX}itsdangerous>=0:security/py-itsdangerous@${PY_FLAVOR} \
25 ${PYTHON_PKGNAMEPREFIX}passlib>=0:security/py-passlib@${PY_FLAVOR}
26 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask-sqlalchemy>=0:databases/py-flask-sqlalchemy@${PY_FLAVOR} \
27 ${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \
28 ${PYTHON_PKGNAMEPREFIX}check-manifest>=0:devel/py-check-manifest@${PY_FLAVOR} \
29 ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
30 ${PYTHON_PKGNAMEPREFIX}isort>=0:devel/py-isort@${PY_FLAVOR} \
31 ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
32 ${PYTHON_PKGNAMEPREFIX}mongoengine>=0:databases/py-mongoengine@${PY_FLAVOR} \
33 ${PYTHON_PKGNAMEPREFIX}pydocstyle>=0:devel/py-pydocstyle@${PY_FLAVOR} \
34 ${PYTHON_PKGNAMEPREFIX}pytest4-cache>=0:devel/py-pytest4-cache@${PY_FLAVOR} \
35 ${PYTHON_PKGNAMEPREFIX}pytest4-cov>=0:devel/py-pytest4-cov@${PY_FLAVOR} \
36 ${PYTHON_PKGNAMEPREFIX}pytest4-flakes>=0:devel/py-pytest4-flakes@${PY_FLAVOR} \
37 ${PYTHON_PKGNAMEPREFIX}pytest4>=0:devel/py-pytest4@${PY_FLAVOR} \
38 ${PYTHON_PKGNAMEPREFIX}sqlalchemy12>=0:databases/py-sqlalchemy12@${PY_FLAVOR} \
39 ${PYTHON_PKGNAMEPREFIX}pytest-translations>=0:devel/py-pytest-translations@${PY_FLAVOR} \
40 ${PYTHON_PKGNAMEPREFIX}pytest-pep8>=0:devel/py-pytest-pep8@${PY_FLAVOR} \
41 ${PYTHON_PKGNAMEPREFIX}flask-peewee>=0:www/py-flask-peewee@${PY_FLAVOR} \
42 ${PYTHON_PKGNAMEPREFIX}pony>=0:databases/py-pony@${PY_FLAVOR} \
43 ${PYTHON_PKGNAMEPREFIX}flask-mongoengine>=0:www/py-flask-mongoengine@${PY_FLAVOR} \
44 ${PYTHON_PKGNAMEPREFIX}pyflakes>=0:devel/py-pyflakes@${PY_FLAVOR}
47 USE_PYTHON= autoplist concurrent distutils
49 TEST_ENV= PYTHONPATH=${WRKSRC}/src
54 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
55 -k 'not test_disable_register_emails \
56 and not test_custom_register_tempalate \
57 and not test_custom_register_url \
58 and not test_registerable_flag \
59 and not test_custom_reset_templates \
60 and not test_custom_reset_url \
61 and not test_expired_reset_token \
62 and not test_expired_login_token \
63 and not test_without_babel \
64 and not test_password_unicode_password_salt \
65 and not test_custom_change_url \
66 and not test_view_configuration \
67 and not test_template_configuration \
68 and not test_login_when_unconfirmed \
69 and not test_passwordless_login_context_processor \
70 and not test_expired_confirmation_token \
71 and not test_confirmation_different_user_when_logged_in \
72 and not test_cannot_reset_password_when_email_is_not_confirmed \
73 and not test_context_processors \
74 and not test_custom_change_template \
75 and not test_disable_change_emails \
76 and not test_custom_post_change_view \
77 and not test_context_processors \
78 and not test_legacy_hash'
80 .include <bsd.port.mk>