gnu: python-osc: Adjust for newer python.

* gnu/packages/python-xyz.scm (python-osc)[source]: Add snippet to
adjust python imports.

Change-Id: Ie9708fe6961a4f65909d4795190bd2a037e9c9c8
This commit is contained in:
Efraim Flashner 2023-12-05 13:51:35 +02:00
parent 504e621445
commit 31b63a7a8c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -29239,8 +29239,12 @@ (define-public python-osc
(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")