gnu: python-slugify: Honor #:tests?.

* gnu/packages/python-web.scm (python-slugify)[arguments]: Honor #:tests?
This commit is contained in:
Ludovic Courtès 2021-10-28 21:02:57 +02:00
parent cb11325a18
commit 7dbd5339d7
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -4594,8 +4594,9 @@ (define-public python-slugify
`(#: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")