HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75ec0fa
)
gnu: tuir: Respect #:tests?.
author
Efraim Flashner
<efraim@flashner.co.il>
Wed, 4 Aug 2021 12:15:57 +0000
(15:15 +0300)
committer
Efraim Flashner
<efraim@flashner.co.il>
Wed, 4 Aug 2021 12:15:57 +0000
(15:15 +0300)
* gnu/packages/syndication.scm (tuir)[arguments]: Adjust custom 'check
phase to skip tests when requested.
gnu/packages/syndication.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/packages/syndication.scm
b/gnu/packages/syndication.scm
index
f3690a1
..
2f3f191
100644
(file)
--- a/
gnu/packages/syndication.scm
+++ b/
gnu/packages/syndication.scm
@@
-475,9
+475,10
@@
a simple interface that makes it easy to organize and browse feeds.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
+ (lambda* (#:key
tests?
inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
- (invoke "pytest"))))))
+ (when tests?
+ (invoke "pytest")))))))
(inputs
`(("python-beautifulsoup4" ,python-beautifulsoup4)
("python-decorator" ,python-decorator)