summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-10-23 21:28:25 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-29 21:02:42 +0000
commit9324583cdbee4bdda542074ee5aa72fce0a0f0ae (patch)
treebcc26f1ddb9b47ea906f9012be061426d3db6267 /gnu/packages
parentd5e5bbc5cc28988a07f06ad959ce9c25b2e8bd4a (diff)
gnu: python-ws4py: Update to 0.6.0.
* gnu/packages/python-web.scm (python-ws4py): Update to 0.6.0. [build-system]: Switch to pyproject-build-system. [arguments]: Use gexps. <#:phases>: remove 'python3.7-compatibility phase. [native-inputs]: Add python-setuptools and python-pytest. Change-Id: Ia1c4d66f329ca0acd32d2b934836347b19cb711a
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-web.scm32
1 files changed, 14 insertions, 18 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index cc92f3183d0..bf9c8ae336c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8836,37 +8836,33 @@ such as IoT applications or multi-user database-driven business applications.")
(define-public python-ws4py
(package
(name "python-ws4py")
- (version "0.5.1")
+ (version "0.6.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "ws4py" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Lawouach/WebSocket-for-Python")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "10slbbf2jm4hpr92jx7kh7mhf48sjl01v2w4d8z3f1p0ybbp7l19"))))
- (build-system python-build-system)
+ "00y6s8gk20936njqbxr8vjliviiz7r7pqrlwg7xi8zzs6903xvv6"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'python3.7-compatibility
- (lambda _
- (substitute* '("ws4py/server/tulipserver.py"
- "ws4py/async_websocket.py")
- (("asyncio.async")
- "asyncio.ensure_future"))
- #t))
- ;; We don't have a package for cherrypy.
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
(add-after 'unpack 'remove-cherrypy-support
(lambda _
(delete-file "ws4py/server/cherrypyserver.py")
- #t)))))
+ (delete-file "test/test_cherrypy.py"))))))
+ (native-inputs (list python-setuptools python-pytest))
(propagated-inputs
(list python-gevent python-tornado))
(home-page "https://github.com/Lawouach/WebSocket-for-Python")
(synopsis "WebSocket client and server library")
(description
- "This package provides a WebSocket client and server library for
-Python.")
+ "This package provides a WebSocket client and server library for Python.")
(license license:bsd-3)))
(define-public python-slowapi