guix-commits
[Top][All Lists]
Advanced

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

02/09: gnu: gess: Don't hardcode python version.


From: guix-commits
Subject: 02/09: gnu: gess: Don't hardcode python version.
Date: Mon, 17 Dec 2018 05:41:32 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 2f3977b9a7619e909828fbc4030229fe4195b741
Author: Efraim Flashner <address@hidden>
Date:   Sun Dec 16 22:48:53 2018 +0200

    gnu: gess: Don't hardcode python version.
    
    * gnu/packages/bioinformatics.scm (gess)[arguments]: Replace hardcoded
    python version with parameterized one.
---
 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 e17c536..5105bfa 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -11390,7 +11390,10 @@ remove biased methylation positions for RRBS sequence 
files.")
                     (out    (assoc-ref outputs "out"))
                     (bin    (string-append out "/bin/"))
                     (target (string-append
-                             out "/lib/python2.7/site-packages/gess/")))
+                             out "/lib/python"
+                             ,(version-major+minor
+                                (package-version python))
+                             "/site-packages/gess/")))
                (mkdir-p target)
                (copy-recursively "." target)
                ;; Make GESS.py executable



reply via email to

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