[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
39/97: gnu: python-pillow: Fix build.
From: |
Hartmut Goebel |
Subject: |
39/97: gnu: python-pillow: Fix build. |
Date: |
Tue, 18 Oct 2016 20:13:18 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit e79d8fb5b32d2fcd69b0a5a065a5090cd3e9d6e3
Author: Hartmut Goebel <address@hidden>
Date: Fri Oct 7 20:32:47 2016 +0200
gnu: python-pillow: Fix build.
* gnu/packages/python.scm (python-pillow)[check-installed]: Add
installed site-package to PYTHONPATH.
---
gnu/packages/python.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index d05a319..d17b66e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3741,9 +3741,12 @@ services for your Python modules and applications.")
`(#:phases (modify-phases %standard-phases
(add-after
'install 'check-installed
- (lambda _
+ (lambda* (#:key outputs inputs #:allow-other-keys)
(begin
(setenv "HOME" (getcwd))
+ ;; Make installed package available for running the
+ ;; tests
+ (add-installed-pythonpath outputs inputs)
(and (zero? (system* "python" "selftest.py"
"--installed"))
(zero? (system* "python" "test-installed.py"))))))
- 33/97: gnu: python-hdf5: Correct inputs., (continued)
- 33/97: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/10/18
- 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 <=
- 48/97: gnu: python-ipython: Fix build, Hartmut Goebel, 2016/10/18
- 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