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.master
parent
39e80baafc
commit
cd0ae604f4
|
@ -291,24 +291,17 @@ similar XML files, in the same way the @command{diff} utility does it.")
|
||||||
(define-public python-janus
|
(define-public python-janus
|
||||||
(package
|
(package
|
||||||
(name "python-janus")
|
(name "python-janus")
|
||||||
(version "0.6.1")
|
(version "1.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "janus" version))
|
(uri (pypi-uri "janus" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "030xvl2vghi5ispfalhvch1rl6i2jsy5bf1dgjafa7vifppy04j7"))))
|
(base32 "04hnrdcf03g1s0x3sr72sh9gnszz6kyfsl9dg8a4n0zvvhn6z5yz"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-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")))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest python-pytest-cov python-pytest-asyncio))
|
(list python-pytest python-pytest-cov python-pytest-asyncio))
|
||||||
|
(propagated-inputs (list python-typing-extensions))
|
||||||
(home-page "https://github.com/aio-libs/janus/")
|
(home-page "https://github.com/aio-libs/janus/")
|
||||||
(synopsis
|
(synopsis
|
||||||
"Sync-async queue to interoperate between asyncio tasks and classic threads")
|
"Sync-async queue to interoperate between asyncio tasks and classic threads")
|
||||||
|
|
Reference in New Issue