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