mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-07 11:54:33 -05:00
gnu: python-shellingham: Run test suite.
* gnu/packages/python-xyz.scm (python-shellingham)[arguments]: Add custom 'check phase. [native-inputs]: Add python-pytest, python-pytest-mock.
This commit is contained in:
parent
5a8fa27fe4
commit
f838fe676b
1 changed files with 9 additions and 0 deletions
|
@ -17723,6 +17723,15 @@ (define-public python-shellingham
|
|||
(sha256
|
||||
(base32 "0iawv24xx6vhwbhqlxyyg901f8pf6abqyfg0711v1bvlipx83g21"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "python" "-m" "pytest" "-v")))))))
|
||||
(native-inputs
|
||||
(list python-pytest python-pytest-mock))
|
||||
(home-page "https://github.com/sarugaku/shellingham")
|
||||
(synopsis "Tool to detect surrounding shell")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue