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.
This commit is contained in:
Vinicius Monego 2022-12-05 21:20:04 -03:00
parent 39e80baafc
commit cd0ae604f4
No known key found for this signature in database
GPG key ID: 637B0B138065B68A

View file

@ -291,24 +291,17 @@ (define-public python-xmldiff
(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")