[Top][All Lists]

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

01/02: gnu: python-xcffib: Fix path.

From: Marius Bakke
Subject: 01/02: gnu: python-xcffib: Fix path.
Date: Fri, 26 May 2017 14:34:23 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit e46bf22391b97a515f7a1cf975e019e3f3f5df3b
Author: José Miguel Sánchez García <address@hidden>
Date:   Fri May 26 18:35:17 2017 +0200

    gnu: python-xcffib: Fix path.
    * gnu/packages/python.scm (python-xcffib)[arguments]<#:phases>: Add phase to
    embed full path to
    Signed-off-by: Marius Bakke <address@hidden>
 gnu/packages/python.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c42daa1..2f3219c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4765,10 +4765,16 @@ a front-end for C compilers or analysis tools.")
      `(("python-cffi" ,python-cffi) ; used at run time
        ("python-six" ,python-six)))
-     `(;; FIXME: Tests cannot load
+     `(;; FIXME: Tests need more work. See ".travis.yml" in the repository.
        #:tests? #f
        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-libxcb-path
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let ((libxcb (assoc-ref inputs "libxcb")))
+               (substitute* '("xcffib/")
+                 (("^soname = \"") (string-append "soname = \"" libxcb 
+               #t)))
          (add-after 'install 'install-doc
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((doc (string-append (assoc-ref outputs "out") "/share"

reply via email to

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