[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/12: gnu: python-flake8: Do not delete and recreate check phase.
From: |
guix-commits |
Subject: |
09/12: gnu: python-flake8: Do not delete and recreate check phase. |
Date: |
Thu, 6 May 2021 13:16:06 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 9e22ab252f7c106f0aadcb697d22fa08eaf476e3
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu May 6 15:50:16 2021 +0200
gnu: python-flake8: Do not delete and recreate check phase.
* gnu/packages/python-xyz.scm (python-flake8)[arguments]: Replace check
phase
instead of deleting. Remove trailing #t.
---
gnu/packages/python-xyz.scm | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fbaec6e..75a0cc8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9009,12 +9009,10 @@ complexity of Python source code.")
(arguments
`(#:phases
(modify-phases %standard-phases
- (delete 'check)
- (add-after 'install 'check
+ (replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-v")
- #t)))))
+ (invoke "pytest" "-v"))))))
(propagated-inputs
`(("python-pycodestyle" ,python-pycodestyle)
("python-entrypoints" ,python-entrypoints)
- 01/12: gnu: gunicorn: Respect '--without-tests'., (continued)
- 01/12: gnu: gunicorn: Respect '--without-tests'., guix-commits, 2021/05/06
- 02/12: gnu: gunicorn: Remove unneeded runtime dependencies., guix-commits, 2021/05/06
- 03/12: gnu: gunicorn: Update to 2.1.0., guix-commits, 2021/05/06
- 06/12: gnu: python-django: Update to 3.2.2., guix-commits, 2021/05/06
- 05/12: gnu: Remove python-pykka., guix-commits, 2021/05/06
- 08/12: gnu: python-flake8: Do not use the 'bootstrap' pytest., guix-commits, 2021/05/06
- 07/12: gnu: python-django@2.2: Update to 2.2.22., guix-commits, 2021/05/06
- 12/12: gnu: python-hacking: Update to 4.1.0., guix-commits, 2021/05/06
- 04/12: gnu: python-dnspython: Update to 2.1.0., guix-commits, 2021/05/06
- 10/12: gnu: python-flake8: Update to 3.9.1., guix-commits, 2021/05/06
- 09/12: gnu: python-flake8: Do not delete and recreate check phase.,
guix-commits <=
- 11/12: gnu: python-hacking: Fix build failure., guix-commits, 2021/05/06