guix-commits
[Top][All Lists]
Advanced

[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"))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]