FreeBSD Bugzilla – Attachment 210121 Details for
Bug 242617
[NEW PORT] www/py-flask-security: Simple security for Flask apps
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-flask-security.diff
py-flask-security.diff (text/plain), 5.50 KB, created by
Goran Mekić
on 2019-12-21 23:53:34 UTC
(
hide
)
Description:
py-flask-security.diff
Filename:
MIME Type:
Creator:
Goran Mekić
Created:
2019-12-21 23:53:34 UTC
Size:
5.50 KB
patch
obsolete
>commit 49d7388e75799c73cf78b1032fb02cd9bc0c40d6 >Author: Goran MekiÄ <meka@tilda.center> >Date: Wed Dec 18 02:08:27 2019 +0100 > > Add flask-security > >diff --git a/www/Makefile b/www/Makefile >index 374f8e72aaba..d67092a7a094 100644 >--- a/www/Makefile >+++ b/www/Makefile >@@ -1642,6 +1642,7 @@ > SUBDIR += py-flask-restful > SUBDIR += py-flask-restplus > SUBDIR += py-flask-script >+ SUBDIR += py-flask-security > SUBDIR += py-flask-socketio > SUBDIR += py-flask-sockets > SUBDIR += py-flask-uploads >diff --git a/www/py-flask-security/Makefile b/www/py-flask-security/Makefile >new file mode 100644 >index 000000000000..3fb02261ba27 >--- /dev/null >+++ b/www/py-flask-security/Makefile >@@ -0,0 +1,80 @@ >+# $FreeBSD$ >+ >+PORTNAME= Flask-Security >+PORTVERSION= 3.0.0 >+CATEGORIES= www devel python >+MASTER_SITES= CHEESESHOP >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= meka@tilda.center >+COMMENT= Simple security for Flask apps >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}Babel>=0:devel/py-babel@${PY_FLAVOR} >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}Flask-Login>=0:www/py-flask-login@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}Flask-Mail>=0:mail/py-flask-mail@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}Flask-Principal>=0:www/py-flask-principal@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}Flask-WTF>=0:www/py-flask-wtf@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}Flask-BabelEx>=0:www/py-flask-babelex@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}itsdangerous>=0:security/py-itsdangerous@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}passlib>=0:security/py-passlib@${PY_FLAVOR} >+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask-SQLAlchemy>=0:databases/py-flask-sqlalchemy@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}bcrypt>=0:security/py-bcrypt@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}check-manifest>=0:devel/py-check-manifest@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}isort>=0:devel/py-isort@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}mongoengine>=0:databases/py-mongoengine@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pydocstyle>=0:devel/py-pydocstyle@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest-cache>=0:devel/py-pytest-cache@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest-flakes>=0:devel/py-pytest-flakes@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}sqlalchemy12>=0:databases/py-sqlalchemy12@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest-translations>=0:devel/py-pytest-translations@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest-pep8>=0:devel/py-pytest-pep8@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}flask-peewee>=0:www/py-flask-peewee@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pony>=0:databases/py-pony@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}flask-mongoengine>=0:www/py-flask-mongoengine@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest-flakes>=0:devel/py-pytest-flakes@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pyflakes>=0:devel/py-pyflakes@${PY_FLAVOR} >+ >+USES= python:3.5+ >+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_disable_register_emails \ >+ and not test_custom_register_tempalate \ >+ and not test_custom_register_url \ >+ and not test_registerable_flag \ >+ and not test_custom_reset_templates \ >+ and not test_custom_reset_url \ >+ and not test_expired_reset_token \ >+ and not test_expired_login_token \ >+ and not test_without_babel \ >+ and not test_password_unicode_password_salt \ >+ and not test_custom_change_url \ >+ and not test_view_configuration \ >+ and not test_template_configuration \ >+ and not test_login_when_unconfirmed \ >+ and not test_passwordless_login_context_processor \ >+ and not test_expired_confirmation_token \ >+ and not test_confirmation_different_user_when_logged_in \ >+ and not test_cannot_reset_password_when_email_is_not_confirmed \ >+ and not test_context_processors \ >+ and not test_custom_change_template \ >+ and not test_disable_change_emails \ >+ and not test_custom_post_change_view \ >+ and not test_context_processors \ >+ and not test_legacy_hash' >+ >+.include <bsd.port.mk> >diff --git a/www/py-flask-security/distinfo b/www/py-flask-security/distinfo >new file mode 100644 >index 000000000000..83bbd35f135f >--- /dev/null >+++ b/www/py-flask-security/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1576631135 >+SHA256 (Flask-Security-3.0.0.tar.gz) = d61daa5f5a48f89f30f50555872bdf581b2c65804668b0313345cd7beff26432 >+SIZE (Flask-Security-3.0.0.tar.gz) = 160367 >diff --git a/www/py-flask-security/pkg-descr b/www/py-flask-security/pkg-descr >new file mode 100644 >index 000000000000..7ff73088001c >--- /dev/null >+++ b/www/py-flask-security/pkg-descr >@@ -0,0 +1,15 @@ >+Flask-Security allows you to quickly add common security mechanisms to your >+Flask application. They include: >+ >+ - Session based authentication >+ - Role management >+ - Password hashing >+ - Basic HTTP authentication >+ - Token based authentication >+ - Token based account activation (optional) >+ - Token based password recovery / resetting (optional) >+ - User registration (optional) >+ - Login tracking (optional) >+ - JSON/Ajax Support >+ >+WWW: https://github.com/mattupstate/flask-security
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242617
:
209906
|
210121
|
210632