From 9703ecc47bfc2324669f9950b21bcca2b99b4c89 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 24 Apr 2023 18:57:36 +0200 Subject: [PATCH] gnu: macs: Patch version check for Python. * gnu/packages/bioinformatics.scm (macs)[source]: Patch check for Python > 3.6. --- gnu/packages/bioinformatics.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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