[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/12: import: pypi: Completely mute the output of the "unzip" command.
From: |
guix-commits |
Subject: |
09/12: import: pypi: Completely mute the output of the "unzip" command. |
Date: |
Mon, 1 Jul 2019 21:43:04 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit f801c6215d8d5b2b21926d8cc41c0beb1f734108
Author: Maxim Cournoyer <address@hidden>
Date: Wed Jun 12 11:36:39 2019 +0900
import: pypi: Completely mute the output of the "unzip" command.
* guix/import/pypi.scm (guess-requirements): Completely mute the output of
the
"unzip" command.
---
guix/import/pypi.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/guix/import/pypi.scm b/guix/import/pypi.scm
index d861dd9..23a1e69 100644
--- a/guix/import/pypi.scm
+++ b/guix/import/pypi.scm
@@ -230,7 +230,10 @@ be extracted in a temporary directory."
(metadata (string-append dirname "/METADATA")))
(call-with-temporary-directory
(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))
(begin
(warning
- branch master updated (0f06512 -> 4b60ab8), guix-commits, 2019/07/01
- 03/12: import: pypi: Do not parse optional requirements from source., guix-commits, 2019/07/01
- 02/12: tests: pypi: Mute the output of tar., guix-commits, 2019/07/01
- 06/12: import: pypi: Support more types of archives., guix-commits, 2019/07/01
- 12/12: import: pypi: Preserve package name case when forming pypi-uri., guix-commits, 2019/07/01
- 01/12: import: pypi: Do not consider requirements.txt files., guix-commits, 2019/07/01
- 05/12: import: pypi: Deduplicate requirements., guix-commits, 2019/07/01
- 04/12: import: pypi: Improve parsing of requirement specifications., guix-commits, 2019/07/01
- 11/12: import: pypi: Update the host URI., guix-commits, 2019/07/01
- 08/12: import: pypi: Fix typo in docstring., guix-commits, 2019/07/01
- 09/12: import: pypi: Completely mute the output of the "unzip" command.,
guix-commits <=
- 07/12: import: pypi: Parse wheel METADATA instead of metadata.json., guix-commits, 2019/07/01
- 10/12: import: pypi: Include optional test inputs as native-inputs., guix-commits, 2019/07/01