gnu: python-scipy: Adjust phases.

* gnu/packages/python-science.scm (python-scipy)[arguments]: Replace
'check with custom 'check phase.
This commit is contained in:
Efraim Flashner 2022-03-17 14:51:38 +02:00
parent bae2201a8d
commit e4b91f10c8
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -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)