Tue Feb 12 13:16:07 2019 UTC ()
py-django2: updated to 2.1.7

2.1.7:
Bugfixes
Corrected packaging error from 2.1.6

2.1.6:
CVE-2019-6975: Memory exhaustion in django.utils.numberformat.format()¶

If django.utils.numberformat.format() – used by contrib.admin as well as the the floatformat, filesizeformat, and intcomma templates filters – received a Decimal with a large number of digits or a large exponent, it could lead to significant memory usage due to a call to '{:f}'.format().

To avoid this, decimals with more than 200 digits are now formatted using scientific notation.

Bugfixes
Made the obj argument of InlineModelAdmin.has_add_permission() optional to restore backwards compatibility with third-party code that doesn’t provide it


(adam)
diff -r1.13 -r1.14 pkgsrc/www/py-django2/Makefile
diff -r1.12 -r1.13 pkgsrc/www/py-django2/distinfo

cvs diff -r1.13 -r1.14 pkgsrc/www/py-django2/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-django2/Attic/Makefile 2019/01/04 21:53:17 1.13
+++ pkgsrc/www/py-django2/Attic/Makefile 2019/02/12 13:16:07 1.14
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.13 2019/01/04 21:53:17 adam Exp $ 1# $NetBSD: Makefile,v 1.14 2019/02/12 13:16:07 adam Exp $
2 2
3DISTNAME= Django-2.1.5 3DISTNAME= Django-2.1.7
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
5CATEGORIES= www python 5CATEGORIES= www python
6MASTER_SITES= https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/ 6MASTER_SITES= https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
7MASTER_SITES+= ${MASTER_SITE_PYPI:=D/Django/} 7MASTER_SITES+= ${MASTER_SITE_PYPI:=D/Django/}
8 8
9MAINTAINER= joerg@NetBSD.org 9MAINTAINER= joerg@NetBSD.org
10HOMEPAGE= https://www.djangoproject.com/ 10HOMEPAGE= https://www.djangoproject.com/
11COMMENT= Django, a high-level Python Web framework 11COMMENT= Django, a high-level Python Web framework
12LICENSE= modified-bsd 12LICENSE= modified-bsd
13 13
14DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz 14DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
15 15
16USE_LANGUAGES= # none 16USE_LANGUAGES= # none

cvs diff -r1.12 -r1.13 pkgsrc/www/py-django2/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-django2/Attic/distinfo 2019/01/04 21:53:17 1.12
+++ pkgsrc/www/py-django2/Attic/distinfo 2019/02/12 13:16:07 1.13
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.12 2019/01/04 21:53:17 adam Exp $ 1$NetBSD: distinfo,v 1.13 2019/02/12 13:16:07 adam Exp $
2 2
3SHA1 (Django-2.1.5.tar.gz) = 67297b08e31b9f4562bb6813cc28b897fdcc49a5 3SHA1 (Django-2.1.7.tar.gz) = e1529c46fd643346e6ff8c7f3ba57c398223201f
4RMD160 (Django-2.1.5.tar.gz) = 6d56e98368b28053935e9fa0f18bd24f83ef184b 4RMD160 (Django-2.1.7.tar.gz) = 7fe9041fedab75dc6175af7ca42dfdd95ab7696f
5SHA512 (Django-2.1.5.tar.gz) = 0a8c72e131867787d475feb0ccd7896fe2aefbbda60d85450fc5ce336eb1f1b7c77d7a17ba0a89e4bac84b7fc87f6c22d7afa356443958e30e958eeec7d3ee6d 5SHA512 (Django-2.1.7.tar.gz) = bacbd52c834a14267588f7bcf57f52c246beb9971352e60eb780e28872884e0dd3701256dcd9600ae0faad29f42460391ea973e9fbb3338c2c08baf0d5ca2fe8
6Size (Django-2.1.5.tar.gz) = 8612384 bytes 6Size (Django-2.1.7.tar.gz) = 8608548 bytes