From c96c926305a2c25d8165a659666f2c96c5c42de0 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 10 Nov 2025 01:20:09 +0100 Subject: [PATCH] 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 --- 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 b9dd3600f0b3bf854d1a6176e0e6cbcc1a31becf..86787163a310eaae14f4561d5b0ba4df15b02da9 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)))