pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-django py-django: updated to 1.11.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32bdf1639f42
branches:  trunk
changeset: 309987:32bdf1639f42
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jul 03 06:42:27 2018 +0000

description:
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

diffstat:

 www/py-django/Makefile                                      |   7 ++++-
 www/py-django/distinfo                                      |  11 +++++----
 www/py-django/patches/patch-django_contrib_admin_widgets.py |  15 +++++++++++++
 3 files changed, 26 insertions(+), 7 deletions(-)

diffs (57 lines):

diff -r 1de6939fc618 -r 32bdf1639f42 www/py-django/Makefile
--- a/www/py-django/Makefile    Tue Jul 03 06:01:05 2018 +0000
+++ b/www/py-django/Makefile    Tue Jul 03 06:42:27 2018 +0000
@@ -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 @@
 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} && \
diff -r 1de6939fc618 -r 32bdf1639f42 www/py-django/distinfo
--- a/www/py-django/distinfo    Tue Jul 03 06:01:05 2018 +0000
+++ b/www/py-django/distinfo    Tue Jul 03 06:42:27 2018 +0000
@@ -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
diff -r 1de6939fc618 -r 32bdf1639f42 www/py-django/patches/patch-django_contrib_admin_widgets.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-django/patches/patch-django_contrib_admin_widgets.py       Tue Jul 03 06:42:27 2018 +0000
@@ -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 += '?' + '&amp;'.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