[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/10: gnu: pass-git-helper: Run test suite.
From: |
guix-commits |
Subject: |
08/10: gnu: pass-git-helper: Run test suite. |
Date: |
Wed, 22 Jan 2020 07:18:33 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 54bcc27fb5fb1ecc9dca85380cb16913b3349d55
Author: Efraim Flashner <address@hidden>
AuthorDate: Wed Jan 22 12:39:18 2020 +0200
gnu: pass-git-helper: Run test suite.
* gnu/packages/password-utils.scm (pass-git-helper)[arguments]: Adjust
custom 'patch-pass-path phase. Use custom 'check phase.
---
gnu/packages/password-utils.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 989d27a..2716997 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -768,13 +768,14 @@ winner of the 2015 Password Hashing Competition.")
(lambda* (#:key inputs #:allow-other-keys)
(let* ((password-store (assoc-ref inputs "password-store"))
(pass (string-append password-store "/bin/pass")))
- (substitute* "passgithelper.py"
+ (substitute* '("passgithelper.py"
+ "test_passgithelper.py")
(("'pass'") (string-append "'" pass "'")))
#t)))
- (add-before 'check 'pre-check
+ (replace 'check
(lambda _
(setenv "HOME" (getcwd))
- #t)))))
+ (invoke "pytest"))))))
(inputs
`(("python-pyxdg" ,python-pyxdg)
("password-store" ,password-store)))
- branch master updated (a789f65 -> fe10934), guix-commits, 2020/01/22
- 02/10: gnu: pulsemixer: Don't use unstable tarball., guix-commits, 2020/01/22
- 01/10: gnu: ponymix: Don't use unstable tarball., guix-commits, 2020/01/22
- 03/10: gnu: pulsemixer: Update to 1.5.0., guix-commits, 2020/01/22
- 05/10: gnu: pass-rotate: Update upstream location., guix-commits, 2020/01/22
- 06/10: gnu: pass-git-helper: Don't use unstable tarball., guix-commits, 2020/01/22
- 09/10: gnu: argon2: Don't use unstable tarball., guix-commits, 2020/01/22
- 07/10: gnu: pass-git-helper: Update to 1.1.0., guix-commits, 2020/01/22
- 10/10: gnu: argon2: Update to 20190702., guix-commits, 2020/01/22
- 04/10: gnu: pass-rotate: Don't use unstable tarball., guix-commits, 2020/01/22
- 08/10: gnu: pass-git-helper: Run test suite.,
guix-commits <=