me
/
guix
Archived
1
0
Fork 0

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.
Maxim Cournoyer 2022-06-06 17:03:44 -04:00
parent 08063e55ba
commit 4e92098e85
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 4 additions and 6 deletions

View File

@ -875,14 +875,12 @@ the Monero GUI client.")
;; 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