From cd0ae604f4dcb3799c23c9332cc463eb1a04957c Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Mon, 5 Dec 2022 21:20:04 -0300 Subject: [PATCH] gnu: python-janus: Update to 1.0.0. * gnu/packages/python-xyz.scm (python-janus): Update to 1.0.0. [build-system]: Switch to pyproject-build-system. [arguments]: Don't override the 'check phase. [propagated-inputs]: Add python-typing-extensions. --- gnu/packages/python-xyz.scm | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index de71c48d84..1866f9c920 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -291,24 +291,17 @@ similar XML files, in the same way the @command{diff} utility does it.") (define-public python-janus (package (name "python-janus") - (version "0.6.1") + (version "1.0.0") (source (origin (method url-fetch) (uri (pypi-uri "janus" version)) (sha256 - (base32 "030xvl2vghi5ispfalhvch1rl6i2jsy5bf1dgjafa7vifppy04j7")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "--cov=janus" "--cov=tests"))))))) + (base32 "04hnrdcf03g1s0x3sr72sh9gnszz6kyfsl9dg8a4n0zvvhn6z5yz")))) + (build-system pyproject-build-system) (native-inputs (list python-pytest python-pytest-cov python-pytest-asyncio)) + (propagated-inputs (list python-typing-extensions)) (home-page "https://github.com/aio-libs/janus/") (synopsis "Sync-async queue to interoperate between asyncio tasks and classic threads")