pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-django-registration py-django-registration: upd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/029310d26cae
branches:  trunk
changeset: 372577:029310d26cae
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Dec 10 16:36:31 2017 +0000

description:
py-django-registration: updated to 2.3

In django-registration 2.3, the new validators :func:`~registration.validators.validate_confusables` and :func:`~registration.validators.validate_confusables_email` were added, and are applied by 
default to the username field and email field, respectively, of registration forms. This may cause some usernames which previously were accepted to no longer be accepted, but like the reserved-name 
validator this change was made because its security benefits significantly outweigh the edge cases in which it might disallow an otherwise-acceptable username or email address. If for some reason you 
need to allow registration with usernames or email addresses containing potentially dangerous use of Unicode, you can subclass the registration form and remove these validators, though doing so is 
not recommended.

diffstat:

 www/py-django-registration/Makefile               |   7 ++++---
 www/py-django-registration/PLIST                  |  12 +++++++++++-
 www/py-django-registration/distinfo               |  11 ++++++-----
 www/py-django-registration/patches/patch-setup.py |  14 ++++++++++++++
 4 files changed, 35 insertions(+), 9 deletions(-)

diffs (93 lines):

diff -r 9ed8a04df296 -r 029310d26cae www/py-django-registration/Makefile
--- a/www/py-django-registration/Makefile       Sun Dec 10 16:34:41 2017 +0000
+++ b/www/py-django-registration/Makefile       Sun Dec 10 16:36:31 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2017/09/04 18:08:30 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2017/12/10 16:36:31 adam Exp $
 
-DISTNAME=      django-registration-2.0.4
+DISTNAME=      django-registration-2.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/django-registration/}
@@ -10,7 +10,8 @@
 COMMENT=       User-registration application for Django
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-django>=1:../../www/py-django
+DEPENDS+=      ${PYPKGPREFIX}-confusable_homoglyphs>=2.0:../../converters/py-confusable_homoglyphs
+DEPENDS+=      ${PYPKGPREFIX}-django>=1.8:../../www/py-django
 
 USE_LANGUAGES=         # none
 USE_PKGLOCALEDIR=      yes
diff -r 9ed8a04df296 -r 029310d26cae www/py-django-registration/PLIST
--- a/www/py-django-registration/PLIST  Sun Dec 10 16:34:41 2017 +0000
+++ b/www/py-django-registration/PLIST  Sun Dec 10 16:36:31 2017 +0000
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.5 2016/03/06 14:53:14 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2017/12/10 16:36:31 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/registration/__init__.py
 ${PYSITELIB}/registration/__init__.pyc
@@ -13,6 +14,12 @@
 ${PYSITELIB}/registration/auth_urls.py
 ${PYSITELIB}/registration/auth_urls.pyc
 ${PYSITELIB}/registration/auth_urls.pyo
+${PYSITELIB}/registration/auth_urls_classes.py
+${PYSITELIB}/registration/auth_urls_classes.pyc
+${PYSITELIB}/registration/auth_urls_classes.pyo
+${PYSITELIB}/registration/auth_urls_functions.py
+${PYSITELIB}/registration/auth_urls_functions.pyc
+${PYSITELIB}/registration/auth_urls_functions.pyo
 ${PYSITELIB}/registration/backends/__init__.py
 ${PYSITELIB}/registration/backends/__init__.pyc
 ${PYSITELIB}/registration/backends/__init__.pyo
@@ -179,6 +186,9 @@
 ${PYSITELIB}/registration/urls.py
 ${PYSITELIB}/registration/urls.pyc
 ${PYSITELIB}/registration/urls.pyo
+${PYSITELIB}/registration/validators.py
+${PYSITELIB}/registration/validators.pyc
+${PYSITELIB}/registration/validators.pyo
 ${PYSITELIB}/registration/views.py
 ${PYSITELIB}/registration/views.pyc
 ${PYSITELIB}/registration/views.pyo
diff -r 9ed8a04df296 -r 029310d26cae www/py-django-registration/distinfo
--- a/www/py-django-registration/distinfo       Sun Dec 10 16:34:41 2017 +0000
+++ b/www/py-django-registration/distinfo       Sun Dec 10 16:36:31 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2016/03/06 14:53:14 adam Exp $
+$NetBSD: distinfo,v 1.4 2017/12/10 16:36:31 adam Exp $
 
-SHA1 (django-registration-2.0.4.tar.gz) = d825dd8c5fe54495674728377bf11a3ff67a715f
-RMD160 (django-registration-2.0.4.tar.gz) = 6c6e7735a472b2f265743900c5f8f9fc3273ef29
-SHA512 (django-registration-2.0.4.tar.gz) = 46de43b3dbe1267758d2a0b1de8d15de2679facda05abbecb10acdbf4829a7a31d9cab887f1dcd46ebbfc72e71c18a5e25389574ae9d9a54ec42c70c899b7327
-Size (django-registration-2.0.4.tar.gz) = 63942 bytes
+SHA1 (django-registration-2.3.tar.gz) = 43c6a2cc9cf623ced29b40105a6151c1db71cb0c
+RMD160 (django-registration-2.3.tar.gz) = c8da6a11b9e97396a06c2110bbae7d2879d07aac
+SHA512 (django-registration-2.3.tar.gz) = 432a22872ef77ddfa309a87ce12236d57a397ab5a860a95ff7d3189dc82a98340bd1b80acc2574c75360320acd003098314b58450b23b1f4d7d4ace372ce60a1
+Size (django-registration-2.3.tar.gz) = 1753181 bytes
+SHA1 (patch-setup.py) = b1e5a48aff2cb7c6975a4b2af5223fea1fdd8290
diff -r 9ed8a04df296 -r 029310d26cae www/py-django-registration/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django-registration/patches/patch-setup.py Sun Dec 10 16:36:31 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.py,v 1.1 2017/12/10 16:36:31 adam Exp $
+
+Allow newer versions of py-confusable_homoglyphs.
+
+--- setup.py.orig      2017-12-10 16:29:14.000000000 +0000
++++ setup.py
+@@ -62,6 +62,6 @@ setup(name='django-registration',
+           'Topic :: Utilities'],
+       install_requires=[
+           'Django>=1.8,!=1.9.*',
+-          'confusable_homoglyphs~=2.0',
++          'confusable_homoglyphs>=2.0',
+       ],
+ )



Home | Main Index | Thread Index | Old Index