guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 9f751b809b84e24dabf1c0b005086674a2d1edd4
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Dec 26 23:49:50 2025 +0100
gnu: python-python3-midi: Switch to pyproject.
* gnu/packages/audio.scm (python-python3-midi):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: I035a2e99dbb7a63c52d68c08f9dd2889f7cb0136
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/audio.scm | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 2299648ed0..3049231fcc 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3824,16 +3824,21 @@ one-dimensional sample-rate conversion library.")
(version "0.2.5")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "python3_midi" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/NFJones/python3-midi")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "1z9j1w7mpn3xhkcpxmqm5rvmj6nffb5rf14bv7n3sdh07nf6n7sf"))))
- (build-system python-build-system)
+ (base32 "1zihn7n9dr9jjgkjlpad515hhwh22k94irb21ji793sr5crh5s15"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ; XXX: midi module has not been packaged yet.
+ (native-inputs (list python-setuptools))
(home-page "https://github.com/NFJones/python3-midi")
(synopsis "Python MIDI API")
- (description "This package provides a python API to read and write MIDI
-files.")
+ (description
+ "This package provides a python API to read and write MIDI files.")
(license license:expat)))
(define-public python-wavefile