3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: python-docutils: Run the tests.

* gnu/packages/python-xyz.scm (python-docutils)[arguments]: Remove #:tests?.
Add #:phases.
This commit is contained in:
Marius Bakke 2020-02-12 20:09:54 +01:00
parent da8e8dc644
commit 8cf5c9fabf
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -2645,7 +2645,13 @@ structure for Python.")
"1z3qliszqca9m719q3qhdkh0ghh90g500avzdgi7pl77x5h3mpn2"))))
(build-system python-build-system)
(arguments
'(#:tests? #f)) ; no setup.py test command
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(invoke "python" "test/alltests.py")
(format #t "test suite not run~%"))
#t)))))
(home-page "http://docutils.sourceforge.net/")
(synopsis "Python Documentation Utilities")
(description