Sun Dec 10 16:36:31 2017 UTC ()
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.


(adam)
diff -r1.9 -r1.10 pkgsrc/www/py-django-registration/Makefile
diff -r1.5 -r1.6 pkgsrc/www/py-django-registration/PLIST
diff -r1.3 -r1.4 pkgsrc/www/py-django-registration/distinfo
diff -r0 -r1.1 pkgsrc/www/py-django-registration/patches/patch-setup.py

cvs diff -r1.9 -r1.10 pkgsrc/www/py-django-registration/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-django-registration/Makefile 2017/09/04 18:08:30 1.9
+++ pkgsrc/www/py-django-registration/Makefile 2017/12/10 16:36:31 1.10
@@ -1,19 +1,20 @@ @@ -1,19 +1,20 @@
1# $NetBSD: Makefile,v 1.9 2017/09/04 18:08:30 wiz Exp $ 1# $NetBSD: Makefile,v 1.10 2017/12/10 16:36:31 adam Exp $
2 2
3DISTNAME= django-registration-2.0.4 3DISTNAME= django-registration-2.3
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= www python 5CATEGORIES= www python
6MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-registration/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-registration/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9#HOMEPAGE= https://bitbucket.org/ubernostrum/django-registration/wiki/Home 9#HOMEPAGE= https://bitbucket.org/ubernostrum/django-registration/wiki/Home
10COMMENT= User-registration application for Django 10COMMENT= User-registration application for Django
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13DEPENDS+= ${PYPKGPREFIX}-django>=1:../../www/py-django 13DEPENDS+= ${PYPKGPREFIX}-confusable_homoglyphs>=2.0:../../converters/py-confusable_homoglyphs
 14DEPENDS+= ${PYPKGPREFIX}-django>=1.8:../../www/py-django
14 15
15USE_LANGUAGES= # none 16USE_LANGUAGES= # none
16USE_PKGLOCALEDIR= yes 17USE_PKGLOCALEDIR= yes
17 18
18.include "../../lang/python/egg.mk" 19.include "../../lang/python/egg.mk"
19.include "../../mk/bsd.pkg.mk" 20.include "../../mk/bsd.pkg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/www/py-django-registration/PLIST (expand / switch to unified diff)

--- pkgsrc/www/py-django-registration/PLIST 2016/03/06 14:53:14 1.5
+++ pkgsrc/www/py-django-registration/PLIST 2017/12/10 16:36:31 1.6
@@ -1,28 +1,35 @@ @@ -1,28 +1,35 @@
1@comment $NetBSD: PLIST,v 1.5 2016/03/06 14:53:14 adam Exp $ 1@comment $NetBSD: PLIST,v 1.6 2017/12/10 16:36:31 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
 6${PYSITELIB}/${EGG_INFODIR}/requires.txt
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 7${PYSITELIB}/${EGG_INFODIR}/top_level.txt
7${PYSITELIB}/registration/__init__.py 8${PYSITELIB}/registration/__init__.py
8${PYSITELIB}/registration/__init__.pyc 9${PYSITELIB}/registration/__init__.pyc
9${PYSITELIB}/registration/__init__.pyo 10${PYSITELIB}/registration/__init__.pyo
10${PYSITELIB}/registration/admin.py 11${PYSITELIB}/registration/admin.py
11${PYSITELIB}/registration/admin.pyc 12${PYSITELIB}/registration/admin.pyc
12${PYSITELIB}/registration/admin.pyo 13${PYSITELIB}/registration/admin.pyo
13${PYSITELIB}/registration/auth_urls.py 14${PYSITELIB}/registration/auth_urls.py
14${PYSITELIB}/registration/auth_urls.pyc 15${PYSITELIB}/registration/auth_urls.pyc
15${PYSITELIB}/registration/auth_urls.pyo 16${PYSITELIB}/registration/auth_urls.pyo
 17${PYSITELIB}/registration/auth_urls_classes.py
 18${PYSITELIB}/registration/auth_urls_classes.pyc
 19${PYSITELIB}/registration/auth_urls_classes.pyo
 20${PYSITELIB}/registration/auth_urls_functions.py
 21${PYSITELIB}/registration/auth_urls_functions.pyc
 22${PYSITELIB}/registration/auth_urls_functions.pyo
16${PYSITELIB}/registration/backends/__init__.py 23${PYSITELIB}/registration/backends/__init__.py
17${PYSITELIB}/registration/backends/__init__.pyc 24${PYSITELIB}/registration/backends/__init__.pyc
18${PYSITELIB}/registration/backends/__init__.pyo 25${PYSITELIB}/registration/backends/__init__.pyo
19${PYSITELIB}/registration/backends/default/__init__.py 26${PYSITELIB}/registration/backends/default/__init__.py
20${PYSITELIB}/registration/backends/default/__init__.pyc 27${PYSITELIB}/registration/backends/default/__init__.pyc
21${PYSITELIB}/registration/backends/default/__init__.pyo 28${PYSITELIB}/registration/backends/default/__init__.pyo
22${PYSITELIB}/registration/backends/default/urls.py 29${PYSITELIB}/registration/backends/default/urls.py
23${PYSITELIB}/registration/backends/default/urls.pyc 30${PYSITELIB}/registration/backends/default/urls.pyc
24${PYSITELIB}/registration/backends/default/urls.pyo 31${PYSITELIB}/registration/backends/default/urls.pyo
25${PYSITELIB}/registration/backends/default/views.py 32${PYSITELIB}/registration/backends/default/views.py
26${PYSITELIB}/registration/backends/default/views.pyc 33${PYSITELIB}/registration/backends/default/views.pyc
27${PYSITELIB}/registration/backends/default/views.pyo 34${PYSITELIB}/registration/backends/default/views.pyo
28${PYSITELIB}/registration/backends/hmac/__init__.py 35${PYSITELIB}/registration/backends/hmac/__init__.py
@@ -169,16 +176,19 @@ ${PYSITELIB}/registration/tests/test_sim @@ -169,16 +176,19 @@ ${PYSITELIB}/registration/tests/test_sim
169${PYSITELIB}/registration/tests/test_simple_workflow.pyo 176${PYSITELIB}/registration/tests/test_simple_workflow.pyo
170${PYSITELIB}/registration/tests/test_views.py 177${PYSITELIB}/registration/tests/test_views.py
171${PYSITELIB}/registration/tests/test_views.pyc 178${PYSITELIB}/registration/tests/test_views.pyc
172${PYSITELIB}/registration/tests/test_views.pyo 179${PYSITELIB}/registration/tests/test_views.pyo
173${PYSITELIB}/registration/tests/urls.py 180${PYSITELIB}/registration/tests/urls.py
174${PYSITELIB}/registration/tests/urls.pyc 181${PYSITELIB}/registration/tests/urls.pyc
175${PYSITELIB}/registration/tests/urls.pyo 182${PYSITELIB}/registration/tests/urls.pyo
176${PYSITELIB}/registration/tests/views.py 183${PYSITELIB}/registration/tests/views.py
177${PYSITELIB}/registration/tests/views.pyc 184${PYSITELIB}/registration/tests/views.pyc
178${PYSITELIB}/registration/tests/views.pyo 185${PYSITELIB}/registration/tests/views.pyo
179${PYSITELIB}/registration/urls.py 186${PYSITELIB}/registration/urls.py
180${PYSITELIB}/registration/urls.pyc 187${PYSITELIB}/registration/urls.pyc
181${PYSITELIB}/registration/urls.pyo 188${PYSITELIB}/registration/urls.pyo
 189${PYSITELIB}/registration/validators.py
 190${PYSITELIB}/registration/validators.pyc
 191${PYSITELIB}/registration/validators.pyo
182${PYSITELIB}/registration/views.py 192${PYSITELIB}/registration/views.py
183${PYSITELIB}/registration/views.pyc 193${PYSITELIB}/registration/views.pyc
184${PYSITELIB}/registration/views.pyo 194${PYSITELIB}/registration/views.pyo

cvs diff -r1.3 -r1.4 pkgsrc/www/py-django-registration/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-django-registration/distinfo 2016/03/06 14:53:14 1.3
+++ pkgsrc/www/py-django-registration/distinfo 2017/12/10 16:36:31 1.4
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
1$NetBSD: distinfo,v 1.3 2016/03/06 14:53:14 adam Exp $ 1$NetBSD: distinfo,v 1.4 2017/12/10 16:36:31 adam Exp $
2 2
3SHA1 (django-registration-2.0.4.tar.gz) = d825dd8c5fe54495674728377bf11a3ff67a715f 3SHA1 (django-registration-2.3.tar.gz) = 43c6a2cc9cf623ced29b40105a6151c1db71cb0c
4RMD160 (django-registration-2.0.4.tar.gz) = 6c6e7735a472b2f265743900c5f8f9fc3273ef29 4RMD160 (django-registration-2.3.tar.gz) = c8da6a11b9e97396a06c2110bbae7d2879d07aac
5SHA512 (django-registration-2.0.4.tar.gz) = 46de43b3dbe1267758d2a0b1de8d15de2679facda05abbecb10acdbf4829a7a31d9cab887f1dcd46ebbfc72e71c18a5e25389574ae9d9a54ec42c70c899b7327 5SHA512 (django-registration-2.3.tar.gz) = 432a22872ef77ddfa309a87ce12236d57a397ab5a860a95ff7d3189dc82a98340bd1b80acc2574c75360320acd003098314b58450b23b1f4d7d4ace372ce60a1
6Size (django-registration-2.0.4.tar.gz) = 63942 bytes 6Size (django-registration-2.3.tar.gz) = 1753181 bytes
 7SHA1 (patch-setup.py) = b1e5a48aff2cb7c6975a4b2af5223fea1fdd8290

File Added: pkgsrc/www/py-django-registration/patches/Attic/patch-setup.py
$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',
       ],
 )