[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/13: gnu: python-pyacoustid: Update to 1.2.2.
From: |
guix-commits |
Subject: |
02/13: gnu: python-pyacoustid: Update to 1.2.2. |
Date: |
Sat, 4 Sep 2021 09:07:45 -0400 (EDT) |
lbraun pushed a commit to branch master
in repository guix.
commit 9f543674ff0f2f178b656597fef24e834635d60b
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Thu Sep 2 13:42:43 2021 +0200
gnu: python-pyacoustid: Update to 1.2.2.
* gnu/packages/mp3.scm (python-pyacoustid) [version]: Update to 1.2.2.
[arguments]: Add phase 'chromaprint-path.
[inputs]: Add chromaprint.
[home-page]: Update.
---
gnu/packages/mp3.scm | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm
index 9de9055..3555958 100644
--- a/gnu/packages/mp3.scm
+++ b/gnu/packages/mp3.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2021 Simon Streit <simon@netpanic.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -645,19 +646,34 @@ FFmpeg, etc.")
(define-public python-pyacoustid
(package
(name "python-pyacoustid")
- (version "1.1.7")
+ (version "1.2.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pyacoustid" version))
(sha256
(base32
- "1zan6c22ca6sjy0g9ajwjp6mkzw7jv8r3n7jzska09a6x254lf87"))))
+ "0ha15m41r8ckmanc4k9nrlb9hprvhdjxndzw40a1yj3z1b1xjyf2"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chromaprint-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "chromaprint.py"
+ (("libchromaprint.so.1")
+ (string-append (assoc-ref inputs "chromaprint")
+ "/lib/libchromaprint.so.1")))
+ (substitute* "acoustid.py"
+ (("'fpcalc'")
+ (string-append "'" (assoc-ref inputs "chromaprint")
+ "/bin/fpcalc'")))
+ #t)))))
+ (inputs `(("chromaprint" ,chromaprint)))
(propagated-inputs
`(("python-audioread" ,python-audioread)
("python-requests" ,python-requests)))
- (home-page "https://github.com/sampsyo/pyacoustid")
+ (home-page "https://github.com/beetbox/pyacoustid")
(synopsis "Bindings for Chromaprint acoustic fingerprinting")
(description
"This package provides bindings for the Chromaprint acoustic
- 05/13: gnu: beets-bandcamp: Update to 0.1.4., (continued)
- 05/13: gnu: beets-bandcamp: Update to 0.1.4., guix-commits, 2021/09/04
- 04/13: gnu: python-discogs-client: Update to 2.3.12., guix-commits, 2021/09/04
- 09/13: gnu: python-mutagen: Update home-page., guix-commits, 2021/09/04
- 12/13: gnu: python-jellyfish: Update to 0.8.8., guix-commits, 2021/09/04
- 10/13: gnu: python-musicbrainzngs: Update to 0.7.1., guix-commits, 2021/09/04
- 07/13: gnu: python-pylast: Update to 4.2.1., guix-commits, 2021/09/04
- 13/13: gnu: python-rarfile: Update to 4.0., guix-commits, 2021/09/04
- 08/13: gnu: python-mpd2: Update to 3.0.4., guix-commits, 2021/09/04
- 06/13: gnu: beets: Update to 1.5.0., guix-commits, 2021/09/04
- 11/13: gnu: python-munkres: Update to 1.1.4., guix-commits, 2021/09/04
- 02/13: gnu: python-pyacoustid: Update to 1.2.2.,
guix-commits <=