diff options
author | pjotrp | 2017-03-05 13:46:59 +0000 |
---|---|---|
committer | pjotrp | 2017-03-05 13:46:59 +0000 |
commit | 58dc34fbcf6d1be8fb40d193242b5d954c633fd9 (patch) | |
tree | 17a9865eaf817e33cf50da758981cd1fcbc4ae78 | |
parent | afa4b031ef62abb32742008e9eb5513f9ce026f0 (diff) | |
download | guix-bioinformatics-58dc34fbcf6d1be8fb40d193242b5d954c633fd9.tar.gz |
qtlreaper: another python setuptools victim
-rw-r--r-- | gn/packages/genenetwork.scm | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index 73fb3b8..be166a4 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -92,7 +92,7 @@ (let ((commit "71fbbe2b35e4f54937be2d54d09fb71d25fe5fad")) (package (name "qtlreaper") - (version (string-append "1.1-gn2" (string-take commit 7) )) + (version (string-append "1.1-gn2-" (string-take commit 7) )) (source (origin (method git-fetch) (uri (git-reference @@ -104,13 +104,26 @@ (base32 "0g0v20lh7773cm2xdqz6xzwjw4130y265n79z5x20p5aja5y5kmg")))) (build-system python-build-system) - ;; (native-inputs - ;; `(("python-setuptools" ,python-setuptools))) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))) (arguments `(#:python ,python-2 - )) + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda* (#:key inputs #:allow-other-keys) + (zero? (system* "python" "setup.py" "build")))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + ;; Build and install the Python bindings. The underlying + ;; C++ library is apparently not meant to be installed. + (let ((out (assoc-ref outputs "out"))) + (system* "python" "setup.py" "install" + (string-append "--prefix=" out)))))) + #:tests? #f)) ; no 'setup.py test' really! + (home-page "http://qtlreaper.sourceforge.net/") - (synopsis "Tool for scanning expression data for QTLs") + (synopsis "Rapidly scan expression data for QTLs") (description "Batch-oriented version of WebQTL. It requires, as input, expression data from members of a set of recombinant inbred lines and |