gnu: python-docopt: Honor #:tests? in check phase.
* gnu/packages/python-xyz.scm (python-docopt)[arguments]: In custom 'check phase honor #:tests?.
This commit is contained in:
parent
23b9dadc1d
commit
d418784dbd
@ -11572,7 +11572,9 @@ automatically detect a wide range of file encodings.")
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _ (invoke "py.test"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "py.test")))))))
|
||||
(home-page "http://docopt.org")
|
||||
(synopsis "Command-line interface description language for Python")
|
||||
(description "This library allows the user to define a command-line
|
||||
|
Loading…
Reference in New Issue
Block a user