gnu: python-pytest-helpers-namespace: Use modern style.

* gnu/packages/python-check.scm (python-pytest-helpers-namespace)[arguments]:
Use modern style.

Change-Id: I97d10134022e4073449b25dae13716f6a65c7c14
This commit is contained in:
jgart 2025-03-23 22:02:13 -05:00
parent 9e8f4ba600
commit cd3a45a5ec
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -1201,13 +1201,14 @@ sub-package.")
"0pyj2d45zagmzlajzqdnkw5yz8k49pkihbydsqkzm413qnkzb38q")))) "0pyj2d45zagmzlajzqdnkw5yz8k49pkihbydsqkzm413qnkzb38q"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases (list
(modify-phases %standard-phases #:phases
(replace 'check #~(modify-phases %standard-phases
(lambda* (#:key inputs outputs #:allow-other-keys) (replace 'check
;; Make the installed plugin discoverable by Pytest. (lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs) ;; Make the installed plugin discoverable by Pytest.
(invoke "pytest" "-vv")))))) (add-installed-pythonpath inputs outputs)
(invoke "pytest" "-vv"))))))
(native-inputs (native-inputs
(list python-pytest python-setuptools ; needs setuptools >= 50.3.2 (list python-pytest python-setuptools ; needs setuptools >= 50.3.2
python-setuptools-scm python-setuptools-declarative-requirements)) python-setuptools-scm python-setuptools-declarative-requirements))