me
/
guix
Archived
1
0
Fork 0

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.
master
Efraim Flashner 2019-12-02 11:01:49 +02:00
parent c2b2c8e9e7
commit 61b77ff307
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 1 additions and 2 deletions

View File

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