me
/
guix
Archived
1
0
Fork 0

gnu: python-pathos: Run test suite.

* gnu/packages/python-xyz.scm (python-pathos)[arguments]: Use custom
'check phase.
[native-inputs]: Add python-pytest.
master
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
1 changed files with 10 additions and 0 deletions

View File

@ -16999,11 +16999,21 @@ essential tools are located.")
(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")