guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 4f9b0148c4f8bc3672b5dd01e286d5deb6db065a
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Nov 30 17:50:03 2025 +0100

    gnu: python-gwebsockets: Switch to pyproject.
    
    * gnu/packages/python-web.scm (python-gwebsockets):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-setuptools.
    [description]: Improve style.
    
    Change-Id: Ia8f508da951a504566d0b271ffd5622956ad7f1e
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-web.scm | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b379461db0..81fef34d22 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7469,20 +7469,25 @@ with @code{Gevent} to make asynchronous HTTP Requests 
easily.")
   (package
     (name "python-gwebsockets")
     (version "0.7")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "gwebsockets" version))
-              (sha256
-               (base32
-                "0kgq7wssz0mrhxdafkfc9prj0qjv9z0lyivyqvjvjnnypg54di7m"))))
-    (build-system python-build-system)
-    (propagated-inputs
-     (list python-pygobject))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sugarlabs/gwebsockets";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0w422yz0qdix5xb6aqrrci1s1hy4whncspwb03m9ankqww0s1yv2"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))      ; No tests upstream.
+    (native-inputs (list python-setuptools))
+    (propagated-inputs (list python-pygobject))
     (home-page "https://github.com/sugarlabs/gwebsockets";)
     (synopsis "GLib based websockets server")
-    (description "This package provides a websocket server written in Python.
-It uses GIO for network communication and hence it easily integrates with the
-GLib mainloop.")
+    (description
+     "This package provides a websocket server written in Python.  It uses GIO
+for network communication and hence it easily integrates with the GLib
+mainloop.")
     (license license:asl2.0)))
 
 (define-public python-dpkt

Reply via email to