From 251448f7f54a3fbc458ac57a0a7e6c3c4a7ad816 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 11 May 2019 17:52:10 +0200 Subject: gnu: picard: Use build system features. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 49e29340a6..796b74816c 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 -- cgit v1.2.3