efraim pushed a commit to branch master
in repository guix.

commit 61b77ff307b875bf198dd3d71ef64d1871d0ac6e
Author: Efraim Flashner <[email protected]>
Date:   Mon Dec 2 11:01:49 2019 +0200

    gnu: python-pillow: Replace check phase.
    
    * gnu/packages/python-xyz.scm (python-pillow)[arguments]: Since 'check
    always come after 'install, replace 'check phase rather than recreate it.
---
 gnu/packages/python-xyz.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index aef970c..59f7128 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4705,8 +4705,7 @@ the OleFileIO module from PIL, the Python Image Library.")
            (lambda _
              (substitute* "setup.py"
                (("\\['/sbin/ldconfig', '-p'\\]") "['true']"))))
-         (delete 'check) ; We must run checks after python-pillow is installed.
-         (add-after 'install 'check-installed
+         (replace 'check
            (lambda* (#:key outputs inputs #:allow-other-keys)
              (begin
                (setenv "HOME" (getcwd))

Reply via email to