[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/104: gnu: python-pillow: Fix build.
From: |
Hartmut Goebel |
Subject: |
38/104: gnu: python-pillow: Fix build. |
Date: |
Tue, 15 Nov 2016 21:37:02 +0000 (UTC) |
htgoebel pushed a commit to branch python-build-system
in repository guix.
commit 6151120a71507017bfea82693c7e614b341e50e7
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 ea6fc83..fb5d2fd 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3991,9 +3991,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"))))))
- 25/104: gnu: Fix python inputs, part 7: Ensure python-cython is a native-input., (continued)
- 25/104: gnu: Fix python inputs, part 7: Ensure python-cython is a native-input., Hartmut Goebel, 2016/11/15
- 32/104: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/11/15
- 24/104: gnu: Fix python inputs, part 6: some inputs become native-inputs., Hartmut Goebel, 2016/11/15
- 16/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/11/15
- 34/104: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/11/15
- 39/104: gnu: python-pytest-flakes: Fix build., Hartmut Goebel, 2016/11/15
- 13/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/11/15
- 31/104: gnu: python-h5py: Remove needless "python2-variant" property., Hartmut Goebel, 2016/11/15
- 23/104: gnu: Fix python inputs, part 5: some inputs become propagated-inputs, Hartmut Goebel, 2016/11/15
- 19/104: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/11/15
- 38/104: gnu: python-pillow: Fix build.,
Hartmut Goebel <=
- 41/104: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/11/15
- 35/104: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/11/15
- 37/104: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/11/15
- 36/104: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/11/15
- 57/104: gnu: pytest-mock: remove needless propagated input "python-py"., Hartmut Goebel, 2016/11/15
- 49/104: gnu: thefuck: Fix build., Hartmut Goebel, 2016/11/15
- 51/104: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/11/15
- 63/104: gnu: python-joblib: Add comment., Hartmut Goebel, 2016/11/15
- 45/104: gnu: python-matplotlib: Fix build., Hartmut Goebel, 2016/11/15
- 50/104: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/11/15