From e4b91f10c8d3912838e0d0f803f54363de9a3ca7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 17 Mar 2022 14:51:38 +0200 Subject: gnu: python-scipy: Adjust phases. * gnu/packages/python-science.scm (python-scipy)[arguments]: Replace 'check with custom 'check phase. --- gnu/packages/python-science.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index e3e874dac2..e4aacdc072 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -157,10 +157,7 @@ atlas_libs = openblas (tgt-dir (string-append html "/" dir))) (install-file file html))) (find-files "."))))))) - ;; Tests can only be run after the library has been installed and not - ;; within the source directory. - (delete 'check) - (add-after 'install 'check + (replace 'check (lambda* (#:key tests? inputs outputs #:allow-other-keys) (when tests? (add-installed-pythonpath inputs outputs) -- cgit v1.2.3