gnu: python-bottleneck: Honor #:tests? flag.
* gnu/packages/python-science.scm (python-bottleneck)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.master
parent
4a23812c7c
commit
12c529c071
|
@ -580,8 +580,9 @@ Python module with the same interface, but (hopefully) faster.")
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "python" "setup.py" "pytest"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "python" "setup.py" "pytest")))))))
|
||||
(native-inputs
|
||||
(list python-hypothesis python-pytest python-pytest-runner))
|
||||
(propagated-inputs
|
||||
|
|
Reference in New Issue