summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-02-23 10:06:48 +0100
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:13 +0200
commite3cfbd0c1517f416652f18f36886e992a8aa077a (patch)
treeef06ee0166f5d3cf0dda8fbe0f2368798487deaf
parent70b3077d7b9c4e27497a5cd5640cdbf21dae7a30 (diff)
gnu: python-pytest-flakes: Use pyproject-build-system.
* gnu/packages/check.scm (python-pytest-flakes)[build-system]: Use pyproject-build-system. [arguments]: Remove custom 'check phase; use #:test-flags instead. [native-inputs]: Remove python-pytest-pep8; add python-setuptools and python-wheel. Change-Id: I510ed41d7750e4024c404322c60deae4291dc9b7
-rw-r--r--gnu/packages/check.scm16
1 files changed, 5 insertions, 11 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 95461c8121..664f79b129 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3214,19 +3214,13 @@ each of the environments.")
(sha256
(base32
"0959qfxb4ayvfxvmpargvh4zfhwdq5l77gczhzv33bhmfblk8ccm"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (delete 'check)
- (add-after 'install 'check
- (lambda* (#:key outputs inputs #:allow-other-keys)
- ;; It's easier to run tests after install.
- ;; Make installed package available for running the tests
- (add-installed-pythonpath inputs outputs)
- (invoke "py.test" "-vv" "-k" "not test_syntax_error"))))))
+ (list
+ #:test-flags
+ '(list "-k" "not test_syntax_error")))
(native-inputs
- (list python-coverage python-pytest python-pytest-pep8))
+ (list python-coverage python-pytest python-setuptools python-wheel))
(propagated-inputs
(list python-pyflakes))
(home-page "https://github.com/fschulze/pytest-flakes")