mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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:
parent
9e8f4ba600
commit
cd3a45a5ec
1 changed files with 8 additions and 7 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue