gnu: python-websockets: Update to 10.3 and enable tests.
* gnu/packages/python-web.scm (python-websockets): Fetch from git. Update to 10.3. [arguments]: Delete field, enabling tests.
This commit is contained in:
parent
2576d9ffc4
commit
37caa64189
1 changed files with 10 additions and 16 deletions
|
@ -5345,24 +5345,18 @@ files.")
|
||||||
(define-public python-websockets
|
(define-public python-websockets
|
||||||
(package
|
(package
|
||||||
(name "python-websockets")
|
(name "python-websockets")
|
||||||
(version "8.1")
|
(version "10.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "websockets" version))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/aaugustin/websockets")
|
||||||
(base32
|
(commit version)))
|
||||||
"03s3ml6sbki24aajllf8aily0xzrn929zxi84p50zkkbikdd4raw"))))
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1vk7g5z977mi89hamwiqawpmibwvv9ghrf3pqva1waxmyc7gyjb5"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
|
||||||
'(#:tests? #f ; Tests not included in release tarball.
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'fix-websockets-package-name-requirement
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
;; Python package names use dot as separator.
|
|
||||||
(substitute* "setup.py"
|
|
||||||
(("websockets/extensions") "websockets.extensions")))))))
|
|
||||||
(home-page "https://github.com/aaugustin/websockets")
|
(home-page "https://github.com/aaugustin/websockets")
|
||||||
(synopsis
|
(synopsis
|
||||||
"Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")
|
"Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")
|
||||||
|
|
Reference in a new issue