[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
- branch master updated (dcb3a0f -> e247244), guix-commits, 2019/05/11
- 02/11: gnu: qbittorrent: Update to 4.1.6., guix-commits, 2019/05/11
- 04/11: gnu: wesnoth: Update to 1.14.7., guix-commits, 2019/05/11
- 05/11: gnu: powwow: Update to 1.2.19., guix-commits, 2019/05/11
- 07/11: gnu: libshout: Don't use NAME in source URI., guix-commits, 2019/05/11
- 06/11: gnu: upower: Update to 0.99.10., guix-commits, 2019/05/11
- 01/11: gnu: man-db: Update to 2.8.5., guix-commits, 2019/05/11
- 03/11: gnu: chroma: Update to 1.17., guix-commits, 2019/05/11
- 08/11: gnu: libshout: Update to 2.4.2., guix-commits, 2019/05/11
- 10/11: gnu: picard: Use build system features.,
guix-commits <=
- 11/11: gnu: picard: Return #t from phases., guix-commits, 2019/05/11
- 09/11: gnu: picard: Update to 2.1.3., guix-commits, 2019/05/11