guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: gnu: python-pillow: Replace check phase.


From: guix-commits
Subject: 01/04: gnu: python-pillow: Replace check phase.
Date: Mon, 2 Dec 2019 08:14:22 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 61b77ff307b875bf198dd3d71ef64d1871d0ac6e
Author: Efraim Flashner <address@hidden>
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

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