mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-django-sekizai: Enable tests.
* gnu/packages/django.scm (python-django-sekizai)[build-system]: Use pyproject-build-system. [arguments]: Use Gexp. Remove '#:tests? #f' and override the 'check' phase. [home-page]: Follow redirect. Change-Id: I1fbb7c1eb06ab51082239f28e973a15064fbb6d5
This commit is contained in:
parent
4a94bcba12
commit
d1a9c8429d
1 changed files with 11 additions and 3 deletions
|
@ -1365,11 +1365,19 @@ provides features like a Web-browsable API and authentication policies.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1bfdag32yqjq3vqvyi9izdkmfcs2qip42rcmxpphqp0bmv5kdjia"))))
|
"1bfdag32yqjq3vqvyi9izdkmfcs2qip42rcmxpphqp0bmv5kdjia"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments '(#:tests? #f)) ; Tests not included with release.
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(setenv "DJANGO_SETTINGS_MODULE" "tests.settings")
|
||||||
|
(invoke "django-admin" "test" "--pythonpath=.")))))))
|
||||||
|
(native-inputs (list python-setuptools python-wheel))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-django python-django-classy-tags))
|
(list python-django python-django-classy-tags))
|
||||||
(home-page "https://github.com/divio/django-sekizai")
|
(home-page "https://github.com/django-cms/django-sekizai")
|
||||||
(synopsis "Template blocks for Django projects")
|
(synopsis "Template blocks for Django projects")
|
||||||
(description "Sekizai means blocks in Japanese, and that is what this app
|
(description "Sekizai means blocks in Japanese, and that is what this app
|
||||||
provides. A fresh look at blocks. With @code{django-sekizai} you can define
|
provides. A fresh look at blocks. With @code{django-sekizai} you can define
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue