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.master
parent
3cc9e00473
commit
966fd0bfdc
|
@ -3713,27 +3713,28 @@ into Python.")
|
||||||
(define-public python-aiosqlite
|
(define-public python-aiosqlite
|
||||||
(package
|
(package
|
||||||
(name "python-aiosqlite")
|
(name "python-aiosqlite")
|
||||||
(version "0.17.0")
|
(version "0.18.0")
|
||||||
(source
|
(source (origin
|
||||||
(origin
|
(method git-fetch)
|
||||||
(method url-fetch)
|
(uri (git-reference
|
||||||
(uri (pypi-uri "aiosqlite" version))
|
(url "https://github.com/omnilib/aiosqlite")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0lgfpbkcd730hbgj3zlrbx2y8fzvdns2zj3s4r4l31n49g1arrph"))))
|
"1a8sggh1wwbpl46k5qcfmp97s9hjysna0x7mwwc53kyfm0m95wf8"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (modify-phases %standard-phases
|
(list #:phases #~(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(if tests?
|
(when tests?
|
||||||
(invoke "python" "-m" "unittest" "aiosqlite.tests")
|
(invoke "python" "-m" "coverage" "run" "-m"
|
||||||
(format #t "test suite not run~%"))
|
"aiosqlite.tests")
|
||||||
#t)))))
|
(invoke "python" "-m" "coverage" "report")))))))
|
||||||
(propagated-inputs
|
(native-inputs (list python-flit-core
|
||||||
(list python-typing-extensions))
|
python-coverage
|
||||||
(native-inputs
|
python-mypy))
|
||||||
(list python-aiounittest))
|
|
||||||
(home-page "https://github.com/jreese/aiosqlite")
|
(home-page "https://github.com/jreese/aiosqlite")
|
||||||
(synopsis
|
(synopsis
|
||||||
"Asyncio bridge for sqlite3")
|
"Asyncio bridge for sqlite3")
|
||||||
|
|
Reference in New Issue