guix-commits
[Top][All Lists]
Advanced

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

47/97: gnu: python-scipy: Fix build.


From: Hartmut Goebel
Subject: 47/97: gnu: python-scipy: Fix build.
Date: Tue, 18 Oct 2016 20:13:19 +0000 (UTC)

htgoebel pushed a commit to branch wip-python-build-system
in repository guix.

commit 36c8f5e3bcd2ebda824b0a5ebe2ff4fb8d9833e7
Author: Hartmut Goebel <address@hidden>
Date:   Sun Oct 9 16:05:24 2016 +0200

    gnu: python-scipy: Fix build.
    
    * gnu/packages/python.scm (python-scipy) Use add-installed-pythonpath.  Add
      dummy newlines character to string to make emacs happy.
---
 gnu/packages/python.scm |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ae249c8..9a24cb8 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3489,7 +3489,9 @@ functions.")
 libraries = openblas
 library_dirs = ~a/lib
 include_dirs = ~a/include
-[atlas]
+
+# backslash-n to make emacs happy
+\n[atlas]
 library_dirs = ~a/lib
 atlas_libs = openblas
 "
@@ -3499,11 +3501,14 @@ atlas_libs = openblas
           #t)
         (alist-cons-after
          'install 'install-doc
-         (lambda* (#:key outputs #:allow-other-keys)
+         (lambda* (#:key inputs outputs #:allow-other-keys)
            (let* ((data (string-append (assoc-ref outputs "doc") "/share"))
                   (doc (string-append data "/doc/" ,name "-" ,version))
                   (html (string-append doc "/html"))
                   (pyver ,(string-append "PYVER=")))
+             ;; Make installed package available for building the
+             ;; documentation
+             (add-installed-pythonpath outputs inputs)
              (with-directory-excursion "doc"
                ;; Fix generation of images for mathematical expressions.
                (substitute* (find-files "source" "conf\\.py")



reply via email to

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