[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: |
Thu, 13 Oct 2016 15:20:34 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 88eba9fabf30ab0bec96447e569bc40a8a8f3f68
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 4ea0265..f2e2a5b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -3735,9 +3735,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"))))))
- 50/57: gnu: python-pandas: Fix build., (continued)
- 50/57: gnu: python-pandas: Fix build., Hartmut Goebel, 2016/10/13
- 09/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1a), Hartmut Goebel, 2016/10/13
- 14/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4b), Hartmut Goebel, 2016/10/13
- 25/57: some inputs -> propagated-inputs, Hartmut Goebel, 2016/10/13
- 47/57: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH., Hartmut Goebel, 2016/10/13
- 10/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/10/13
- 12/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 3), Hartmut Goebel, 2016/10/13
- 23/57: inputs -> propagated-inputs: special, Hartmut Goebel, 2016/10/13
- 24/57: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/10/13
- 26/57: make native-inputs: simple ones: one nose, docuitls, phinx, tests, …, Hartmut Goebel, 2016/10/13
- 37/57: gnu: python-pillow: Fix build.,
Hartmut Goebel <=
- 40/57: gnu: python-zope-testing: Remove needless input., Hartmut Goebel, 2016/10/13
- 43/57: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/10/13
- 49/57: gnu: openstack: Correct inputs., Hartmut Goebel, 2016/10/13
- 35/57: gnu: python-pbr: Rework bootstrapping., Hartmut Goebel, 2016/10/13
- 44/57: gnu: python-matplotlib: Fix build., Hartmut Goebel, 2016/10/13
- 42/57: gnu: python-fonttools: Remove intervening directory in site-packges., Hartmut Goebel, 2016/10/13
- 48/57: gnu: thefuck: Fix build., Hartmut Goebel, 2016/10/13
- 03/57: guix: python-build-system: Import setuptools before calling `setup.py'., Hartmut Goebel, 2016/10/13