mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
gnu: picard: Update to 2.4.4.
* gnu/packages/music.scm (picard): Update to 2.4.4. [native-inputs]: Add python-dateutil. [source]: Add temporary patch to fix failing test due to missing "." in temporary filename. * gnu/packages/patches/picard-fix-id3-rename-test.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
4913e8ede0
commit
62cf60da7a
3 changed files with 17 additions and 3 deletions
|
@ -1429,6 +1429,7 @@ dist_patch_DATA = \
|
||||||
%D%/packages/patches/perl-module-pluggable-search.patch \
|
%D%/packages/patches/perl-module-pluggable-search.patch \
|
||||||
%D%/packages/patches/perl-reproducible-build-date.patch \
|
%D%/packages/patches/perl-reproducible-build-date.patch \
|
||||||
%D%/packages/patches/perl-www-curl-remove-symbol.patch \
|
%D%/packages/patches/perl-www-curl-remove-symbol.patch \
|
||||||
|
%D%/packages/patches/picard-fix-id3-rename-test.patch \
|
||||||
%D%/packages/patches/picprog-non-intel-support.patch \
|
%D%/packages/patches/picprog-non-intel-support.patch \
|
||||||
%D%/packages/patches/pidgin-add-search-path.patch \
|
%D%/packages/patches/pidgin-add-search-path.patch \
|
||||||
%D%/packages/patches/pidgin-libnm.patch \
|
%D%/packages/patches/pidgin-libnm.patch \
|
||||||
|
|
|
@ -2916,7 +2916,7 @@ event-based scripts for scrobbling, notifications, etc.")
|
||||||
(define-public picard
|
(define-public picard
|
||||||
(package
|
(package
|
||||||
(name "picard")
|
(name "picard")
|
||||||
(version "2.1.3")
|
(version "2.4.4")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
|
@ -2924,7 +2924,8 @@ event-based scripts for scrobbling, notifications, etc.")
|
||||||
"picard/picard-" version ".tar.gz"))
|
"picard/picard-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"19w5k3bf4886gdycxjds9nkjvir0gwy2r5cqkz0lbls4ikk4y14f"))))
|
"1c5l7i43jaj3s4wklc0cba6nn2x9cmpcggk4q4h9m1bci2xilsiy"))
|
||||||
|
(patches (search-patches "picard-fix-id3-rename-test.patch"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:use-setuptools? #f
|
'(#:use-setuptools? #f
|
||||||
|
@ -2943,7 +2944,8 @@ event-based scripts for scrobbling, notifications, etc.")
|
||||||
(assoc-ref inputs "chromaprint") "/bin/fpcalc")))
|
(assoc-ref inputs "chromaprint") "/bin/fpcalc")))
|
||||||
#t)))))
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gettext" ,gettext-minimal)))
|
`(("gettext" ,gettext-minimal)
|
||||||
|
("python-dateutil" ,python-dateutil)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("chromaprint" ,chromaprint)
|
`(("chromaprint" ,chromaprint)
|
||||||
("python-discid" ,python-discid)
|
("python-discid" ,python-discid)
|
||||||
|
|
11
gnu/packages/patches/picard-fix-id3-rename-test.patch
Normal file
11
gnu/packages/patches/picard-fix-id3-rename-test.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
Index: b/test/formats/test_id3.py
|
||||||
|
===================================================================
|
||||||
|
--- a/test/formats/test_id3.py
|
||||||
|
+++ b/test/formats/test_id3.py
|
||||||
|
@@ -266,5 +266,5 @@
|
||||||
|
def test_rename_txxx_tags(self):
|
||||||
|
file_path = os.path.join('test', 'data', 'test-id3-rename-tags.mp3')
|
||||||
|
- filename = self.copy_file_tmp(file_path, 'mp3')
|
||||||
|
+ filename = self.copy_file_tmp(file_path, '.mp3')
|
||||||
|
raw_metadata = load_raw(filename)
|
||||||
|
self.assertIn('TXXX:Artists', raw_metadata)
|
Loading…
Reference in a new issue