mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user