guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/11: gnu: picard: Use build system features.


From: guix-commits
Subject: 10/11: gnu: picard: Use build system features.
Date: Sat, 11 May 2019 13:56:17 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 251448f7f54a3fbc458ac57a0a7e6c3c4a7ad816
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat May 11 17:52:10 2019 +0200

    gnu: picard: Use build system features.
    
    * gnu/packages/music.scm (picard)[arguments]: Leverage #:use-setuptools?
    and #:configure-flags instead of a custom ‘install’ phase.
---
 gnu/packages/music.scm | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 49e2934..796b748 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2556,7 +2556,10 @@ event-based scripts for scrobbling, notifications, etc.")
                 "19w5k3bf4886gdycxjds9nkjvir0gwy2r5cqkz0lbls4ikk4y14f"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
+     '(#:use-setuptools? #f
+       #:configure-flags
+       (list "--root=/")
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-source
            (lambda* (#:key inputs #:allow-other-keys)
@@ -2564,12 +2567,7 @@ event-based scripts for scrobbling, notifications, etc.")
                (("pyfpcalc")
                 (string-append
                  "pyfpcalc', '"
-                 (assoc-ref inputs "chromaprint") "/bin/fpcalc")))))
-         (replace 'install
-           (lambda* (#:key outputs #:allow-other-keys)
-             (invoke "python" "setup.py" "install"
-                     (string-append "--prefix=" (assoc-ref outputs "out"))
-                     "--root=/"))))))
+                 (assoc-ref inputs "chromaprint") "/bin/fpcalc"))))))))
     (native-inputs
      `(("gettext" ,gettext-minimal)))
     (inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]