gnu: python-pytest-csv: Simplify package.

* gnu/packages/python-check.scm (python-pytest-csv) [build-system]: Swap
to pyproejct-build-system.
[arguments]: Use standard 'check phase.

Change-Id: Iae04747b117bf5b5f9fb3c8b57cd40b8822edd77
This commit is contained in:
Sharlatan Hellseher 2024-02-11 11:29:00 +00:00
parent a3f02bc780
commit 120e2a64da
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -179,15 +179,7 @@ (define-public python-pytest-csv
(sha256
(base32
"17518f2fn5l98lyk9p8r7215c1whi61imzrh6ahrmcksr8w0zz04"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "pytest")))))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest-flake8 python-pytest-xdist python-tabulate))
(propagated-inputs