[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/12: gnu: phockup: Test exiftool patching.
From: |
guix-commits |
Subject: |
08/12: gnu: phockup: Test exiftool patching. |
Date: |
Tue, 31 Jan 2023 14:41:03 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 0d036019318ccef0ce56270b60ef5074ed9d0400
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jan 22 01:00:19 2023 +0100
gnu: phockup: Test exiftool patching.
* gnu/packages/image.scm (phockup)[arguments]: Unset PATH during tests.
---
gnu/packages/image.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 0b57d88468..87a9b791bc 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -2434,7 +2434,12 @@ Wacom-style graphics tablets.")
(string-append "'" (search-input-file inputs
"bin/exiftool"))))))
(add-before 'install 'check
(lambda _
- (invoke "pytest")))
+ ;; Test without PATH to make sure ‘exiftool’ is properly found.
+ (let ((path (getenv "PATH"))
+ (pytest (which "pytest")))
+ (setenv "PATH" "")
+ (invoke pytest)
+ (setenv "PATH" path))))
(add-after 'install 'install-bin
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
- branch master updated (38ef37d4bb -> aed385e18e), guix-commits, 2023/01/31
- 01/12: gnu: kicad: Update to 6.0.11., guix-commits, 2023/01/31
- 06/12: gnu: hwinfo: Update to 22.2., guix-commits, 2023/01/31
- 02/12: gnu: appstream: Update to 0.15.6., guix-commits, 2023/01/31
- 03/12: gnu: edgar: Update to 1.36., guix-commits, 2023/01/31
- 04/12: gnu: memtest86+: Update to 6.01., guix-commits, 2023/01/31
- 05/12: gnu: memtester: Update to 4.6.0., guix-commits, 2023/01/31
- 07/12: gnu: phockup: Properly patch exiftool., guix-commits, 2023/01/31
- 10/12: gnu: libpng-apng: Update to 1.6.39., guix-commits, 2023/01/31
- 08/12: gnu: phockup: Test exiftool patching.,
guix-commits <=
- 09/12: gnu: phockup: Update to 1.9.2., guix-commits, 2023/01/31
- 11/12: gnu: libpng-apng: Remove obsolete trailing #t., guix-commits, 2023/01/31
- 12/12: gnu: papirus-icon-theme: Reduce inode consumption., guix-commits, 2023/01/31