[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62252] [PATCH v2 15/19] gnu: python-aiosqlite: Update to 0.18.0.
From: |
Liliana Marie Prikler |
Subject: |
[bug#62252] [PATCH v2 15/19] gnu: python-aiosqlite: Update to 0.18.0. |
Date: |
Sat, 18 Mar 2023 09:43:29 +0100 |
* 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.
---
gnu/packages/databases.scm | 41 +++++++++++++++++++-------------------
1 file changed, 21 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 6de24db720..2ea2f8325e 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3633,27 +3633,28 @@ (define-public python-apsw
(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")
--
2.39.2
- [bug#62252] [PATCH 12/19] gnu: python-sqlalchemy: Update to 1.4.42., (continued)
- [bug#62252] [PATCH 12/19] gnu: python-sqlalchemy: Update to 1.4.42., Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH 14/19] gnu: python-aiomysql: Update to 0.1.1., Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH 18/19] gnu: Add python-fastapi., Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH 19/19] gnu: Add python-clinguin., Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH v2 01/19] gnu: Add python-imageio-ffmpeg., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 08/19] gnu: python-pathspec: Move to (gnu packages python-build)., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 10/19] gnu: Add python-hatchling., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 02/19] gnu: python-imageio: Update to 2.26.0., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 05/19] gnu: python-pathspec: Update to 0.11.0., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 09/19] gnu: python-pluggy: Move to (gnu packages python-build)., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 15/19] gnu: python-aiosqlite: Update to 0.18.0.,
Liliana Marie Prikler <=
- [bug#62252] [PATCH v2 07/19] gnu: Add python-pluggy-next., Felix Gruber, 2023/03/21
- [bug#62252] [PATCH v2 04/19] gnu: Add python-clingraph., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 16/19] gnu: python-databases: Update to 0.7.0., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 03/19] gnu: Separate potassco packages into their own module., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 13/19] gnu: python-pymysql: Update to 1.0.2., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 12/19] gnu: python-sqlalchemy: Update to 1.4.42., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 14/19] gnu: python-aiomysql: Update to 0.1.1., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 06/19] gnu: python-pathspec: Revise description., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 11/19] gnu: python-starlette: Update to 0.25.0., Liliana Marie Prikler, 2023/03/21
- [bug#62252] [PATCH v2 19/19] gnu: Add python-clinguin., Liliana Marie Prikler, 2023/03/21