Tue May 7 03:55:16 2024 UTC (16d)
py-django: updated to 5.0.5

Django 5.0.5 fixes several bugs in 5.0.4.

Fixed a bug in Django 5.0 that caused a crash of Model.save() when creating an instance of a model with a GeneratedField and providing a primary key
Fixed a compatibility issue encountered in Python 3.11.9+ and 3.12.3+ when validating email max line lengths with content decoded using the surrogateescape error handling scheme
Fixed a bug in Django 5.0 that caused a crash when applying migrations including alterations to GeneratedField such as setting db_index=True on SQLite
Allowed importing aprefetch_related_objects from django.db.models
Fixed a bug in Django 5.0 that caused a migration crash when a GeneratedField was added before any of the referenced fields from its expression definition
Fixed a bug in Django 5.0 that caused a migration crash when altering a GeneratedField referencing a renamed field
Fixed a bug in Django 5.0 where the querysets argument of GenericPrefetch was not required


(adam)
diff -r1.127 -r1.128 pkgsrc/www/py-django/Makefile
diff -r1.103 -r1.104 pkgsrc/www/py-django/distinfo

cvs diff -r1.127 -r1.128 pkgsrc/www/py-django/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-django/Makefile 2024/04/05 10:40:17 1.127
+++ pkgsrc/www/py-django/Makefile 2024/05/07 03:55:16 1.128
@@ -1,26 +1,28 @@ @@ -1,26 +1,28 @@
1# $NetBSD: Makefile,v 1.127 2024/04/05 10:40:17 adam Exp $ 1# $NetBSD: Makefile,v 1.128 2024/05/07 03:55:16 adam Exp $
2 2
3DISTNAME= Django-5.0.4 3DISTNAME= Django-5.0.5
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= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@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
 14WRKSRC= ${WRKDIR}/${DISTNAME:tl}
 15
14TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=40.8.0:../../devel/py-setuptools 16TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=40.8.0:../../devel/py-setuptools
15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 17TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
16DEPENDS+= ${PYPKGPREFIX}-asgiref>=3.7.0:../../www/py-asgiref 18DEPENDS+= ${PYPKGPREFIX}-asgiref>=3.7.0:../../www/py-asgiref
17DEPENDS+= ${PYPKGPREFIX}-sqlparse>=0.3.1:../../databases/py-sqlparse 19DEPENDS+= ${PYPKGPREFIX}-sqlparse>=0.3.1:../../databases/py-sqlparse
18 20
19USE_LANGUAGES= # none 21USE_LANGUAGES= # none
20 22
21PYTHON_VERSIONS_INCOMPATIBLE= 27 38 39 23PYTHON_VERSIONS_INCOMPATIBLE= 27 38 39
22 24
23REPLACE_PYTHON+= django/conf/project_template/manage.py-tpl 25REPLACE_PYTHON+= django/conf/project_template/manage.py-tpl
24 26
25post-install: 27post-install:
26 cd ${DESTDIR}${PREFIX}/bin && \ 28 cd ${DESTDIR}${PREFIX}/bin && \

cvs diff -r1.103 -r1.104 pkgsrc/www/py-django/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-django/distinfo 2024/04/05 10:40:17 1.103
+++ pkgsrc/www/py-django/distinfo 2024/05/07 03:55:16 1.104
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.103 2024/04/05 10:40:17 adam Exp $ 1$NetBSD: distinfo,v 1.104 2024/05/07 03:55:16 adam Exp $
2 2
3BLAKE2s (Django-5.0.4.tar.gz) = 3454485079d0f7f3f9e56daf6717cc0dbc6d807851ace67ff6ac171c583128b6 3BLAKE2s (Django-5.0.5.tar.gz) = f03e7240793e7900d2bc5faf09771c7df73c29f4b275e40d3946db853dfe3487
4SHA512 (Django-5.0.4.tar.gz) = 322b0de4e9e533831937b9f50929e150d9c1ff3045e92b3530d49708df05ad0139819a1056c3def529e93826d26ef8e04f1ced655525fe8c9c2d449c2c701f28 4SHA512 (Django-5.0.5.tar.gz) = eac0ae8e880fee097fa2a187253429e4b7178d36fba6cfe09587e08a44e4382b503b9605c30a9ac40a48a93915c67f9035144b183cb4bf90dd90dcc4f0144eed
5Size (Django-5.0.4.tar.gz) = 10638006 bytes 5Size (Django-5.0.5.tar.gz) = 10710759 bytes