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
parent
c2b2c8e9e7
commit
61b77ff307
|
@ -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))
|
||||||
|
|
Reference in New Issue