GNU bug report logs - #65758
[PATCH 0/54 v6] Update django and install wagtail.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 5 Sep 2023 14:50:01 UTC

Severity: normal

Tags: patch

Full log


Message #26 received at 65758 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 65758 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v6 07/55] gnu: Add python-django-extensions-3.0.
Date: Tue,  5 Sep 2023 18:30:43 +0200
* gnu/packages/django.scm (python-django-extensions-3.0): New variable.
---
 gnu/packages/django.scm | 21 +++++++++++++++++++++
 gnu/packages/web.scm    |  2 +-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index f56d0f6565..6845872ec7 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -240,6 +240,27 @@ (define-public python-django-extensions
 commands, additional database fields and admin extensions.")
     (license license:expat)))
 
+(define-public python-django-extensions-3.0
+  (package
+    (inherit python-django-extensions)
+    (name "python-django-extensions")
+    (version "3.0.6")
+    (source
+     (origin
+       (method git-fetch)
+       ;; Fetch from the git repository, so that the tests can be run.
+       (uri (git-reference
+             (url "https://github.com/django-extensions/django-extensions")
+             (commit version)))
+       (file-name (string-append name "-" version))
+       (sha256
+        (base32 "0sra6hazqvspxd1pnx5cj7gia1rkaz3hn06ib4wd0frc167f5afy"))))
+    (arguments
+     '(#:tests? #f)) ;XXX: requires a Postgres or MySQL database
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs python-django-extensions)
+       (replace "python-django" python-django-3.1.14)))))
+
 (define-public python-django-localflavor
   (package
     (name "python-django-localflavor")
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 46a60b8b15..3de24cbf41 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -8889,7 +8889,7 @@ (define-public archivebox
            python-croniter
            python-crontab
            python-dateparser
-           python-django-extensions
+           python-django-extensions-3.0
            python-django-3.1.14
            python-mypy-extensions))
     (native-inputs
-- 
2.41.0





This bug report was last modified 1 year and 337 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.