gnu: python-trezor-agent: Delete trailing #t and honor TESTS?.
* gnu/packages/finance.scm (python-trezor-agent) [phases]: Delete trailing #t. {check}: Honor TESTS?. Delete extraneous add-installed-pythonpath call.
This commit is contained in:
parent
08063e55ba
commit
4e92098e85
1 changed files with 4 additions and 6 deletions
|
@ -875,14 +875,12 @@ (define-public python-trezor-agent
|
|||
;; a built-in implementation supported in python-trezor-agent.
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("'backports.shutil_which>=3.5.1',") ""))
|
||||
#t))
|
||||
(("'backports.shutil_which>=3.5.1',") ""))))
|
||||
(delete 'check)
|
||||
(add-after 'install 'check
|
||||
(lambda* (#:key outputs inputs #:allow-other-keys)
|
||||
;; Make installed package available for running the tests.
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "py.test"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-v")))))))
|
||||
(propagated-inputs
|
||||
(list python-configargparse
|
||||
python-daemon
|
||||
|
|
Loading…
Reference in a new issue