[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55814] [PATCH v3 4/8] `python-flake8` now supports `#:tests?`
From: |
Christopher Rodriguez |
Subject: |
[bug#55814] [PATCH v3 4/8] `python-flake8` now supports `#:tests?` |
Date: |
Mon, 6 Jun 2022 21:10:08 -0400 |
[Bug: 55814]
---
gnu/packages/python-xyz.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 48311c6c33..de996826e1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10205,9 +10205,10 @@ (define-public python-flake8
(arguments
`(#:phases (modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-v"))))))
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "-v")))))))
(propagated-inputs (list python-pycodestyle python-entrypoints
python-pyflakes python-mccabe))
(native-inputs (list python-mock python-pytest))
--
2.36.1
- [bug#55814] [PATCH] Updated python-flake8 and inputs to reenable build., Christopher Rodriguez, 2022/06/05
- [bug#55814] [PATCH v3 1/8] Refreshed `python-pycodestyle` to version 2.8.0., Christopher Rodriguez, 2022/06/06
- [bug#55814] [PATCH v3 5/8] Added `python-pyflakes-2.3` as a variant package., Christopher Rodriguez, 2022/06/06
- [bug#55814] [PATCH v3 4/8] `python-flake8` now supports `#:tests?`,
Christopher Rodriguez <=
- [bug#55814] [PATCH v3 3/8] `python-pycodestyle` now respects `#:tests?`, Christopher Rodriguez, 2022/06/06
- [bug#55814] [PATCH v3 7/8] Added `python-flake8-3.9` as a variant package., Christopher Rodriguez, 2022/06/06
- [bug#55814] [PATCH v3 2/8] Refreshed `python-flake8` to 4.0.1., Christopher Rodriguez, 2022/06/06
- [bug#55814] [PATCH v3 6/8] Added `python-pycodestyle-2.7` as a variant package., Christopher Rodriguez, 2022/06/06
- [bug#55814] [PATCH v3 8/8] Formatted Code with `guix style`., Christopher Rodriguez, 2022/06/06
- [bug#55814] Status of Rebuilds for Change, Christopher Rodriguez, 2022/06/06
- bug#55814: [PATCH] Updated python-flake8 and inputs to reenable build., Maxim Cournoyer, 2022/06/07