guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e24b1820e74d24a5215721915e2d44571174249e
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Aug 13 13:59:00 2025 +0200

    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 <[email protected]>
---
 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 7b4d0af1f7..982285299b 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))))

Reply via email to