gnu: python-django-rq: Update to 1.3.0.

* gnu/packages/django.scm (python-django-rq): Update to 1.3.0.
This commit is contained in:
Julien Lepiller 2019-03-04 21:14:28 +01:00
parent f55fe42b36
commit 1396837184
No known key found for this signature in database
GPG key ID: 43111F4520086A0C

View file

@ -675,25 +675,26 @@ (define-public python2-django-redis
(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)))