From 31b63a7a8c3aa469d2735115925ff86cc44e8d39 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 5 Dec 2023 13:51:35 +0200 Subject: 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") -- cgit v1.2.3