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"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Make the installed plugin discoverable by Pytest.
(add-installed-pythonpath inputs outputs)
(invoke "pytest" "-vv"))))))
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Make the installed plugin discoverable by Pytest.
(add-installed-pythonpath inputs outputs)
(invoke "pytest" "-vv"))))))
(native-inputs
(list python-pytest python-setuptools ; needs setuptools >= 50.3.2
python-setuptools-scm python-setuptools-declarative-requirements))