diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-04-24 18:57:36 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-04-24 19:49:04 +0200 |
commit | 9703ecc47bfc2324669f9950b21bcca2b99b4c89 (patch) | |
tree | bda382377c5cb4fa0af37af9c678a7180fda1209 /gnu | |
parent | 913668e8796f453630c83b7e20df72e60961ad11 (diff) | |
download | guix-9703ecc47bfc2324669f9950b21bcca2b99b4c89.tar guix-9703ecc47bfc2324669f9950b21bcca2b99b4c89.tar.gz |
gnu: macs: Patch version check for Python.
* gnu/packages/bioinformatics.scm (macs)[source]: Patch check for Python >
3.6.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index f54b1db86c..d6b8dcaad4 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -6032,7 +6032,10 @@ experiments.") (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 |