Upstream changes: Django 3.1.2 release notes¶ October 1, 2020 Django 3.1.2 fixes several bugs in 3.1.1. Bugfixes¶ Fixed a bug in Django 3.1 where FileField instances with a callable storage were not correctly deconstructed (#31941). Fixed a regression in Django 3.1 where the QuerySet.ordered attribute returned incorrectly True for GROUP BY queries (e.g. .annotate().values()) on models with Meta.ordering. A model’s Meta.ordering doesn’t affect such queries (#31990). Fixed a regression in Django 3.1 where a queryset would crash if it contained an aggregation and a Q object annotation (#32007). Fixed a bug in Django 3.1 where a test database was not synced during creation when using the MIGRATE test database setting (#32012). Fixed a django.contrib.admin.EmptyFieldListFilter crash when using on a GenericRelation (#32038). Fixed a regression in Django 3.1.1 where the admin changelist filter sidebar would not scroll for a long list of available filters (#31986).
32 lines
1 KiB
Makefile
32 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2020/10/02 02:14:03 wen Exp $
|
|
|
|
DISTNAME= Django-3.1.2
|
|
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= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.djangoproject.com/
|
|
COMMENT= Django, a high-level Python Web framework
|
|
LICENSE= modified-bsd
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-asgiref>=3.2:../../www/py-asgiref
|
|
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlparse>=0.2.2:../../databases/py-sqlparse
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
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"
|