[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: toot: Honor the #:tests? flag.
From: |
guix-commits |
Subject: |
07/07: gnu: toot: Honor the #:tests? flag. |
Date: |
Fri, 26 Nov 2021 09:00:53 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 3d6040c13522122df496c862c0ca2ddf8b28b71c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Nov 26 15:52:57 2021 +0200
gnu: toot: Honor the #:tests? flag.
* gnu/packages/mastodon.scm (toot)[arguments]: Adjust custom 'check
phase to honor the #:tests? flag.
---
gnu/packages/mastodon.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/mastodon.scm b/gnu/packages/mastodon.scm
index f23ff06..4847bbe 100644
--- a/gnu/packages/mastodon.scm
+++ b/gnu/packages/mastodon.scm
@@ -52,9 +52,10 @@
'(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "py.test"))))))
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "py.test")))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(inputs
- branch master updated (128fd2a -> 3d6040c), guix-commits, 2021/11/26
- 02/07: gnu: viewnior: Update to 1.8., guix-commits, 2021/11/26
- 01/07: gnu: vim-fugitive: Update to 3.6., guix-commits, 2021/11/26
- 06/07: gnu: toot: Update to 0.28.0., guix-commits, 2021/11/26
- 04/07: gnu: parallel: Update to 20211122., guix-commits, 2021/11/26
- 07/07: gnu: toot: Honor the #:tests? flag.,
guix-commits <=
- 05/07: gnu: mpv-mpris: Update to 0.6., guix-commits, 2021/11/26
- 03/07: gnu: urlscan: Update to 0.9.7., guix-commits, 2021/11/26