gnu: python-websockets: Fix Python package name.
* gnu/packages/python-web.scm (python-websockets) [arguments]: Add new phase to fix package name.master
parent
774277ac79
commit
9dd5fa2ea6
|
@ -5087,7 +5087,15 @@ Plus all the standard features of requests:
|
||||||
(base32
|
(base32
|
||||||
"03s3ml6sbki24aajllf8aily0xzrn929zxi84p50zkkbikdd4raw"))))
|
"03s3ml6sbki24aajllf8aily0xzrn929zxi84p50zkkbikdd4raw"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments '(#:tests? #f)) ; Tests not included in release tarball.
|
(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 New Issue