mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-08 04:14:06 -05:00
gnu: macs: Patch version check for Python.
* gnu/packages/bioinformatics.scm (macs)[source]: Patch check for Python > 3.6.
This commit is contained in:
parent
913668e879
commit
9703ecc47b
1 changed files with 4 additions and 1 deletions
|
@ -6032,7 +6032,10 @@ (define-public macs
|
|||
(when (file-exists? generated-file)
|
||||
(delete-file generated-file))))
|
||||
(find-files "." "\\.pyx$"))
|
||||
(delete-file "MACS2/IO/CallPeakUnitPrecompiled.c")))))
|
||||
(delete-file "MACS2/IO/CallPeakUnitPrecompiled.c")
|
||||
;; Python 3.10 is in fact more recent than 3.6.
|
||||
(substitute* "setup.py"
|
||||
(("float\\(sys.version\\[:3\\]\\)<3.6") "False"))))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
|
|
Loading…
Reference in a new issue