[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/18: gnu: python-trezor-agent: Delete trailing #t and honor TESTS?.
From: |
guix-commits |
Subject: |
09/18: gnu: python-trezor-agent: Delete trailing #t and honor TESTS?. |
Date: |
Tue, 7 Jun 2022 09:18:39 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 4e92098e85429ee5896251a164e5f3c8a6eb51ed
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Jun 6 17:03:44 2022 -0400
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.
---
gnu/packages/finance.scm | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 1b86f240dd..b02012a72c 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -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
- 03/18: gnu: Remove python-flake8-polyfill., (continued)
- 03/18: gnu: Remove python-flake8-polyfill., guix-commits, 2022/06/07
- 04/18: gnu: python-flake8: Update to 4.0.1., guix-commits, 2022/06/07
- 08/18: gnu: python-trezor: Update to 0.13.0., guix-commits, 2022/06/07
- 18/18: gnu: offlate: Fix build., guix-commits, 2022/06/07
- 01/18: gnu: python-radon: Update to 5.1.0., guix-commits, 2022/06/07
- 02/18: gnu: python-pep8-naming: Update to 0.13.0., guix-commits, 2022/06/07
- 05/18: gnu: xenon: Update to 0.9.0, rename and relocate., guix-commits, 2022/06/07
- 06/18: gnu: python-flask-combo-jsonapi: Skip failing test., guix-commits, 2022/06/07
- 07/18: gnu: python-flask-restx: Skip networking dependent test., guix-commits, 2022/06/07
- 10/18: gnu: python-trezor: Add python-hidapi optional dependency., guix-commits, 2022/06/07
- 09/18: gnu: python-trezor-agent: Delete trailing #t and honor TESTS?.,
guix-commits <=
- 11/18: gnu: trezor-agent: Update to 0.14.4., guix-commits, 2022/06/07
- 12/18: gnu: electron-cash: Update to 4.2.10., guix-commits, 2022/06/07
- 13/18: gnu: electron-cash: Apply new style to inputs and use gexps., guix-commits, 2022/06/07
- 14/18: gnu: nikola: Update to 8.2.2., guix-commits, 2022/06/07
- 15/18: gnu: python-xunitparser: Update to 1.3.4., guix-commits, 2022/06/07
- 16/18: gnu: python-pygmsh: Update to 7.1.17., guix-commits, 2022/06/07
- 17/18: gnu: python-pygit2: Update to 1.9.2 and enable tests., guix-commits, 2022/06/07