[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
46/104: gnu: python-scipy: Fix build.
From: |
Hartmut Goebel |
Subject: |
46/104: gnu: python-scipy: Fix build. |
Date: |
Tue, 15 Nov 2016 21:37:03 +0000 (UTC) |
htgoebel pushed a commit to branch python-build-system
in repository guix.
commit d548e6aa06702793471ae764bd4df3265dbcfb7f
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 0c5450b..e0d0843 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3614,7 +3614,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
"
@@ -3624,11 +3626,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 inputs outputs)
(with-directory-excursion "doc"
;; Fix generation of images for mathematical expressions.
(substitute* (find-files "source" "conf\\.py")
- 66/104: gnu: python-scikit-image: Correct inputs., (continued)
- 66/104: gnu: python-scikit-image: Correct inputs., Hartmut Goebel, 2016/11/15
- 86/104: gnu: python-prompt-toolkit: Correct inputs, Hartmut Goebel, 2016/11/15
- 87/104: gnu: python-consul: Correct inputs., Hartmut Goebel, 2016/11/15
- 68/104: gnu: python2-scikit-image: Remove needless native-input and inheritance., Hartmut Goebel, 2016/11/15
- 89/104: gnu: python-nautilus: Correct inputs, Hartmut Goebel, 2016/11/15
- 96/104: gnu: python-flake8: Remove python byte-code files from source., Hartmut Goebel, 2016/11/15
- 99/104: gnu: python-scikit-learn: Remove useless property "python2-variant"., Hartmut Goebel, 2016/11/15
- 100/104: gnu: python-betamax: fix inputs., Hartmut Goebel, 2016/11/15
- 12/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a), Hartmut Goebel, 2016/11/15
- 17/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b), Hartmut Goebel, 2016/11/15
- 46/104: gnu: python-scipy: Fix build.,
Hartmut Goebel <=
- 53/104: gnu: python-subunit, python-testrepository: Fix inputs, Hartmut Goebel, 2016/11/15
- 44/104: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/11/15
- 64/104: gnu: python-feedgenerator: Remove python byte-code files from source., Hartmut Goebel, 2016/11/15
- 67/104: gnu: python2-scikit-image: Remove needless propagated-input., Hartmut Goebel, 2016/11/15
- 75/104: gnu: python-configobj: Correct inputs., Hartmut Goebel, 2016/11/15
- 76/104: gnu: python-zope-security: Correct inputs., Hartmut Goebel, 2016/11/15
- 55/104: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/11/15
- 72/104: gnu: python-pathpy: Build documentation., Hartmut Goebel, 2016/11/15
- 77/104: gnu: python-websocket-client: Correct inputs., Hartmut Goebel, 2016/11/15
- 83/104: gnu: python-sphinx-repoze-autointerface: Remove needless input., Hartmut Goebel, 2016/11/15