import: pypi: Completely mute the output of the "unzip" command.
* guix/import/pypi.scm (guess-requirements): Completely mute the output of the "unzip" command.
This commit is contained in:
parent
73e8373060
commit
f801c6215d
|
@ -230,7 +230,10 @@ be extracted in a temporary directory."
|
||||||
(metadata (string-append dirname "/METADATA")))
|
(metadata (string-append dirname "/METADATA")))
|
||||||
(call-with-temporary-directory
|
(call-with-temporary-directory
|
||||||
(lambda (dir)
|
(lambda (dir)
|
||||||
(if (zero? (system* "unzip" "-q" wheel-archive "-d" dir metadata))
|
(if (zero?
|
||||||
|
(parameterize ((current-error-port (%make-void-port "rw+"))
|
||||||
|
(current-output-port (%make-void-port "rw+")))
|
||||||
|
(system* "unzip" wheel-archive "-d" dir metadata)))
|
||||||
(parse-wheel-metadata (string-append dir "/" metadata))
|
(parse-wheel-metadata (string-append dir "/" metadata))
|
||||||
(begin
|
(begin
|
||||||
(warning
|
(warning
|
||||||
|
|
Loading…
Reference in New Issue