mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-django-redis: Use pyproject-build-system.
* gnu/packages/django.scm (python-django-redis)[build-system]: Use pyproject-build-system. [arguments]: Run tests conditionally. [native-inputs]: Add python-setuptools and python-wheel. [description]: Complete sentence. Change-Id: I8bb6416529068332046133c71159d02a50932ccb
This commit is contained in:
parent
e103044a73
commit
c44b5f8601
1 changed files with 16 additions and 9 deletions
|
@ -1005,24 +1005,31 @@ support, and optional data-URI image and font embedding.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0qvsm8yjchl0d3i7g20wba6px9lb5gv8kp3fcnr6hr0y0b3qjr9h"))))
|
"0qvsm8yjchl0d3i7g20wba6px9lb5gv8kp3fcnr6hr0y0b3qjr9h"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
|
'(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "redis-server" "--daemonize" "yes")
|
(when tests?
|
||||||
(with-directory-excursion "tests"
|
(invoke "redis-server" "--daemonize" "yes")
|
||||||
(invoke "python" "runtests.py")))))))
|
(with-directory-excursion "tests"
|
||||||
|
(invoke "python" "runtests.py"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-fakeredis python-hiredis python-mock python-msgpack
|
(list python-fakeredis
|
||||||
|
python-hiredis
|
||||||
|
python-mock
|
||||||
|
python-msgpack
|
||||||
|
python-setuptools
|
||||||
|
python-wheel
|
||||||
redis))
|
redis))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-django python-redis))
|
(list python-django python-redis))
|
||||||
(home-page "https://github.com/niwibe/django-redis")
|
(home-page "https://github.com/niwibe/django-redis")
|
||||||
(synopsis "Full featured redis cache backend for Django")
|
(synopsis "Full featured redis cache backend for Django")
|
||||||
(description
|
(description
|
||||||
"Full featured redis cache backend for Django.")
|
"This package provides a full featured Redis cache backend for Django.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python-django-rq
|
(define-public python-django-rq
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue