[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
48/97: gnu: python-ipython: Fix build
From: |
Hartmut Goebel |
Subject: |
48/97: gnu: python-ipython: 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 6e1788ee9654a21b5401930b4d96f1cfae579d47
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] set
PYTHONPATH prior to running tests.
---
gnu/packages/python.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9a24cb8..8c48cb3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4305,9 +4305,11 @@ without using the configuration machinery.")
(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 outputs inputs)
(setenv "HOME" "/tmp/") ;; required by a test
(zero? (system* (string-append (assoc-ref outputs "out")
"/bin/iptest"))))
- 30/97: gnu: python-ccm: Add missing input python-psutil., (continued)
- 30/97: gnu: python-ccm: Add missing input python-psutil., Hartmut Goebel, 2016/10/18
- 40/97: gnu: python-pytest-flakes: Fix build., Hartmut Goebel, 2016/10/18
- 47/97: gnu: python-scipy: Fix build., Hartmut Goebel, 2016/10/18
- 12/97: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/10/18
- 46/97: gnu: python-matplotlib: Fix build., Hartmut Goebel, 2016/10/18
- 31/97: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/10/18
- 29/97: gnu: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/18
- 35/97: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/18
- 36/97: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/10/18
- 39/97: gnu: python-pillow: Fix build., Hartmut Goebel, 2016/10/18
- 48/97: gnu: python-ipython: Fix build,
Hartmut Goebel <=
- 41/97: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/18
- 49/97: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH., Hartmut Goebel, 2016/10/18
- 27/97: some inputs -> propagated-inputs, Hartmut Goebel, 2016/10/18
- 52/97: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/18
- 56/97: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/10/18
- 53/97: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/18
- 38/97: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/18
- 42/97: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/18
- 44/97: gnu: python-fonttools: Remove intervening directory in site-packges., Hartmut Goebel, 2016/10/18
- 43/97: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/18