[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
47/104: gnu: python-ipython: Fix build.
From: |
Hartmut Goebel |
Subject: |
47/104: gnu: python-ipython: 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 eee5cd04405dc499fcdce20f9219a9bded5720ce
Author: Hartmut Goebel <address@hidden>
Date: Sun Oct 9 16:09:13 2016 +0200
gnu: python-ipython: Fix build.
* gnu/packages/python.scm (python-ipython, python2-ipython) [check,
install-doc] set PYTHONPATH prior to running tests.
---
gnu/packages/python.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e0d0843..a3fd374 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4664,6 +4664,8 @@ tools for mocking system commands and recording calls to
those.")
(info (string-append data "/info"))
(examples (string-append doc "/examples")))
(setenv "LANG" "en_US.utf8")
+ ;; Make installed package available for running the tests
+ (add-installed-pythonpath inputs outputs)
(with-directory-excursion "docs"
;; FIXME: pdf fails to build
;;(system* "make" "pdf" "PAPER=a4")
@@ -4683,9 +4685,11 @@ tools for mocking system commands and recording calls to
those.")
(delete 'check)
(add-after
'install 'check
- (lambda* (#:key outputs tests? #:allow-other-keys)
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
(if tests?
(with-directory-excursion "/tmp"
+ ;; Make installed package available for running the tests
+ (add-installed-pythonpath inputs outputs)
(setenv "HOME" "/tmp/") ;; required by a test
(zero? (system* (string-append (assoc-ref outputs "out")
"/bin/iptest"))))
- 50/104: gnu: openstack: Correct inputs., (continued)
- 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
- 47/104: gnu: python-ipython: Fix build.,
Hartmut Goebel <=
- 52/104: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/11/15
- 54/104: gnu: python-pytest-xdist: Remove needless input python-apipkg., Hartmut Goebel, 2016/11/15
- 56/104: gnu: python-testscenarios: remove needless input "mimetools"., Hartmut Goebel, 2016/11/15
- 61/104: gnu: python-oauthlib, python-oauthlib2: Correct inputs., Hartmut Goebel, 2016/11/15
- 84/104: gnu: python-sphinxcontrib-programoutput: Remove needless input., Hartmut Goebel, 2016/11/15
- 80/104: gnu: python-tox: Update FIXME comments., Hartmut Goebel, 2016/11/15
- 91/104: gnu: python-testlib: Remove useless self-defined phase "unpack"., Hartmut Goebel, 2016/11/15
- 103/104: gnu: python-botocore: fix inputs., Hartmut Goebel, 2016/11/15
- 42/104: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/11/15
- 40/104: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/11/15