gnu: picard: Use build system features.
* gnu/packages/music.scm (picard)[arguments]: Leverage #:use-setuptools? and #:configure-flags instead of a custom ‘install’ phase.
This commit is contained in:
parent
b421e91558
commit
251448f7f5
|
@ -2556,7 +2556,10 @@ event-based scripts for scrobbling, notifications, etc.")
|
||||||
"19w5k3bf4886gdycxjds9nkjvir0gwy2r5cqkz0lbls4ikk4y14f"))))
|
"19w5k3bf4886gdycxjds9nkjvir0gwy2r5cqkz0lbls4ikk4y14f"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:use-setuptools? #f
|
||||||
|
#:configure-flags
|
||||||
|
(list "--root=/")
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-source
|
(add-after 'unpack 'patch-source
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
@ -2564,12 +2567,7 @@ event-based scripts for scrobbling, notifications, etc.")
|
||||||
(("pyfpcalc")
|
(("pyfpcalc")
|
||||||
(string-append
|
(string-append
|
||||||
"pyfpcalc', '"
|
"pyfpcalc', '"
|
||||||
(assoc-ref inputs "chromaprint") "/bin/fpcalc")))))
|
(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=/"))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gettext" ,gettext-minimal)))
|
`(("gettext" ,gettext-minimal)))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in New Issue