a3052de4cb
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
30 lines
916 B
Makefile
30 lines
916 B
Makefile
# $NetBSD: Makefile,v 1.14 2019/02/12 13:16:07 adam Exp $
|
|
|
|
DISTNAME= Django-2.1.7
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
|
CATEGORIES= www python
|
|
MASTER_SITES= https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
|
|
MASTER_SITES+= ${MASTER_SITE_PYPI:=D/Django/}
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
|
HOMEPAGE= https://www.djangoproject.com/
|
|
COMMENT= Django, a high-level Python Web framework
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27 34
|
|
|
|
REPLACE_PYTHON+= django/bin/django-admin.py
|
|
REPLACE_PYTHON+= django/conf/project_template/manage.py-tpl
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} django-admin django-admin-${PYVERSSUFFIX} && \
|
|
${MV} django-admin.py django-admin-${PYVERSSUFFIX}.py || ${TRUE}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|