[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
281/361: gnu: beets: Use G-expressions.
From: |
guix-commits |
Subject: |
281/361: gnu: beets: Use G-expressions. |
Date: |
Thu, 21 Nov 2024 06:29:34 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 9dbb8777dbc118c12a246bc42668d7b5bd2d5609
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Nov 9 11:41:13 2024 +0000
gnu: beets: Use G-expressions.
* gnu/packages/music.scm (beets): Use G-expressions.
[arguments]<phases>: Remove trailing #f from lambdas.
Change-Id: I88e0fb825ab4b352a698beb504bc42ce60c9f001
---
gnu/packages/music.scm | 42 ++++++++++++++++++++----------------------
1 file changed, 20 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 5da394ad5d..3c18aadb7d 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4192,28 +4192,26 @@ websites such as Libre.fm.")
"0paj2nxvdx4zz9xawjpbsh0dy1kp9kfhxg8akh1rpz2awhsbfvxa"))))
(build-system python-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'set-HOME
- (lambda _
- (setenv "HOME" (string-append (getcwd) "/tmp"))
- #t))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-v" "test"))))
- ;; Wrap the executable, so it can find python-gi (aka
- ;; pygobject) and gstreamer plugins.
- (add-after 'wrap 'wrap-typelib
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((prog (string-append (assoc-ref outputs "out")
- "/bin/beet"))
- (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
- (types (getenv "GI_TYPELIB_PATH")))
- (wrap-program prog
- `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
- `("GI_TYPELIB_PATH" ":" prefix (,types)))
- #t))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-HOME
+ (lambda _
+ (setenv "HOME" (string-append (getcwd) "/tmp"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-v" "test"))))
+ ;; Wrap the executable, so it can find python-gi (aka
+ ;; pygobject) and gstreamer plugins.
+ (add-after 'wrap 'wrap-typelib
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((prog (string-append #$output "/bin/beet"))
+ (plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
+ (types (getenv "GI_TYPELIB_PATH")))
+ (wrap-program prog
+ `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
+ `("GI_TYPELIB_PATH" ":" prefix (,types)))))))))
(native-inputs
(list gobject-introspection
python-flask
- 246/361: gnu: python-docstring-to-markdown: Adjust inputs., (continued)
- 246/361: gnu: python-docstring-to-markdown: Adjust inputs., guix-commits, 2024/11/21
- 247/361: gnu: python-jsonschema-3: Fix build., guix-commits, 2024/11/21
- 252/361: gnu: python-behave-web-api: Update to 2.0.1., guix-commits, 2024/11/21
- 255/361: gnu: Add python-stdio-mgr., guix-commits, 2024/11/21
- 259/361: gnu: python-elasticsearch: Update to 7.17.12., guix-commits, 2024/11/21
- 258/361: gnu: python-scrapy: Fix build., guix-commits, 2024/11/21
- 265/361: gnu: python-ewah-bool-utils: Update to 1.2.2., guix-commits, 2024/11/21
- 262/361: gnu: python-pandera: Adjust inputs., guix-commits, 2024/11/21
- 277/361: gnu: python-quadpy: Adjust inputs., guix-commits, 2024/11/21
- 279/361: gnu: python-pysolr: Update to 3.10.0., guix-commits, 2024/11/21
- 281/361: gnu: beets: Use G-expressions.,
guix-commits <=
- 284/361: gnu: beets: Update to 2.0.0., guix-commits, 2024/11/21
- 286/361: gnu: Add python-poetry-plugin-export., guix-commits, 2024/11/21
- 285/361: gnu: Add python-sphinx-design., guix-commits, 2024/11/21
- 287/361: gnu: Add python-pypa-installer., guix-commits, 2024/11/21
- 289/361: gnu: Remove python-poetry-core-1.0., guix-commits, 2024/11/21
- 288/361: gnu: poetry: Fix build., guix-commits, 2024/11/21
- 291/361: gnu: Add python-rgbxy., guix-commits, 2024/11/21
- 302/361: gnu: Remove python-pluggy-next., guix-commits, 2024/11/21
- 304/361: gnu: python-pexpect: Improve package style., guix-commits, 2024/11/21
- 312/361: gnu: python-pytest-cov: Update to 6.0.0., guix-commits, 2024/11/21