gnu: python-pytest-xdist: Use pyproject-build-system.

* gnu/packages/check.scm (python-pytest-xdist): Use pyproject-build-system.
This commit is contained in:
Nicolas Graves 2023-12-13 22:56:27 +01:00 committed by Ricardo Wurmus
parent 2528aabf6f
commit 118b2f79f8
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1741,15 +1741,7 @@ (define-public python-pytest-xdist
(sha256
(base32
"1psf5dqxvc38qzxvc305mkg5xpdmdkbkkfiyqlmdnkgh7z5dx025"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv"
"-n" (number->string (parallel-job-count)))))))))
(build-system pyproject-build-system)
(native-inputs (list python-setuptools-scm python-filelock python-pytest))
(propagated-inputs (list python-execnet python-pytest-forked))
(home-page "https://github.com/pytest-dev/pytest-xdist")