guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/08: gnu: macs: Patch version check for Python.


From: guix-commits
Subject: 05/08: gnu: macs: Patch version check for Python.
Date: Mon, 24 Apr 2023 13:49:39 -0400 (EDT)

rekado pushed a commit to branch core-updates
in repository guix.

commit 9703ecc47bfc2324669f9950b21bcca2b99b4c89
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Apr 24 18:57:36 2023 +0200

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]