summary refs log tree commit diff
path: root/gnu/packages/django.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2019-03-04 21:14:28 +0100
committerJulien Lepiller <julien@lepiller.eu>2019-03-04 21:52:38 +0100
commit1396837184fd5e119f8e1978714d4f1804ded9c3 (patch)
treed0b3d930ef9436c65f14c1ccac57c09e83768d48 /gnu/packages/django.scm
parentf55fe42b36806aa4e87b21a830bb13d3c99d0291 (diff)
downloadguix-1396837184fd5e119f8e1978714d4f1804ded9c3.tar.gz
gnu: python-django-rq: Update to 1.3.0.
* gnu/packages/django.scm (python-django-rq): Update to 1.3.0.
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r--gnu/packages/django.scm15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 054088ddef..beda8e23cd 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -675,25 +675,26 @@ support, and optional data-URI image and font embedding.")
 (define-public python-django-rq
   (package
     (name "python-django-rq")
-    (version "0.9.4")
+    (version "1.3.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "django-rq" version))
               (sha256
                (base32
-                "04v8ilfdp10bk31fxgh4cn083gsn5m06342cnpm5d10nd8hc0vky"))))
+                "0xh6qa7i779vh58lwwv6yk0wx8bi38mvmpz79grnl2cl8531r928"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
            (lambda _
-             (and (zero? (system* "redis-server" "--daemonize" "yes"))
-                  (zero? (system* "django-admin.py" "test" "django_rq"
-                                  "--settings=django_rq.test_settings"
-                                  "--pythonpath="))))))))
+             (invoke "redis-server" "--daemonize" "yes")
+             (invoke "django-admin.py" "test" "django_rq"
+                     "--settings=django_rq.tests.settings"
+                     "--pythonpath="))))))
     (native-inputs
-     `(("redis" ,redis)))
+     `(("python-mock" ,python-mock)
+       ("redis" ,redis)))
     (propagated-inputs
      `(("python-django" ,python-django)
        ("python-rq" ,python-rq)))