[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/104: gnu: python-matplotlib: Fix build.
From: |
Hartmut Goebel |
Subject: |
45/104: gnu: python-matplotlib: 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 ca33a3ad970db4fa7ede5d977db576ae98e67406
Author: Hartmut Goebel <address@hidden>
Date: Sun Oct 9 13:19:50 2016 +0200
gnu: python-matplotlib: Fix build.
* gnu/packages/python.scm (python-matplotlib, python2-matplotlib): Correct
inputs. [install-doc] set PYTHONPATH prior to building docs.
---
gnu/packages/python.scm | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 092378c..0c5450b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3385,6 +3385,11 @@ transcendental functions).")
("python-pygobject" ,python-pygobject)
("gobject-introspection" ,gobject-introspection)
("python-tkinter" ,python "tk")
+ ("python-dateutil" ,python-dateutil-2)
+ ("python-numpy" ,python-numpy-bootstrap)
+ ("python-pillow" ,python-pillow)
+ ("python-pytz" ,python-pytz)
+ ("python-six" ,python-six)
;; The 'gtk+' package (and 'gdk-pixbuf', 'atk' and 'pango' propagated
;; from 'gtk+') provides the required 'typelib' files used by
;; 'gobject-introspection'. The location of these files is set with the
@@ -3401,20 +3406,11 @@ transcendental functions).")
("python-pycairo" ,python-pycairo)
("python-cairocffi" ,python-cairocffi)))
(inputs
- `(("python-dateutil" ,python-dateutil-2)
- ("python-six" ,python-six)
- ("python-pytz" ,python-pytz)
- ("python-numpy" ,python-numpy-bootstrap)
- ("python-sphinx" ,python-sphinx)
- ("python-numpydoc" ,python-numpydoc)
- ("python-nose" ,python-nose)
- ("python-mock" ,python-mock)
- ("libpng" ,libpng)
+ `(("libpng" ,libpng)
("imagemagick" ,imagemagick)
("freetype" ,freetype)
("cairo" ,cairo)
("glib" ,glib)
- ("python-pillow" ,python-pillow)
;; FIXME: Add backends when available.
;("python-wxpython" ,python-wxpython)
;("python-pyqt" ,python-pyqt)
@@ -3422,6 +3418,10 @@ transcendental functions).")
("tk" ,tk)))
(native-inputs
`(("pkg-config" ,pkg-config)
+ ("python-sphinx" ,python-sphinx)
+ ("python-numpydoc" ,python-numpydoc)
+ ("python-nose" ,python-nose)
+ ("python-mock" ,python-mock)
("texlive" ,texlive)
("texinfo" ,texinfo)))
(arguments
@@ -3446,11 +3446,14 @@ backend = TkAgg~%"
(assoc-ref inputs "tk"))))))
(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))
(info (string-append data "/info"))
(html (string-append doc "/html")))
+ ;; Make installed package available for building the
+ ;; documentation
+ (add-installed-pythonpath inputs outputs)
(with-directory-excursion "doc"
;; Produce pdf in 'A4' format.
(substitute* (find-files "." "conf\\.py")
- 19/104: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., (continued)
- 19/104: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/11/15
- 38/104: gnu: python-pillow: Fix build., Hartmut Goebel, 2016/11/15
- 41/104: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/11/15
- 35/104: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/11/15
- 37/104: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/11/15
- 36/104: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/11/15
- 57/104: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/11/15
- 49/104: gnu: thefuck: Fix build., Hartmut Goebel, 2016/11/15
- 51/104: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/11/15
- 63/104: gnu: python-joblib: Add comment., Hartmut Goebel, 2016/11/15
- 45/104: gnu: python-matplotlib: Fix build.,
Hartmut Goebel <=
- 50/104: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/11/15
- 71/104: gnu: Add python-rst.linker, python2-rst.linker., Hartmut Goebel, 2016/11/15
- 28/104: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/11/15
- 43/104: gnu: python-fonttools: Remove intervening directory in site-packges., Hartmut Goebel, 2016/11/15
- 58/104: gnu: python-statsmodels: Fix build, Hartmut Goebel, 2016/11/15
- 60/104: gnu: python-pyjwt: Add missing inputs and enable test-suite., Hartmut Goebel, 2016/11/15
- 65/104: gnu: python-blinker: No longer disable tests., Hartmut Goebel, 2016/11/15
- 69/104: gnu: python-redis: Remove unused input., Hartmut Goebel, 2016/11/15
- 73/104: gnu: python-zope-interface: Correct inputs., Hartmut Goebel, 2016/11/15
- 70/104: gnu: python-numpydoc: Correct inputs., Hartmut Goebel, 2016/11/15