gnu: python-pathos: Run test suite.

* gnu/packages/python-xyz.scm (python-pathos)[arguments]: Use custom
'check phase.
[native-inputs]: Add python-pytest.
This commit is contained in:
Efraim Flashner 2019-12-26 09:38:37 +02:00
parent 7e476ae819
commit 8f82e7e3dc
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -16999,11 +16999,21 @@ (define-public python-pathos
(base32
"0in8hxdz7k081ijn6q94gr39ycy7363sx4zysmbwyvd7snqjrbi1"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(setenv "PYTHONPATH"
(string-append (getcwd) ":" (getenv "PYTHONPATH")))
(invoke "python" "./tests/__main__.py"))))))
(propagated-inputs
`(("python-dill" ,python-dill)
("python-multiprocess" ,python-multiprocess)
("python-pox" ,python-pox)
("python-ppft" ,python-ppft)))
(native-inputs
`(("python-pytest" ,python-pytest)))
(home-page "https://pypi.org/project/pathos/")
(synopsis
"Parallel graph management and execution in heterogeneous computing")