1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: beets: Update to 2.5.1.

* gnu/packages/music.scm (beets): Update to 2.5.1.
[arguments]<#:phases>{skip-tests-that-need-internet}: New phase.

Change-Id: Ic0d4c4fea00e58bc50fe0a77816ec5663ad2e204
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
JodiMcJodson
2025-11-17 19:45:47 -06:00
committed by Andreas Enge
parent acf0473bb3
commit ce36502dab

View File

@@ -4314,14 +4314,14 @@ websites such as Libre.fm.")
(define-public beets
(package
(name "beets")
(version "2.3.1")
(version "2.5.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "beets" version))
(sha256
(base32
"04jp9mwfsh5qj0d9h6i720ji3b7q720rwgddsl39my2al4hqfnc7"))))
"18p93p4sy6zxaa957v10irzagiilmhmlg7q82rjz5g2gh1qgvvkz"))))
(build-system pyproject-build-system)
(arguments
(list
@@ -4330,6 +4330,11 @@ websites such as Libre.fm.")
(add-after 'unpack 'set-HOME
(lambda _
(setenv "HOME" (string-append (getcwd) "/tmp"))))
(add-after 'unpack 'skip-tests-that-need-internet
(lambda _
(substitute* "test/test_importer.py"
(("^([ \t]+)(def test_merge_duplicate_album\\(self\\):)" _ indentation rest)
(string-append indentation "@pytest.mark.skip()\n" indentation rest)))))
;; Wrap the executable, so it can find python-gi (aka
;; pygobject) and gstreamer plugins.
(add-after 'wrap 'wrap-typelib