[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/103: gnu: python-pillow: Fix build.
From: |
Hartmut Goebel |
Subject: |
38/103: gnu: python-pillow: Fix build. |
Date: |
Tue, 25 Oct 2016 17:44:40 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 3e7b037ea9e201f869dd1296efd2813fe69521df
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 20fdb56..cdc56b1 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 inputs outputs)
(and (zero? (system* "python" "selftest.py"
"--installed"))
(zero? (system* "python" "test-installed.py"))))))
- 26/103: gnu: scons: Do not use setuptools for building., (continued)
- 26/103: gnu: scons: Do not use setuptools for building., Hartmut Goebel, 2016/10/25
- 27/103: gnu: python-pytest-cov: Use upstream options for testing., Hartmut Goebel, 2016/10/25
- 20/103: gnu: Fix python inputs, part 2: all inputs become native-inputs., Hartmut Goebel, 2016/10/25
- 14/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 3), Hartmut Goebel, 2016/10/25
- 28/103: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/10/25
- 18/103: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/10/25
- 29/103: gnu: python-ccm: Add missing input python-psutil., Hartmut Goebel, 2016/10/25
- 31/103: gnu: python-h5py: Remove needless "python2-variant" property., Hartmut Goebel, 2016/10/25
- 35/103: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/10/25
- 39/103: gnu: python-pytest-flakes: Fix build., Hartmut Goebel, 2016/10/25
- 38/103: gnu: python-pillow: Fix build.,
Hartmut Goebel <=
- 40/103: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/25
- 23/103: gnu: Fix python inputs, part 5: some inputs become propagated-inputs, Hartmut Goebel, 2016/10/25
- 42/103: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/25
- 33/103: gnu: python-fixture: Correct inputs., Hartmut Goebel, 2016/10/25
- 25/103: gnu: Fix python inputs, part 7: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/25
- 30/103: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/10/25
- 24/103: gnu: Fix python inputs, part 6: some inputs become native-inputs., Hartmut Goebel, 2016/10/25
- 34/103: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/25
- 37/103: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/25
- 41/103: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/25