Tue May 7 03:55:16 2024 UTC (40d)
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
--- 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,6 +1,6 @@
-# $NetBSD: Makefile,v 1.127 2024/04/05 10:40:17 adam Exp $
+# $NetBSD: Makefile,v 1.128 2024/05/07 03:55:16 adam Exp $
-DISTNAME= Django-5.0.4
+DISTNAME= Django-5.0.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= www python
MASTER_SITES= https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/
@@ -10,6 +10,8 @@
HOMEPAGE= https://www.djangoproject.com/
COMMENT= Django, a high-level Python Web framework
LICENSE= modified-bsd
+
+WRKSRC= ${WRKDIR}/${DISTNAME:tl}
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=40.8.0:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
--- 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 @@
-$NetBSD: distinfo,v 1.103 2024/04/05 10:40:17 adam Exp $
+$NetBSD: distinfo,v 1.104 2024/05/07 03:55:16 adam Exp $
-BLAKE2s (Django-5.0.4.tar.gz) = 3454485079d0f7f3f9e56daf6717cc0dbc6d807851ace67ff6ac171c583128b6
+BLAKE2s (Django-5.0.5.tar.gz) = f03e7240793e7900d2bc5faf09771c7df73c29f4b275e40d3946db853dfe3487
-SHA512 (Django-5.0.4.tar.gz) = 322b0de4e9e533831937b9f50929e150d9c1ff3045e92b3530d49708df05ad0139819a1056c3def529e93826d26ef8e04f1ced655525fe8c9c2d449c2c701f28
+SHA512 (Django-5.0.5.tar.gz) = eac0ae8e880fee097fa2a187253429e4b7178d36fba6cfe09587e08a44e4382b503b9605c30a9ac40a48a93915c67f9035144b183cb4bf90dd90dcc4f0144eed
-Size (Django-5.0.4.tar.gz) = 10638006 bytes
+Size (Django-5.0.5.tar.gz) = 10710759 bytes