diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2020-04-30 13:00:50 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-04-30 13:08:33 +0200 |
commit | 4a148c6da37b55b22842ddbf0ec0ba56132c44ff (patch) | |
tree | b7a246aaa438ea7bba93e56392cb8437d7831511 | |
parent | ed33317893812715bf37005fb0ba5192b651b14f (diff) | |
download | guix-4a148c6da37b55b22842ddbf0ec0ba56132c44ff.tar.gz |
gnu: python2-warpedlmm: Fix build.
* gnu/packages/bioinformatics.scm (python2-warpedlmm)[propagated-inputs]: Add python2-weave. [arguments]: Disable tests and add "use-weave" phase.
-rw-r--r-- | gnu/packages/bioinformatics.scm | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index f90a0bf90c..740ed66972 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -4942,14 +4942,24 @@ files and writing bioinformatics applications.") "1agfz6zqa8nc6cw47yh0s3y14gkpa9wqazwcj7mwwj3ffnw39p3j")))) (build-system python-build-system) (arguments - `(#:python ,python-2)) ; requires Python 2.7 + `(#:python ,python-2 ; requires Python 2.7 + #:tests? #f ; test data are not included + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'use-weave + (lambda _ + (substitute* "warpedlmm/util/linalg.py" + (("from scipy import linalg, weave") + "from scipy import linalg\nimport weave")) + #t))))) (propagated-inputs `(("python-scipy" ,python2-scipy) ("python-numpy" ,python2-numpy) ("python-matplotlib" ,python2-matplotlib) ("python-fastlmm" ,python2-fastlmm) ("python-pandas" ,python2-pandas) - ("python-pysnptools" ,python2-pysnptools))) + ("python-pysnptools" ,python2-pysnptools) + ("python-weave" ,python2-weave))) (native-inputs `(("python-mock" ,python2-mock) ("python-nose" ,python2-nose) |