diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-03-18 09:43:29 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-05-09 19:43:44 +0200 |
commit | 966fd0bfdc172e07189f4e575e89107c973fe9d8 (patch) | |
tree | b892177d90e145111f8d396104171b9a63af786a /gnu/packages | |
parent | 3cc9e004733ddfc2f5e573c823f7d9f47e7d2963 (diff) | |
download | guix-966fd0bfdc172e07189f4e575e89107c973fe9d8.tar.gz guix-966fd0bfdc172e07189f4e575e89107c973fe9d8.zip |
gnu: python-aiosqlite: Update to 0.18.0.
* gnu/packages/databases.scm (python-aiosqlite): Update to 0.18.0.
[source]: Use git-fetch and git-reference.
[build-system]: Use pyproject-build-system.
[arguments]: Adjust accordingly.
[propagated-inputs]: Remove.
[native-inputs]: Remove python-aiounittest.
Add python-flit-core, python-coverage and python-mypy.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/databases.scm | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index bc948c75cf..2f1f478fad 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -3713,27 +3713,28 @@ into Python.") (define-public python-aiosqlite (package (name "python-aiosqlite") - (version "0.17.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "aiosqlite" version)) - (sha256 - (base32 - "0lgfpbkcd730hbgj3zlrbx2y8fzvdns2zj3s4r4l31n49g1arrph")))) - (build-system python-build-system) + (version "0.18.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/omnilib/aiosqlite") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1a8sggh1wwbpl46k5qcfmp97s9hjysna0x7mwwc53kyfm0m95wf8")))) + (build-system pyproject-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 - (list python-typing-extensions)) - (native-inputs - (list python-aiounittest)) + (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "coverage" "run" "-m" + "aiosqlite.tests") + (invoke "python" "-m" "coverage" "report"))))))) + (native-inputs (list python-flit-core + python-coverage + python-mypy)) (home-page "https://github.com/jreese/aiosqlite") (synopsis "Asyncio bridge for sqlite3") |