pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-django



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jul  3 06:42:27 UTC 2018

Modified Files:
        pkgsrc/www/py-django: Makefile distinfo
Added Files:
        pkgsrc/www/py-django/patches: patch-django_contrib_admin_widgets.py

Log Message:
py-django: updated to 1.11.4

Django 1.11.14:

Bugfixes:
Fixed WKBWriter.write() and write_hex() for empty polygons on GEOS 3.6.1+.
Fixed a regression in Django 1.10 that could result in large memory usage when making edits using ModelAdmin.list_editable


To generate a diff of this commit:
cvs rdiff -u -r1.99 -r1.100 pkgsrc/www/py-django/Makefile
cvs rdiff -u -r1.78 -r1.79 pkgsrc/www/py-django/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/py-django/patches/patch-django_contrib_admin_widgets.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/Makefile
diff -u pkgsrc/www/py-django/Makefile:1.99 pkgsrc/www/py-django/Makefile:1.100
--- pkgsrc/www/py-django/Makefile:1.99  Wed May  2 06:28:35 2018
+++ pkgsrc/www/py-django/Makefile       Tue Jul  3 06:42:27 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.99 2018/05/02 06:28:35 adam Exp $
+# $NetBSD: Makefile,v 1.100 2018/07/03 06:42:27 adam Exp $
 
-DISTNAME=      Django-1.11.13
+DISTNAME=      Django-1.11.14
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    www python
 MASTER_SITES=  https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
@@ -17,6 +17,9 @@ USE_LANGUAGES=        # none
 REPLACE_PYTHON+=       django/bin/django-admin.py
 REPLACE_PYTHON+=       django/conf/project_template/manage.py-tpl
 
+post-patch:
+       ${RM} ${WRKSRC}/django/contrib/admin/widgets.py.orig
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
                ${MV} django-admin django-admin${PYVERSSUFFIX} && \

Index: pkgsrc/www/py-django/distinfo
diff -u pkgsrc/www/py-django/distinfo:1.78 pkgsrc/www/py-django/distinfo:1.79
--- pkgsrc/www/py-django/distinfo:1.78  Wed May  2 06:28:35 2018
+++ pkgsrc/www/py-django/distinfo       Tue Jul  3 06:42:27 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.78 2018/05/02 06:28:35 adam Exp $
+$NetBSD: distinfo,v 1.79 2018/07/03 06:42:27 adam Exp $
 
-SHA1 (Django-1.11.13.tar.gz) = 52a110506aae3ac499c2969e455fdec96926c8b5
-RMD160 (Django-1.11.13.tar.gz) = 5a736f86b38d183e6b2b4ec098c73063966b3546
-SHA512 (Django-1.11.13.tar.gz) = 9552b76f693d2e47681bc24cc8ee19c9c42e194a21e578f28d1705641b2490a1d9289d9870105fb480ebd3f7ad2746b1bee8382857c55ba632192d72426ada06
-Size (Django-1.11.13.tar.gz) = 7884529 bytes
+SHA1 (Django-1.11.14.tar.gz) = 4449ed970ed3b26a20a5888b439fbcb6c52dcfb7
+RMD160 (Django-1.11.14.tar.gz) = 79299126fd5d47f9fb373de4f378de4f87281e94
+SHA512 (Django-1.11.14.tar.gz) = 71dbbad22bf0675a5c9aa36bcf69d6de561cf041b744fa37b407cb021ef342c3245b8001025c0492ce20df664e37ed2d7a5ffdc397761065d088ddb0d9fbe6c8
+Size (Django-1.11.14.tar.gz) = 7850578 bytes
+SHA1 (patch-django_contrib_admin_widgets.py) = 16c7b0607c5e85f67726e93bf3649414abe7c7fb

Added files:

Index: pkgsrc/www/py-django/patches/patch-django_contrib_admin_widgets.py
diff -u /dev/null pkgsrc/www/py-django/patches/patch-django_contrib_admin_widgets.py:1.1
--- /dev/null   Tue Jul  3 06:42:27 2018
+++ pkgsrc/www/py-django/patches/patch-django_contrib_admin_widgets.py  Tue Jul  3 06:42:27 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-django_contrib_admin_widgets.py,v 1.1 2018/07/03 06:42:27 adam Exp $
+
+Fix syntax error (Python 3.7).
+
+--- django/contrib/admin/widgets.py.orig       2018-07-03 06:33:30.000000000 +0000
++++ django/contrib/admin/widgets.py
+@@ -149,7 +149,7 @@ class ForeignKeyRawIdWidget(forms.TextIn
+             params = self.url_parameters()
+             if params:
+                 related_url += '?' + '&'.join(
+-                    '%s=%s' % (k, v) for k, v in params.items(),
++                    '%s=%s' % (k, v) for k, v in params.items()
+                 )
+             context['related_url'] = mark_safe(related_url)
+             context['link_title'] = _('Lookup')



Home | Main Index | Thread Index | Old Index