[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
47/103: gnu: python-ipython: Fix build.
From: |
Hartmut Goebel |
Subject: |
47/103: gnu: python-ipython: Fix build. |
Date: |
Tue, 25 Oct 2016 17:47:52 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit a2c79ab2dce2fa60e22af94ea5bf56a0bf38621f
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 fd527b2..86f81fd 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -4286,6 +4286,8 @@ without using the configuration machinery.")
(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: html and pdf fail to build
;; (system* "make" "html")
@@ -4305,9 +4307,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 inputs outputs)
(setenv "HOME" "/tmp/") ;; required by a test
(zero? (system* (string-append (assoc-ref outputs "out")
"/bin/iptest"))))
- 19/103: gnu: Fix python inputs, part 1: all inputs become propagated-inputs., (continued)
- 19/103: gnu: Fix python inputs, part 1: all inputs become propagated-inputs., Hartmut Goebel, 2016/10/25
- 74/103: gnu: python-zope-location: Correct inputs., Hartmut Goebel, 2016/10/25
- 82/103: gnu: python-celery: Remove needless inputs., Hartmut Goebel, 2016/10/25
- 89/103: gnu: python-freezegun: Correct input., Hartmut Goebel, 2016/10/25
- 94/103: gnu: python2-warpedlmm: Remove phase remove-bin-directory., Hartmut Goebel, 2016/10/25
- 95/103: gnu: python2-pbcore: Fix inputs:, Hartmut Goebel, 2016/10/25
- 45/103: gnu: python-matplotlib: Fix build., Hartmut Goebel, 2016/10/25
- 57/103: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/10/25
- 65/103: gnu: python-blinker: No longer disable tests., Hartmut Goebel, 2016/10/25
- 79/103: gnu: python-urllib3: update comment., Hartmut Goebel, 2016/10/25
- 47/103: gnu: python-ipython: Fix build.,
Hartmut Goebel <=
- 54/103: gnu: python-pytest-xdist: Remove needless input python-apipkg., Hartmut Goebel, 2016/10/25
- 53/103: gnu: python-subunit, python-testrepository: Fix inputs, Hartmut Goebel, 2016/10/25
- 67/103: gnu: python2-scikit-image: Remove needless propagated-input., Hartmut Goebel, 2016/10/25
- 66/103: gnu: python-scikit-image: Correct inputs., Hartmut Goebel, 2016/10/25
- 71/103: gnu: Add python-rst.linker, python2-rst.linker., Hartmut Goebel, 2016/10/25
- 77/103: gnu: python-websocket-client: Correct inputs., Hartmut Goebel, 2016/10/25
- 76/103: gnu: python-zope-security: Correct inputs., Hartmut Goebel, 2016/10/25
- 83/103: gnu: python-sphinx-repoze-autointerface: Remove needless input., Hartmut Goebel, 2016/10/25
- 86/103: gnu: python-pika: Correct input., Hartmut Goebel, 2016/10/25
- 91/103: gnu: python-sphinxcontrib-newsfeed: Remove needless input., Hartmut Goebel, 2016/10/25