guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/10: gnu: python-osc: Adjust for newer python.


From: guix-commits
Subject: 07/10: gnu: python-osc: Adjust for newer python.
Date: Tue, 5 Dec 2023 08:11:42 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 31b63a7a8c3aa469d2735115925ff86cc44e8d39
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 5 13:51:35 2023 +0200

    gnu: python-osc: Adjust for newer python.
    
    * gnu/packages/python-xyz.scm (python-osc)[source]: Add snippet to
    adjust python imports.
    
    Change-Id: Ie9708fe6961a4f65909d4795190bd2a037e9c9c8
---
 gnu/packages/python-xyz.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9fd62c0ff8..28be393f0a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29239,8 +29239,12 @@ workspace...")
         (method url-fetch)
         (uri (pypi-uri "python-osc" version))
         (sha256
-          (base32
-            "0cnh0z5lnng7fh48nmfaqqn8j25k13gkd4rhxd3m6sjqiix9s3vn"))))
+         (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)
     (home-page "https://github.com/attwad/python-osc";)
     (synopsis "Open Sound Control server and client implementations")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]