mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 09:02:59 -05:00
gnu: pythonbitstring: Run tests.
* gnu/packages/python-xyx.scm (python-bitstring)[arguments]: Replace check phase. [native-inputs]: Add python-pytesst.
This commit is contained in:
parent
9779d08982
commit
3742c7f6dc
1 changed files with 12 additions and 0 deletions
|
@ -23324,6 +23324,18 @@ (define-public python-bitstring
|
|||
(base32
|
||||
"0jl6192dwrlm5ybkbh7ywmyaymrc3cmz9y07nm7qdli9n9rfpwzx"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||
(when tests?
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(with-directory-excursion "test"
|
||||
(invoke "pytest")))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("python-pytest" ,python-pytest)))
|
||||
(home-page "https://github.com/scott-griffiths/bitstring")
|
||||
(synopsis
|
||||
"Simple construction, analysis and modification of binary data")
|
||||
|
|
Loading…
Reference in a new issue