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: I3bbbacd8694afdfee020f11d37f5c035bdad73f9
This commit is contained in:
Sharlatan Hellseher 2024-07-02 13:05:18 +01:00
parent 66c1a004ac
commit 77c8bff0ea
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -847,15 +847,7 @@ (define-public python-pytest-openfiles
(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