summaryrefslogtreecommitdiff
path: root/gnu
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
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')
-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.")
8836(define-public python-ws4py 8836(define-public python-ws4py
8837 (package 8837 (package
8838 (name "python-ws4py") 8838 (name "python-ws4py")
8839 (version "0.5.1") 8839 (version "0.6.0")
8840 (source 8840 (source
8841 (origin 8841 (origin
8842 (method url-fetch) 8842 (method git-fetch)
8843 (uri (pypi-uri "ws4py" version)) 8843 (uri (git-reference
8844 (url "https://github.com/Lawouach/WebSocket-for-Python")
8845 (commit version)))
8846 (file-name (git-file-name name version))
8844 (sha256 8847 (sha256
8845 (base32 8848 (base32
8846 "10slbbf2jm4hpr92jx7kh7mhf48sjl01v2w4d8z3f1p0ybbp7l19")))) 8849 "00y6s8gk20936njqbxr8vjliviiz7r7pqrlwg7xi8zzs6903xvv6"))))
8847 (build-system python-build-system) 8850 (build-system pyproject-build-system)
8848 (arguments 8851 (arguments
8849 `(#:phases 8852 (list
8850 (modify-phases %standard-phases 8853 #:phases
8851 (add-after 'unpack 'python3.7-compatibility 8854 #~(modify-phases %standard-phases
8852 (lambda _
8853 (substitute* '("ws4py/server/tulipserver.py"
8854 "ws4py/async_websocket.py")
8855 (("asyncio.async")
8856 "asyncio.ensure_future"))
8857 #t))
8858 ;; We don't have a package for cherrypy.
8859 (add-after 'unpack 'remove-cherrypy-support 8855 (add-after 'unpack 'remove-cherrypy-support
8860 (lambda _ 8856 (lambda _
8861 (delete-file "ws4py/server/cherrypyserver.py") 8857 (delete-file "ws4py/server/cherrypyserver.py")
8862 #t))))) 8858 (delete-file "test/test_cherrypy.py"))))))
8859 (native-inputs (list python-setuptools python-pytest))
8863 (propagated-inputs 8860 (propagated-inputs
8864 (list python-gevent python-tornado)) 8861 (list python-gevent python-tornado))
8865 (home-page "https://github.com/Lawouach/WebSocket-for-Python") 8862 (home-page "https://github.com/Lawouach/WebSocket-for-Python")
8866 (synopsis "WebSocket client and server library") 8863 (synopsis "WebSocket client and server library")
8867 (description 8864 (description
8868 "This package provides a WebSocket client and server library for 8865 "This package provides a WebSocket client and server library for Python.")
8869Python.")
8870 (license license:bsd-3))) 8866 (license license:bsd-3)))
8871 8867
8872(define-public python-slowapi 8868(define-public python-slowapi