guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 15438a3c871ffb11ddae7088c974c468b14dcc6b
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Dec 27 11:34:52 2025 +0100

    gnu: picard: Switch to pyproject.
    
    * gnu/packages/music.scm (picard):
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:use-setuptools>: Drop it
    <#:configure-flags, #:phases>: Refresh them.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: Icdf6fe452cdabac07ab6a55aba6b27120cccccf0
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/music.scm | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index ac57bd8f4d..64c56a9e45 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4132,14 +4132,13 @@ event-based scripts for scrobbling, notifications, 
etc.")
               (sha256
                (base32
                 "1k0zwbi9i6b60l69ccmrapls19i21h1q6h547b3l3az7napb7zb3"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
      (list
-      #:use-setuptools? #f
       #:configure-flags
-      #~(list "--root=/"
-              ;; Don't phone home or show ‘Check for Update…’ in the Help menu.
-              "--disable-autoupdate")
+      #~'(("--root" . "/")
+          ;; Don't phone home or show ‘Check for Update…’ in the Help menu.
+          ("--disable-autoupdate" . ""))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'patch-source
@@ -4147,14 +4146,13 @@ event-based scripts for scrobbling, notifications, 
etc.")
               (substitute* "picard/const/__init__.py"
                 (("pyfpcalc")
                  (string-append
-                  "pyfpcalc', '"
-                  (assoc-ref inputs "chromaprint") "/bin/fpcalc")))))
+                  "pyfpcalc', '" (search-input-file inputs "/bin/fpcalc"))))))
           ;; pipe tests require writable $HOME.
           (add-before 'check 'set-HOME
             (lambda _
               (setenv "HOME" "/tmp"))))))
     (native-inputs
-     (list gettext-minimal python-dateutil))
+     (list gettext-minimal python-dateutil python-setuptools))
     (inputs
      (list chromaprint
            python-charset-normalizer

Reply via email to