guix_mirror_bot pushed a commit to branch master
in repository guix.

commit c96c926305a2c25d8165a659666f2c96c5c42de0
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Nov 10 01:20:09 2025 +0100

    gnu: python-osc: Update to 1.9.3.
    
    * gnu/packages/python-xyz.scm (python-osc): Update to 1.9.3.
    [source]: Switch to git-fetch.  Remove snippet.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: Ib68c0f0155b5177cef6c514488f75e79fcc6a2ac
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b9dd3600f0..86787163a3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30483,23 +30483,22 @@ dictionaries.")
 (define-public python-osc
   (package
     (name "python-osc")
-    (version "1.7.4")
+    (version "1.9.3")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "python-osc" version))
-        (sha256
-         (base32 "0cnh0z5lnng7fh48nmfaqqn8j25k13gkd4rhxd3m6sjqiix9s3vn"))
-       (snippet
-        #~(begin (use-modules (guix build utils))
-                 (substitute* "pythonosc/udp_client.py"
-                   (("from collections import Iterable")
-                    "from collections.abc import Iterable"))))))
-    (build-system python-build-system)
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/attwad/python-osc";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1d99q9ww278cjqbfdzahg17rhbkgk2rw6ixxm5z5iwnxnsrhfdwa"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-setuptools))
     (home-page "https://github.com/attwad/python-osc";)
     (synopsis "Open Sound Control server and client implementations")
     (description
-      "@code{python-osc} is a pure Python library with no external
+     "@code{python-osc} is a pure Python library with no external
 dependencies.  It implements the @uref{http://opensoundcontrol.org/spec-1_0,
 Open Sound Control 1.0} specification.")
     (license license:unlicense)))

Reply via email to