guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 8ec9f4c480e1940d2890ca026b39018efa53e5e5
Author: Ghislain Vaillant <[email protected]>
AuthorDate: Tue Sep 22 09:43:12 2026 +0200
gnu: python-mido: Update to 1.3.3.
* gnu/packages/python-xyz.scm (python-mido): Update to 1.3.3.
[source]: Switch to git-fetch.
[arguments]<#:phases>: Remove, no longer required.
[propagated-inputs]: Remove python-importlib-metadata.
[native-inputs]: Add python-setuptools-scm. Remove python-wheel.
[description]: Same as upstream documentation.
Merges: guix/guix!11410
Reviewed-by: Hugo Buddelmeijer <[email protected]>
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 32 ++++++++++++++------------------
1 file changed, 14 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6ecf585e77e..82b5e486cf7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -36655,27 +36655,23 @@ colors.")
(define-public python-mido
(package
(name "python-mido")
- (version "1.3.2")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "mido" version))
- (sha256
- (base32
- "0j63cydiinfyrvlhydzsb00cb7dyvrw3bnhjbdyp63vkxnv2isis"))))
+ (version "1.3.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mido/mido")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0skj6586aprr20ymn70drgbps1x3z5y0xj67crxgf4rinj5dw7kd"))))
(build-system pyproject-build-system)
- (arguments
- (list #:phases
- #~(modify-phases %standard-phases
- ;; This package requires python-packaging~=23.1 which is not yet
- ;; updated to. As per pyproject.toml, it is required to provide
- ;; a nice version_info object.
- ;; TODO: After updating python-packaging, fix this.
- (delete 'sanity-check))))
- (propagated-inputs (list python-importlib-metadata python-packaging))
- (native-inputs (list python-pytest python-setuptools python-wheel))
+ (propagated-inputs (list python-packaging))
+ (native-inputs (list python-pytest python-setuptools
python-setuptools-scm))
(home-page "https://mido.readthedocs.io/en/stable/")
(synopsis "MIDI Objects for Python")
- (description "This library is for working with MIDI 1.0 ports, messages and
+ (description
+ "Mido is a Python library for working with MIDI 1.0 ports, messages and
files.")
(license license:expat)))