mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-bottleneck: Honor #:tests? flag.
* gnu/packages/python-science.scm (python-bottleneck)[arguments]: Adjust custom 'check phase to honor the #:tests? flag.
This commit is contained in:
parent
4a23812c7c
commit
12c529c071
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue