gnu: macs: Patch version check for Python.

* gnu/packages/bioinformatics.scm (macs)[source]: Patch check for Python >
3.6.
This commit is contained in:
Ricardo Wurmus 2023-04-24 18:57:36 +02:00
parent 913668e879
commit 9703ecc47b
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -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