gnu: clipper: Update to 1.1.

* gnu/packages/bioinformatics.scm (clipper): Update to 1.1.
[source]: Delete pre-built libraries.
[inputs]: Add python2-pandas.
master
Ricardo Wurmus 2016-08-17 17:32:52 +02:00 committed by Ricardo Wurmus
parent 316a5d02b0
commit 433530a5fc
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 12 additions and 5 deletions

View File

@ -1422,7 +1422,7 @@ databases.")
(define-public clipper (define-public clipper
(package (package
(name "clipper") (name "clipper")
(version "0.3.0") (version "1.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -1431,12 +1431,18 @@ databases.")
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1q7jpimsqln7ic44i8v2rx2haj5wvik8hc1s2syd31zcn0xk1iyq")) "0pflmsvhbf8izbgwhbhj1i7349sw1f55qpqj8ljmapp16hb0p0qi"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
;; remove unnecessary setup dependency '(begin
'(substitute* "setup.py" ;; remove unnecessary setup dependency
(("setup_requires = .*") ""))))) (substitute* "setup.py"
(("setup_requires = .*") ""))
(for-each delete-file
'("clipper/src/peaks.so"
"clipper/src/readsToWiggle.so"))
(delete-file-recursively "dist/")
#t))))
(build-system python-build-system) (build-system python-build-system)
(arguments `(#:python ,python-2)) ; only Python 2 is supported (arguments `(#:python ,python-2)) ; only Python 2 is supported
(inputs (inputs
@ -1445,6 +1451,7 @@ databases.")
("python-cython" ,python2-cython) ("python-cython" ,python2-cython)
("python-scikit-learn" ,python2-scikit-learn) ("python-scikit-learn" ,python2-scikit-learn)
("python-matplotlib" ,python2-matplotlib) ("python-matplotlib" ,python2-matplotlib)
("python-pandas" ,python2-pandas)
("python-pysam" ,python2-pysam) ("python-pysam" ,python2-pysam)
("python-numpy" ,python2-numpy) ("python-numpy" ,python2-numpy)
("python-scipy" ,python2-scipy))) ("python-scipy" ,python2-scipy)))