diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-11-26 21:11:50 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-12-13 20:28:38 +0000 |
commit | 8808175fedd836eea006cf3861ec6c47a3250df2 (patch) | |
tree | 068e48b74e42d8796ff30c205409ad669c518009 /gnu/packages/python-web.scm | |
parent | 8596af6b0de67851c06a65b1202d86e9d366fcae (diff) | |
download | guix-8808175fedd836eea006cf3861ec6c47a3250df2.tar.gz guix-8808175fedd836eea006cf3861ec6c47a3250df2.zip |
gnu: python-quart: Update to 0.19.9.
* gnu/packages/python-web.scm (python-quart): Update to 0.19.9.
[source]: Swap to git checkout containing tests.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Add 'remove-coverage-pytest-options.
[propagated-inputs]: Add python-dotenv and python-flask.
[native-inputs]: Add python-poetry-core, python-pytest, and
python-pytest-asyncio.
Change-Id: I685eba2da7553529438fdb3c446b6c838dc64996
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r-- | gnu/packages/python-web.scm | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 6cb33f8305..02a349d1cc 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8896,19 +8896,36 @@ library for accessing the Twitter API.") (define-public python-quart (package (name "python-quart") - (version "0.17.0") + (version "0.19.9") (source (origin - (method url-fetch) - (uri (pypi-uri "Quart" version)) + (method git-fetch) ; no tests in PyPI release + (uri (git-reference + (url "https://github.com/pallets/quart") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 "0h4n2dwzmqifya1razp9s7ppr4ra23ljac9v7sl039rzp3c17wic")))) - (build-system python-build-system) + (base32 "1h5ifv8g9dc9m07vj4v7dfalam83v38545d845vvgys1gan1pscd")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-coverage-pytest-options + (lambda _ + (substitute* "pyproject.toml" + (("--no-cov-on-fail") ""))))))) + (native-inputs + (list python-poetry-core + python-pytest + python-pytest-asyncio)) (propagated-inputs (list hypercorn python-aiofiles python-blinker python-click + python-dotenv + python-flask python-itsdangerous python-jinja2 python-markupsafe |