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:
cb11325
)
gnu: python-slugify: Honor #:tests?.
author
Ludovic Courtès
<ludo@gnu.org>
Thu, 28 Oct 2021 19:02:57 +0000
(21:02 +0200)
committer
Ludovic Courtès
<ludo@gnu.org>
Thu, 28 Oct 2021 19:30:28 +0000
(21:30 +0200)
* gnu/packages/python-web.scm (python-slugify)[arguments]: Honor #:tests?
gnu/packages/python-web.scm
patch
|
blob
|
blame
|
history
diff --git
a/gnu/packages/python-web.scm
b/gnu/packages/python-web.scm
index
fcca869
..
62de043
100644
(file)
--- a/
gnu/packages/python-web.scm
+++ b/
gnu/packages/python-web.scm
@@
-4594,8
+4594,9
@@
Python.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "python" "test.py"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "test.py")))))))
(build-system python-build-system)
(home-page "https://github.com/un33k/python-slugify")
(synopsis "Python Slugify application that handles Unicode")