aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-12-26 09:38:37 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-12-26 09:38:37 +0200
commit8f82e7e3dc234693afbaa0375726dbd44a19a0f8 (patch)
tree1d2e5fcfc11097432dae3e7ac01d83c4c02ee4cd /gnu
parent7e476ae819a156315e3fdf8f8118c287c1ed8aa4 (diff)
downloadpatches-8f82e7e3dc234693afbaa0375726dbd44a19a0f8.tar
patches-8f82e7e3dc234693afbaa0375726dbd44a19a0f8.tar.gz
gnu: python-pathos: Run test suite.
* gnu/packages/python-xyz.scm (python-pathos)[arguments]: Use custom 'check phase. [native-inputs]: Add python-pytest.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0f9afe66be..5b8f377017 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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")