gnu: python-aiosqlite: Update to 0.17.0.

* gnu/packages/databases.scm (python-aiosqlite) [version]: Update to 0.17.0.
[arguments]: Run tests.
[propagated-inputs]: Add python-typing-extensions.
This commit is contained in:
Lars-Dominik Braun 2021-03-04 13:27:11 +01:00
parent f73ee73da7
commit 281fd9ad71
No known key found for this signature in database
GPG key ID: 421377011A378446

View file

@ -3237,15 +3237,25 @@ (define-public python2-apsw
(define-public python-aiosqlite
(package
(name "python-aiosqlite")
(version "0.12.0")
(version "0.17.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "aiosqlite" version))
(sha256
(base32
"1w8248yz85xyzvvh4jaxnc59fqil45aka6h82kn1rcih4rjxbnn1"))))
"0lgfpbkcd730hbgj3zlrbx2y8fzvdns2zj3s4r4l31n49g1arrph"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(invoke "python" "-m" "unittest" "aiosqlite.tests")
(format #t "test suite not run~%"))
#t)))))
(propagated-inputs
`(("python-typing-extensions" ,python-typing-extensions)))
(native-inputs
`(("python-aiounittest" ,python-aiounittest)))
(home-page "https://github.com/jreese/aiosqlite")