[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
46/57: gnu: python-ipython: Fix build
From: |
Hartmut Goebel |
Subject: |
46/57: gnu: python-ipython: Fix build |
Date: |
Thu, 13 Oct 2016 15:20:35 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit e91f1ff8d2f38e6e05af897dee7cd9b0c94d1451
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 aa5a912..e82083b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4299,9 +4299,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"))))
- branch wip-python-build-system created (now ec6bb65), Hartmut Goebel, 2016/10/13
- 18/57: gnu: python-pytest: Propagate input "python-py"., Hartmut Goebel, 2016/10/13
- 22/57: gnu: Fix inputs in python.scm, part 2: native-inputs -> propagated-inputs., Hartmut Goebel, 2016/10/13
- 46/57: gnu: python-ipython: Fix build,
Hartmut Goebel <=
- 06/57: guix: python-build-system: Delete .egg-info file created in phase check., Hartmut Goebel, 2016/10/13
- 05/57: guix: python-build-system: Add helpers for getting and setting PYTHONPATH., Hartmut Goebel, 2016/10/13
- 04/57: guix: python-build-system: Add option "#:use-setuptools?" (default true)., Hartmut Goebel, 2016/10/13
- 08/57: lint: more packages to probably be a native input., Hartmut Goebel, 2016/10/13
- 19/57: gnu: python-pytest-cov: Use upstream options for testing., Hartmut Goebel, 2016/10/13
- 17/57: gnu: scons: Do not use setuptools for building., Hartmut Goebel, 2016/10/13
- 31/57: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/10/13
- 13/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/10/13
- 45/57: gnu: python-scipy: Fix build., Hartmut Goebel, 2016/10/13
- 27/57: gnu: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/13