[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: |
Sat, 15 Oct 2016 14:08:15 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 0dc6f8e1f7266cc7f93c36dec0244fcb21e644bc
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 93baf06..b49287e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4304,9 +4304,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"))))
- 13/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), (continued)
- 13/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/10/15
- 36/57: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/15
- 39/57: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/15
- 40/57: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/15
- 47/57: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH., Hartmut Goebel, 2016/10/15
- 45/57: gnu: python-scipy: Fix build., Hartmut Goebel, 2016/10/15
- 49/57: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/10/15
- 14/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b), Hartmut Goebel, 2016/10/15
- 11/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 2), Hartmut Goebel, 2016/10/15
- 41/57: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/15
- 46/57: gnu: python-ipython: Fix build,
Hartmut Goebel <=
- 50/57: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/15
- 48/57: gnu: thefuck: Fix build., Hartmut Goebel, 2016/10/15
- 35/57: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/10/15
- 51/57: gnu: python-scripttest: Correct inputs., Hartmut Goebel, 2016/10/15
- 52/57: gnu: python-subunit, python-testrepository: Fix inputs, Hartmut Goebel, 2016/10/15
- 55/57: gnu: python-testscenarios: remove needless input "mimetools"., Hartmut Goebel, 2016/10/15
- 56/57: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/15
- 53/57: gnu: python-pytest-xdist: Remove needless input python-apipkg., Hartmut Goebel, 2016/10/15
- 54/57: gnu: python-setuptools: remove pre-built binaries from source., Hartmut Goebel, 2016/10/15
- 09/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a), Hartmut Goebel, 2016/10/15