gnu: python-sqlalchemy: Respect #:tests?.

* gnu/packages/databases.scm (python-sqlalchemy)[argument]:
Respect the #:tests? keyword in the custom 'check phase.
This commit is contained in:
Tobias Geerinckx-Rice 2021-11-03 15:08:18 +01:00
parent ccb2fabee0
commit 23489e69f2
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2995,7 +2995,9 @@ (define-public python-sqlalchemy
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _ (invoke "py.test"))))))
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "py.test")))))))
(home-page "https://www.sqlalchemy.org")
(synopsis "Database abstraction library")
(description