Archived
1
0
Fork 0

gnu: macs: Update to 2.2.7.1.

* gnu/packages/bioinformatics.scm (macs): Update to 2.2.7.1.
This commit is contained in:
Ricardo Wurmus 2021-06-07 15:30:37 +02:00
parent 1ace395f9c
commit 9875dae429
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4876,7 +4876,7 @@ experiments.")
(define-public macs (define-public macs
(package (package
(name "macs") (name "macs")
(version "2.2.6") (version "2.2.7.1")
(source (origin (source (origin
;; The PyPi tarball does not contain tests. ;; The PyPi tarball does not contain tests.
(method git-fetch) (method git-fetch)
@ -4886,7 +4886,7 @@ experiments.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1c5gxr0mk6hkd4vclf0k00wvyvzw2vrmk52c85338p7aqjwg6n15")) "08zsgh65xbpv1md2s3wqmrk9g2mz6izmn59ryw5lbac54120p291"))
(modules '((guix build utils))) (modules '((guix build utils)))
;; Remove files generated by Cython ;; Remove files generated by Cython
(snippet (snippet
@ -4897,8 +4897,7 @@ experiments.")
(when (file-exists? generated-file) (when (file-exists? generated-file)
(delete-file generated-file)))) (delete-file generated-file))))
(find-files "." "\\.pyx$")) (find-files "." "\\.pyx$"))
(delete-file "MACS2/IO/CallPeakUnitPrecompiled.c") (delete-file "MACS2/IO/CallPeakUnitPrecompiled.c")))))
#t))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -4907,8 +4906,7 @@ experiments.")
(lambda* (#:key tests? inputs outputs #:allow-other-keys) (lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests? (when tests?
(add-installed-pythonpath inputs outputs) (add-installed-pythonpath inputs outputs)
(invoke "pytest" "-v")) (invoke "pytest" "-v")))))))
#t)))))
(inputs (inputs
`(("python-numpy" ,python-numpy))) `(("python-numpy" ,python-numpy)))
(native-inputs (native-inputs