pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-flask-user py-flask-user: updated to 1.0.1.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e6ae29fd2e1
branches:  trunk
changeset: 388947:9e6ae29fd2e1
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Dec 16 18:20:57 2018 +0000

description:
py-flask-user: updated to 1.0.1.5

v1.0.1.5 - Removed callbacks/auth0.
v1.0.1.4 - Fixed calls to get_primary_user_email_object().
v1.0.1.3 - Changed custom form class attribute namess from something like self.register_form to something like self.RegisterFormClass
v1.0.1.2 - Use app.permanent_session_lifetime to limit user session lifetime.
v1.0.1.1 - Alpha release

diffstat:

 www/py-flask-user/Makefile |   30 ++++-----
 www/py-flask-user/PLIST    |  138 ++++++++++++++++++++++++++++++---------------
 www/py-flask-user/distinfo |   10 +-
 3 files changed, 110 insertions(+), 68 deletions(-)

diffs (272 lines):

diff -r 76b7772c14bf -r 9e6ae29fd2e1 www/py-flask-user/Makefile
--- a/www/py-flask-user/Makefile        Sun Dec 16 18:03:00 2018 +0000
+++ b/www/py-flask-user/Makefile        Sun Dec 16 18:20:57 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2018/01/07 21:02:49 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2018/12/16 18:20:57 adam Exp $
 
-DISTNAME=      Flask-User-0.6.19
+DISTNAME=      Flask-User-1.0.1.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    python www
+CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=F/Flask-User/}
 DIST_SUBDIR=   ${PKGBASE:tl:S/${PYPKGPREFIX}/py/1}
 
@@ -11,23 +11,19 @@
 COMMENT=       Customizable user account management for Flask
 LICENSE=       2-clause-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-bcrypt-[0-9]*:../../security/py-bcrypt
-DEPENDS+=      ${PYPKGPREFIX}-cryptodome-[0-9]*:../../security/py-cryptodome
-DEPENDS+=      ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
-DEPENDS+=      ${PYPKGPREFIX}-flask-babel-[0-9]*:../../www/py-flask-babel
-DEPENDS+=      ${PYPKGPREFIX}-flask-login-[0-9]*:../../www/py-flask-login
-DEPENDS+=      ${PYPKGPREFIX}-flask-mail-[0-9]*:../../www/py-flask-mail
-DEPENDS+=      ${PYPKGPREFIX}-flask-sqlalchemy-[0-9]*:../../www/py-flask-sqlalchemy
-DEPENDS+=      ${PYPKGPREFIX}-flask-wtf-[0-9]*:../../www/py-flask-wtf
-DEPENDS+=      ${PYPKGPREFIX}-passlib-[0-9]*:../../security/py-passlib
-# TEST_DEPENDS
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+DEPENDS+=      ${PYPKGPREFIX}-bcrypt>=2.0:../../security/py-bcrypt
+DEPENDS+=      ${PYPKGPREFIX}-cryptography>=1.6:../../security/py-cryptodome
+DEPENDS+=      ${PYPKGPREFIX}-flask>=0.9:../../www/py-flask
+DEPENDS+=      ${PYPKGPREFIX}-flask-login>=0.2:../../www/py-flask-login
+DEPENDS+=      ${PYPKGPREFIX}-flask-mail>=0.9:../../www/py-flask-mail
+DEPENDS+=      ${PYPKGPREFIX}-flask-sqlalchemy>=1.0:../../www/py-flask-sqlalchemy
+DEPENDS+=      ${PYPKGPREFIX}-flask-wtf>=0.9:../../www/py-flask-wtf
+DEPENDS+=      ${PYPKGPREFIX}-passlib>=0.6:../../security/py-passlib
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_PKGLOCALEDIR=      yes
 USE_LANGUAGES=         # none
 
-post-extract:
-       ${CHMOD} -x ${WRKSRC}/flask_user/translations/zh/LC_MESSAGES/flask_user.mo
-
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 76b7772c14bf -r 9e6ae29fd2e1 www/py-flask-user/PLIST
--- a/www/py-flask-user/PLIST   Sun Dec 16 18:03:00 2018 +0000
+++ b/www/py-flask-user/PLIST   Sun Dec 16 18:20:57 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2017/12/12 10:28:20 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2018/12/16 18:20:57 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -8,100 +8,134 @@
 ${PYSITELIB}/flask_user/__init__.py
 ${PYSITELIB}/flask_user/__init__.pyc
 ${PYSITELIB}/flask_user/__init__.pyo
-${PYSITELIB}/flask_user/access.py
-${PYSITELIB}/flask_user/access.pyc
-${PYSITELIB}/flask_user/access.pyo
-${PYSITELIB}/flask_user/db_adapters.py
-${PYSITELIB}/flask_user/db_adapters.pyc
-${PYSITELIB}/flask_user/db_adapters.pyo
+${PYSITELIB}/flask_user/db_adapters/__init__.py
+${PYSITELIB}/flask_user/db_adapters/__init__.pyc
+${PYSITELIB}/flask_user/db_adapters/__init__.pyo
+${PYSITELIB}/flask_user/db_adapters/db_adapter_interface.py
+${PYSITELIB}/flask_user/db_adapters/db_adapter_interface.pyc
+${PYSITELIB}/flask_user/db_adapters/db_adapter_interface.pyo
+${PYSITELIB}/flask_user/db_adapters/dynamo_db_adapter.py
+${PYSITELIB}/flask_user/db_adapters/dynamo_db_adapter.pyc
+${PYSITELIB}/flask_user/db_adapters/dynamo_db_adapter.pyo
+${PYSITELIB}/flask_user/db_adapters/mongo_db_adapter.py
+${PYSITELIB}/flask_user/db_adapters/mongo_db_adapter.pyc
+${PYSITELIB}/flask_user/db_adapters/mongo_db_adapter.pyo
+${PYSITELIB}/flask_user/db_adapters/pynamo_db_adapter.py
+${PYSITELIB}/flask_user/db_adapters/pynamo_db_adapter.pyc
+${PYSITELIB}/flask_user/db_adapters/pynamo_db_adapter.pyo
+${PYSITELIB}/flask_user/db_adapters/sql_db_adapter.py
+${PYSITELIB}/flask_user/db_adapters/sql_db_adapter.pyc
+${PYSITELIB}/flask_user/db_adapters/sql_db_adapter.pyo
+${PYSITELIB}/flask_user/db_manager.py
+${PYSITELIB}/flask_user/db_manager.pyc
+${PYSITELIB}/flask_user/db_manager.pyo
 ${PYSITELIB}/flask_user/decorators.py
 ${PYSITELIB}/flask_user/decorators.pyc
 ${PYSITELIB}/flask_user/decorators.pyo
-${PYSITELIB}/flask_user/emails.py
-${PYSITELIB}/flask_user/emails.pyc
-${PYSITELIB}/flask_user/emails.pyo
+${PYSITELIB}/flask_user/email_adapters/__init__.py
+${PYSITELIB}/flask_user/email_adapters/__init__.pyc
+${PYSITELIB}/flask_user/email_adapters/__init__.pyo
+${PYSITELIB}/flask_user/email_adapters/email_adapter_interface.py
+${PYSITELIB}/flask_user/email_adapters/email_adapter_interface.pyc
+${PYSITELIB}/flask_user/email_adapters/email_adapter_interface.pyo
+${PYSITELIB}/flask_user/email_adapters/sendgrid_email_adapter.py
+${PYSITELIB}/flask_user/email_adapters/sendgrid_email_adapter.pyc
+${PYSITELIB}/flask_user/email_adapters/sendgrid_email_adapter.pyo
+${PYSITELIB}/flask_user/email_adapters/sendmail_email_adapter.py
+${PYSITELIB}/flask_user/email_adapters/sendmail_email_adapter.pyc
+${PYSITELIB}/flask_user/email_adapters/sendmail_email_adapter.pyo
+${PYSITELIB}/flask_user/email_adapters/smtp_email_adapter.py
+${PYSITELIB}/flask_user/email_adapters/smtp_email_adapter.pyc
+${PYSITELIB}/flask_user/email_adapters/smtp_email_adapter.pyo
+${PYSITELIB}/flask_user/email_manager.py
+${PYSITELIB}/flask_user/email_manager.pyc
+${PYSITELIB}/flask_user/email_manager.pyo
 ${PYSITELIB}/flask_user/forms.py
 ${PYSITELIB}/flask_user/forms.pyc
 ${PYSITELIB}/flask_user/forms.pyo
-${PYSITELIB}/flask_user/passwords.py
-${PYSITELIB}/flask_user/passwords.pyc
-${PYSITELIB}/flask_user/passwords.pyo
-${PYSITELIB}/flask_user/settings.py
-${PYSITELIB}/flask_user/settings.pyc
-${PYSITELIB}/flask_user/settings.pyo
+${PYSITELIB}/flask_user/legacy_error.py
+${PYSITELIB}/flask_user/legacy_error.pyc
+${PYSITELIB}/flask_user/legacy_error.pyo
+${PYSITELIB}/flask_user/password_manager.py
+${PYSITELIB}/flask_user/password_manager.pyc
+${PYSITELIB}/flask_user/password_manager.pyo
 ${PYSITELIB}/flask_user/signals.py
 ${PYSITELIB}/flask_user/signals.pyc
 ${PYSITELIB}/flask_user/signals.pyo
-${PYSITELIB}/flask_user/templates/base.html
+${PYSITELIB}/flask_user/templates/flask_user/_authorized_base.html
+${PYSITELIB}/flask_user/templates/flask_user/_common_base.html
 ${PYSITELIB}/flask_user/templates/flask_user/_macros.html
+${PYSITELIB}/flask_user/templates/flask_user/_public_base.html
 ${PYSITELIB}/flask_user/templates/flask_user/change_password.html
 ${PYSITELIB}/flask_user/templates/flask_user/change_username.html
+${PYSITELIB}/flask_user/templates/flask_user/edit_user_profile.html
 ${PYSITELIB}/flask_user/templates/flask_user/emails/base_message.html
 ${PYSITELIB}/flask_user/templates/flask_user/emails/base_message.txt
 ${PYSITELIB}/flask_user/templates/flask_user/emails/base_subject.txt
 ${PYSITELIB}/flask_user/templates/flask_user/emails/confirm_email_message.html
 ${PYSITELIB}/flask_user/templates/flask_user/emails/confirm_email_message.txt
 ${PYSITELIB}/flask_user/templates/flask_user/emails/confirm_email_subject.txt
-${PYSITELIB}/flask_user/templates/flask_user/emails/forgot_password_message.html
-${PYSITELIB}/flask_user/templates/flask_user/emails/forgot_password_message.txt
-${PYSITELIB}/flask_user/templates/flask_user/emails/forgot_password_subject.txt
-${PYSITELIB}/flask_user/templates/flask_user/emails/invite_message.html
-${PYSITELIB}/flask_user/templates/flask_user/emails/invite_message.txt
-${PYSITELIB}/flask_user/templates/flask_user/emails/invite_subject.txt
+${PYSITELIB}/flask_user/templates/flask_user/emails/invite_user_message.html
+${PYSITELIB}/flask_user/templates/flask_user/emails/invite_user_message.txt
+${PYSITELIB}/flask_user/templates/flask_user/emails/invite_user_subject.txt
 ${PYSITELIB}/flask_user/templates/flask_user/emails/password_changed_message.html
 ${PYSITELIB}/flask_user/templates/flask_user/emails/password_changed_message.txt
 ${PYSITELIB}/flask_user/templates/flask_user/emails/password_changed_subject.txt
 ${PYSITELIB}/flask_user/templates/flask_user/emails/registered_message.html
 ${PYSITELIB}/flask_user/templates/flask_user/emails/registered_message.txt
 ${PYSITELIB}/flask_user/templates/flask_user/emails/registered_subject.txt
+${PYSITELIB}/flask_user/templates/flask_user/emails/reset_password_message.html
+${PYSITELIB}/flask_user/templates/flask_user/emails/reset_password_message.txt
+${PYSITELIB}/flask_user/templates/flask_user/emails/reset_password_subject.txt
 ${PYSITELIB}/flask_user/templates/flask_user/emails/username_changed_message.html
 ${PYSITELIB}/flask_user/templates/flask_user/emails/username_changed_message.txt
 ${PYSITELIB}/flask_user/templates/flask_user/emails/username_changed_subject.txt
-${PYSITELIB}/flask_user/templates/flask_user/flask_user_base.html
 ${PYSITELIB}/flask_user/templates/flask_user/forgot_password.html
-${PYSITELIB}/flask_user/templates/flask_user/invite.html
+${PYSITELIB}/flask_user/templates/flask_user/invite_user.html
 ${PYSITELIB}/flask_user/templates/flask_user/login.html
+${PYSITELIB}/flask_user/templates/flask_user/login_auth0.html
 ${PYSITELIB}/flask_user/templates/flask_user/login_or_register.html
 ${PYSITELIB}/flask_user/templates/flask_user/manage_emails.html
-${PYSITELIB}/flask_user/templates/flask_user/member_base.html
-${PYSITELIB}/flask_user/templates/flask_user/public_base.html
 ${PYSITELIB}/flask_user/templates/flask_user/register.html
 ${PYSITELIB}/flask_user/templates/flask_user/resend_confirm_email.html
 ${PYSITELIB}/flask_user/templates/flask_user/reset_password.html
-${PYSITELIB}/flask_user/templates/flask_user/user_profile.html
+${PYSITELIB}/flask_user/templates/flask_user_layout.html
 ${PYSITELIB}/flask_user/tests/__init__.py
 ${PYSITELIB}/flask_user/tests/__init__.pyc
 ${PYSITELIB}/flask_user/tests/__init__.pyo
 ${PYSITELIB}/flask_user/tests/conftest.py
 ${PYSITELIB}/flask_user/tests/conftest.pyc
 ${PYSITELIB}/flask_user/tests/conftest.pyo
-${PYSITELIB}/flask_user/tests/test_authorization.py
-${PYSITELIB}/flask_user/tests/test_authorization.pyc
-${PYSITELIB}/flask_user/tests/test_authorization.pyo
 ${PYSITELIB}/flask_user/tests/test_invalid_forms.py
 ${PYSITELIB}/flask_user/tests/test_invalid_forms.pyc
 ${PYSITELIB}/flask_user/tests/test_invalid_forms.pyo
-${PYSITELIB}/flask_user/tests/test_multiple_emails.py
-${PYSITELIB}/flask_user/tests/test_multiple_emails.pyc
-${PYSITELIB}/flask_user/tests/test_multiple_emails.pyo
+${PYSITELIB}/flask_user/tests/test_misc.py
+${PYSITELIB}/flask_user/tests/test_misc.pyc
+${PYSITELIB}/flask_user/tests/test_misc.pyo
 ${PYSITELIB}/flask_user/tests/test_roles.py
 ${PYSITELIB}/flask_user/tests/test_roles.pyc
 ${PYSITELIB}/flask_user/tests/test_roles.pyo
-${PYSITELIB}/flask_user/tests/test_valid_forms.py
-${PYSITELIB}/flask_user/tests/test_valid_forms.pyc
-${PYSITELIB}/flask_user/tests/test_valid_forms.pyo
+${PYSITELIB}/flask_user/tests/test_views.py
+${PYSITELIB}/flask_user/tests/test_views.pyc
+${PYSITELIB}/flask_user/tests/test_views.pyo
+${PYSITELIB}/flask_user/tests/test_zzz_db_adapters.py
+${PYSITELIB}/flask_user/tests/test_zzz_db_adapters.pyc
+${PYSITELIB}/flask_user/tests/test_zzz_db_adapters.pyo
 ${PYSITELIB}/flask_user/tests/tst_app.py
 ${PYSITELIB}/flask_user/tests/tst_app.pyc
 ${PYSITELIB}/flask_user/tests/tst_app.pyo
 ${PYSITELIB}/flask_user/tests/tst_utils.py
 ${PYSITELIB}/flask_user/tests/tst_utils.pyc
 ${PYSITELIB}/flask_user/tests/tst_utils.pyo
-${PYSITELIB}/flask_user/tokens.py
-${PYSITELIB}/flask_user/tokens.pyc
-${PYSITELIB}/flask_user/tokens.pyo
-${PYSITELIB}/flask_user/translations.py
-${PYSITELIB}/flask_user/translations.pyc
-${PYSITELIB}/flask_user/translations.pyo
+${PYSITELIB}/flask_user/tests/utils.py
+${PYSITELIB}/flask_user/tests/utils.pyc
+${PYSITELIB}/flask_user/tests/utils.pyo
+${PYSITELIB}/flask_user/token_manager.py
+${PYSITELIB}/flask_user/token_manager.pyc
+${PYSITELIB}/flask_user/token_manager.pyo
+${PYSITELIB}/flask_user/translation_utils.py
+${PYSITELIB}/flask_user/translation_utils.pyc
+${PYSITELIB}/flask_user/translation_utils.pyo
 ${PYSITELIB}/flask_user/translations/babel.cfg
 ${PYSITELIB}/flask_user/translations/de/LC_MESSAGES/flask_user.mo
 ${PYSITELIB}/flask_user/translations/de/LC_MESSAGES/flask_user.po
@@ -128,6 +162,18 @@
 ${PYSITELIB}/flask_user/translations/tr/LC_MESSAGES/flask_user.po
 ${PYSITELIB}/flask_user/translations/zh/LC_MESSAGES/flask_user.mo
 ${PYSITELIB}/flask_user/translations/zh/LC_MESSAGES/flask_user.po
-${PYSITELIB}/flask_user/views.py
-${PYSITELIB}/flask_user/views.pyc
-${PYSITELIB}/flask_user/views.pyo
+${PYSITELIB}/flask_user/user_manager.py
+${PYSITELIB}/flask_user/user_manager.pyc
+${PYSITELIB}/flask_user/user_manager.pyo
+${PYSITELIB}/flask_user/user_manager__settings.py
+${PYSITELIB}/flask_user/user_manager__settings.pyc
+${PYSITELIB}/flask_user/user_manager__settings.pyo
+${PYSITELIB}/flask_user/user_manager__utils.py
+${PYSITELIB}/flask_user/user_manager__utils.pyc
+${PYSITELIB}/flask_user/user_manager__utils.pyo
+${PYSITELIB}/flask_user/user_manager__views.py
+${PYSITELIB}/flask_user/user_manager__views.pyc
+${PYSITELIB}/flask_user/user_manager__views.pyo
+${PYSITELIB}/flask_user/user_mixin.py
+${PYSITELIB}/flask_user/user_mixin.pyc
+${PYSITELIB}/flask_user/user_mixin.pyo
diff -r 76b7772c14bf -r 9e6ae29fd2e1 www/py-flask-user/distinfo
--- a/www/py-flask-user/distinfo        Sun Dec 16 18:03:00 2018 +0000
+++ b/www/py-flask-user/distinfo        Sun Dec 16 18:20:57 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2017/12/12 10:28:20 adam Exp $
+$NetBSD: distinfo,v 1.11 2018/12/16 18:20:57 adam Exp $
 
-SHA1 (py-flask-user/Flask-User-0.6.19.tar.gz) = 1fe81ae401817f78395c400138ba08f98d152c5e
-RMD160 (py-flask-user/Flask-User-0.6.19.tar.gz) = d37ba911e932afdaae3bdfe9e099aff2e1e0bd84
-SHA512 (py-flask-user/Flask-User-0.6.19.tar.gz) = a3cedbc845641f244d160dcea173a4d284091c2019660186e0214a9b0b897db173c6730a0e4e5b0c3daeb6656405acba8392e47ebb630a44b72a29c73361adc5
-Size (py-flask-user/Flask-User-0.6.19.tar.gz) = 63411 bytes
+SHA1 (py-flask-user/Flask-User-1.0.1.5.tar.gz) = 483db59ca059de020a29d7d4e1f7e53361ba4377
+RMD160 (py-flask-user/Flask-User-1.0.1.5.tar.gz) = b85f341af684e09609fd8b025c7ad6f1680c7271
+SHA512 (py-flask-user/Flask-User-1.0.1.5.tar.gz) = b780ffa5d658a8906e64b5e0d859697a7092bbef7b6f920d561bd63edeb3a611227adeffb376456f5a269ee64c99c41d1e14f0c096ce26decefa8fbe7d35d877
+Size (py-flask-user/Flask-User-1.0.1.5.tar.gz) = 76799 bytes



Home | Main Index | Thread Index | Old Index