gnu: python-pifpaf: Enable tests.

* gnu/packages/python-xyz.scm (python-pifpaf)[arguments]: Enable tests.
Use custom 'check phase.
This commit is contained in:
Efraim Flashner 2020-07-21 16:05:47 +03:00
parent ff7a6c6d5b
commit 2313be9041
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -19902,7 +19902,12 @@ (define-public python-pifpaf
"150av2pylsjy8ykrpyi0vzy2q24s9rhh2ya01zvwnvj9j5dspviz"))))
(build-system python-build-system)
(arguments
`(#:tests? #f))
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "python" "setup.py" "testr" "--slowest"
"--testr-args=until-failure"))))))
(propagated-inputs
`(("python-click" ,python-click)
("python-daiquiri" ,python-daiquiri)