From e24b1820e74d24a5215721915e2d44571174249e Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 13 Aug 2025 13:59:00 +0200 Subject: [PATCH] gnu: python-musicbrainzngs: Switch to pyproject. * gnu/packages/music.scm (python-musicbrainzngs): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools, python-wheel. [description]: Run guix style. Change-Id: Ic2eb79c96d239fc285493ae8807d0478f38e1e57 Signed-off-by: Sharlatan Hellseher --- gnu/packages/music.scm | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 7b4d0af1f7608487640fc0deaad99b8a50fa1413..982285299b3fba80eb60d9a25055f6c980b63a7c 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4205,17 +4205,22 @@ of tags.") (package (name "python-musicbrainzngs") (version "0.7.1") - (source (origin - (method url-fetch) - (uri (pypi-uri "musicbrainzngs" version)) - (sha256 - (base32 - "09z6k07pxncfgfc8clfmmxl2xqbd7h8x8bjzwr95hc0bzl00275b")))) - (build-system python-build-system) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alastair/python-musicbrainzngs") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "05rv5wmasamwxkbs8v9lbp2js6y5hhqz6c58c2afz2b202yp932m")))) + (build-system pyproject-build-system) + (native-inputs (list python-setuptools python-wheel)) (home-page "https://python-musicbrainzngs.readthedocs.org/") (synopsis "Python bindings for MusicBrainz NGS webservice") - (description "Musicbrainzngs implements Python bindings of the MusicBrainz -web service. This library can be used to retrieve music metadata from the + (description + "Musicbrainzngs implements Python bindings of the MusicBrainz web +service. This library can be used to retrieve music metadata from the MusicBrainz database.") ;; 'musicbrainzngs/compat.py' is ISC licensed. (license (list license:bsd-2 license:isc))))