pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-django-registration
Module Name: pkgsrc
Committed By: adam
Date: Sun Dec 10 16:36:31 UTC 2017
Modified Files:
pkgsrc/www/py-django-registration: Makefile PLIST distinfo
Added Files:
pkgsrc/www/py-django-registration/patches: patch-setup.py
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/py-django-registration/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-django-registration/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-django-registration/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/www/py-django-registration/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-django-registration/Makefile
diff -u pkgsrc/www/py-django-registration/Makefile:1.9 pkgsrc/www/py-django-registration/Makefile:1.10
--- pkgsrc/www/py-django-registration/Makefile:1.9 Mon Sep 4 18:08:30 2017
+++ pkgsrc/www/py-django-registration/Makefile Sun Dec 10 16:36:31 2017
@@ -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 @@ MAINTAINER= pkgsrc-users%NetBSD.org@localhost
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
Index: pkgsrc/www/py-django-registration/PLIST
diff -u pkgsrc/www/py-django-registration/PLIST:1.5 pkgsrc/www/py-django-registration/PLIST:1.6
--- pkgsrc/www/py-django-registration/PLIST:1.5 Sun Mar 6 14:53:14 2016
+++ pkgsrc/www/py-django-registration/PLIST Sun Dec 10 16:36:31 2017
@@ -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/admin.pyo
${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/tests/views.py
${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
Index: pkgsrc/www/py-django-registration/distinfo
diff -u pkgsrc/www/py-django-registration/distinfo:1.3 pkgsrc/www/py-django-registration/distinfo:1.4
--- pkgsrc/www/py-django-registration/distinfo:1.3 Sun Mar 6 14:53:14 2016
+++ pkgsrc/www/py-django-registration/distinfo Sun Dec 10 16:36:31 2017
@@ -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
Added files:
Index: pkgsrc/www/py-django-registration/patches/patch-setup.py
diff -u /dev/null pkgsrc/www/py-django-registration/patches/patch-setup.py:1.1
--- /dev/null Sun Dec 10 16:36:31 2017
+++ pkgsrc/www/py-django-registration/patches/patch-setup.py Sun Dec 10 16:36:31 2017
@@ -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