guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

32/46: gnu: Add python-django-q.


From: guix-commits
Subject: 32/46: gnu: Add python-django-q.
Date: Tue, 21 Jul 2020 08:49:44 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 63c3f15dc2ff51f87c23bf9c7fd0cb5d3b9c5569
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 12:27:28 2020 +0300

    gnu: Add python-django-q.
    
    * gnu/packages/django.scm (python-django-q): New variable.
---
 gnu/packages/django.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 55cc869..56b00c8 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -831,6 +831,41 @@ settings.py and easily use them in your project.")
 (define-public python2-django-rq
   (package-with-python2 python-django-rq))
 
+(define-public python-django-q
+  (package
+    (name "python-django-q")
+    (version "1.3.2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "django-q" version))
+        (sha256
+         (base32
+          "0ac3rjxv37bn97a62ly8b7qvbv765z6paiinzpwxx83nal2icc42"))))
+    (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (setenv "DJANGO_SETTINGS_MODULE" "django_q.tests.settings")
+             (invoke "django-admin" "test" "django_q.tests"
+                     "--pythonpath=."))))))
+    (propagated-inputs
+     `(("python-arrow" ,python-arrow)
+       ("python-blessed" ,python-blessed)
+       ("python-django" ,python-django)
+       ("python-django-picklefield" ,python-django-picklefield)))
+    (native-inputs
+     `(("python-django-redis" ,python-django-redis)
+       ("python-pytest-django" ,python-pytest-django)))
+    (home-page "https://django-q.readthedocs.io/";)
+    (synopsis "Multiprocessing distributed task queue for Django")
+    (description
+     "Django Q is a native Django task queue, scheduler and worker application
+using Python multiprocessing.")
+    (license license:expat)))
+
 (define-public python-django-sortedm2m
   (package
     (name "python-django-sortedm2m")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]