gnu: python-django@4: Update to 4.2.5.

* gnu/packages/django.scm (python-django-4.0): Rename to ...
(python-django-4.2): ... this.  Update to 4.2.5.
(python-django-3.2): Adjust inherits accordingly.
This commit is contained in:
Marius Bakke 2023-09-09 21:14:33 +08:00
parent c909cf9f03
commit 8e9a2932d6
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -54,16 +54,16 @@
#:use-module (gnu packages time)
#:use-module (gnu packages xml))
(define-public python-django-4.0
(define-public python-django-4.2
(package
(name "python-django")
(version "4.0.7")
(version "4.2.5")
(source (origin
(method url-fetch)
(uri (pypi-uri "Django" version))
(sha256
(base32
"0qblhh7s7fcznqr79919yp2d7wiz3ixv39navmifb677dg9mlvcw"))))
"1ha6c5j3pizbsfzw37r52lvdz8z5lblq4iwa99mpkdzz92aiqp2y"))))
(build-system python-build-system)
(arguments
'(#:phases
@ -141,7 +141,7 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
(define-public python-django-3.2
(package
(inherit python-django-4.0)
(inherit python-django-4.2)
(version "3.2.21")
(source (origin
(method url-fetch)
@ -151,7 +151,7 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
"0g3zm2glh76g31q06g6fwkwvkrphjj3mnap5sgk1hx3v9r44rpm5"))))
(native-search-paths '()) ;no need for TZDIR
(propagated-inputs
(modify-inputs (package-propagated-inputs python-django-4.0)
(modify-inputs (package-propagated-inputs python-django-4.2)
;; Django 4.0 deprecated pytz in favor of Pythons built-in zoneinfo.
(append python-pytz)))))