diff mbox series

[bug#55474,v5,05/55] gnu: Add python-django-4.2.

Message ID f1e0e963a7fa26a711c0a47e658fd3f16557e790.1687712245.git.ngraves@ngraves.fr
State New
Headers show
Series [bug#55474,v5,01/55] gnu: python-django-4.0: Update to 4.0.9. | expand

Commit Message

Nicolas Graves June 25, 2023, 4:57 p.m. UTC
* gnu/packages/django.scm (python-django-4.2): New variable.
---
 gnu/packages/django.scm | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 41ab8576a0..72127bbd34 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -52,16 +52,16 @@  (define-module (gnu packages django)
   #: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.9")
+    (version "4.2.2")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Django" version))
               (sha256
                (base32
-                "19vqbyc9icy8nbz9w44z83x6zf2j55gmgl9rxdgnqlwr5ykk9h3w"))))
+                "1pxs4i1p55k56i8nsr9a1firgsp2pqcv1g0hxxxx17dmynznysra"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
@@ -139,6 +139,18 @@  (define-public python-django-4.0
     (license license:bsd-3)
     (properties `((cpe-name . "django")))))
 
+(define-public python-django-4.0
+  (package
+    (inherit python-django-4.2)
+    (name "python-django")
+    (version "4.0.9")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "Django" version))
+              (sha256
+               (base32
+                "19vqbyc9icy8nbz9w44z83x6zf2j55gmgl9rxdgnqlwr5ykk9h3w"))))))
+
 (define-public python-django-3.2
   (package
     (inherit python-django-4.0)