gnu: python-pytest-openfiles: Simplify package.
* gnu/packages/python-check.scm (python-pytest-openfiles) [build-system]: Swap to pyproject-build-system. [arguments]: <#:phases>: Use default 'chck phase. Change-Id: I3bbbacd8694afdfee020f11d37f5c035bdad73f9master
parent
66c1a004ac
commit
77c8bff0ea
|
@ -847,15 +847,7 @@ access to test session metadata.")
|
||||||
(uri (pypi-uri "pytest_openfiles" version))
|
(uri (pypi-uri "pytest_openfiles" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "14x9f1l9a5ghf527i5qfcfa003mkrky1dhx2hfwq5nma9v1n0lgz"))))
|
(base32 "14x9f1l9a5ghf527i5qfcfa003mkrky1dhx2hfwq5nma9v1n0lgz"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-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"))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-setuptools-scm python-pytest))
|
(list python-setuptools-scm python-pytest))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Reference in New Issue