Subject: [PATCH 1/9] gnu: python-django-modelcluster: Update to 6.0.

From: Nicolas Graves <[email-masked]>
Date: Wed, 10 Aug 2022 00:43:25 +0200

* gnu/packages/django.scm (python-django-modelcluster): Update to 6.0.
---
 gnu/packages/django.scm | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index cd88e1fac3..2f95056c78 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -893,16 +893,17 @@ (define-public python-django-contrib-comments
 (define-public python-django-modelcluster
   (package
     (name "python-django-modelcluster")
-    (version "5.3")
+    (version "6.0")
+    ;; tests are not packaged in pypi
     (source
      (origin
-       (method url-fetch)
-       (uri
-        (string-append
-         "https://github.com/wagtail/django-modelcluster"
-         "/archive/refs/tags/v" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/wagtail/django-modelcluster")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0xlhlnsr8gingbrsgbzhx79z9ds9i9rfii3gp38xnid01xjwlqln"))))
+        (base32 "19xskhh2wvl696jmji54b1p70kjbcxzwmw3v5ic54ifn8cx6za57"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
-- 
2.37.1