~ruther/guix-local

31b63a7a8c3aa469d2735115925ff86cc44e8d39 — Efraim Flashner 2 years ago 504e621
gnu: python-osc: Adjust for newer python.

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

Change-Id: Ie9708fe6961a4f65909d4795190bd2a037e9c9c8
1 files changed, 6 insertions(+), 2 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +6 -2
@@ 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")