me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/check.scm (python-pytest-xdist): Use pyproject-build-system.
master
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
1 changed files with 1 additions and 9 deletions

View File

@ -1741,15 +1741,7 @@ same arguments.")
(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")