mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-django-rq: Use pyproject-build-system.
* gnu/packages/django.scm (python-django-rq)[build-system]: Use pyproject-build-system. [arguments]: Run tests conditionally. [native-inputs]: Add python-setuptools, python-wheel, and tzdata-for-tests. Change-Id: Ibe8ca4d8fcd11029be6ab36de7b4826f60f97fd6
This commit is contained in:
parent
c44b5f8601
commit
eb2db374ba
1 changed files with 17 additions and 9 deletions
|
@ -1042,18 +1042,26 @@ support, and optional data-URI image and font embedding.")
|
|||
(sha256
|
||||
(base32
|
||||
"0aw0fi0lg80qgdp9fhjbnlhvfh2p09rgy1nj6hxpyhi37kihni2h"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(list
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "redis-server" "--daemonize" "yes")
|
||||
(invoke "django-admin" "test" "django_rq"
|
||||
"--settings=django_rq.tests.settings"
|
||||
"--pythonpath=."))))))
|
||||
"--pythonpath=.")))))))
|
||||
(native-inputs
|
||||
(list python-django-redis python-mock python-rq-scheduler redis))
|
||||
(list python-django-redis
|
||||
python-mock
|
||||
python-rq-scheduler
|
||||
python-setuptools
|
||||
python-wheel
|
||||
redis
|
||||
tzdata-for-tests))
|
||||
(propagated-inputs
|
||||
(list python-django python-rq))
|
||||
(home-page "https://github.com/ui/django-rq")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue