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 #305 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 v7 44/57] gnu: Add python-django-request.
Date: Wed,  6 Sep 2023 11:16:08 +0200
* gnu/packages/django.scm (python-django-request): New variable.
---
 gnu/packages/django.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 7aaca66b7d..9c5460f788 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -310,6 +310,43 @@ (define-public python-django-localflavor
 that are useful for particular countries or cultures.")
     (license license:bsd-3)))
 
+(define-public python-django-request
+  (package
+    (name "python-django-request")
+    (version "1.6.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/django-request/django-request")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1hncmcxral2h51jrgvzlhwqk37xyq7wjbf79hh4ik13prigxabwi"))))
+    (build-system pyproject-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key tests? inputs #:allow-other-keys)
+             (if tests?
+                 (invoke "python" "runtests.py")
+                 (format #t "test suite not run~%")))))))
+    (propagated-inputs
+     (list python-dateutil python-django python-six))
+    (native-inputs
+     (list python-sqlparse python-mock
+           tzdata-for-tests))
+    (home-page "https://django-request.readthedocs.io")
+    (synopsis
+     "Statistics module for django")
+    (description
+     "This package provides a statistics module for django.  It stores
+requests in a database for admins to see, it can also be used to get
+statistics on who is online etc.")
+    (license license:expat)))
+
 (define-public python-django-requests-debug-toolbar
   (package
     (name "python-django-requests-debug-toolbar")
-- 
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.