gnu: python-slugify: Honor #:tests?.
* gnu/packages/python-web.scm (python-slugify)[arguments]: Honor #:tests?
This commit is contained in:
parent
cb11325a18
commit
7dbd5339d7
1 changed files with 3 additions and 2 deletions
|
@ -4594,8 +4594,9 @@ Python.")
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "python" "test.py"))))))
|
(when tests?
|
||||||
|
(invoke "python" "test.py")))))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(home-page "https://github.com/un33k/python-slugify")
|
(home-page "https://github.com/un33k/python-slugify")
|
||||||
(synopsis "Python Slugify application that handles Unicode")
|
(synopsis "Python Slugify application that handles Unicode")
|
||||||
|
|
Reference in a new issue