[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/57: gnu: python-pillow: Fix build.
From: |
Hartmut Goebel |
Subject: |
37/57: gnu: python-pillow: Fix build. |
Date: |
Sat, 15 Oct 2016 14:08:14 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 493de3694bb0f1b10904575021d70aad6be019a9
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 1944423..fdc9d37 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3740,9 +3740,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"))))))
- 30/57: gnu: python-h5py: Remove needless "python2-variant" property., (continued)
- 30/57: gnu: python-h5py: Remove needless "python2-variant" property., Hartmut Goebel, 2016/10/15
- 24/57: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/10/15
- 31/57: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/10/15
- 28/57: gnu: python-ccm: Add missing input python-psutil., Hartmut Goebel, 2016/10/15
- 57/57: Add a series of FIXME and TODO comments., Hartmut Goebel, 2016/10/15
- 10/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/10/15
- 27/57: gnu: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/15
- 26/57: make native-inputs: simple ones: one nose, docuitls, phinx, tests, …, Hartmut Goebel, 2016/10/15
- 21/57: gnu: Fix inputs in python.scm, part 2: inputs -> native-inputs., Hartmut Goebel, 2016/10/15
- 16/57: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/10/15
- 37/57: gnu: python-pillow: Fix build.,
Hartmut Goebel <=
- 25/57: some inputs -> propagated-inputs, Hartmut Goebel, 2016/10/15
- 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