guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4349cca1bf46835653cdc198c1037f4df93cd1c7
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 28 13:59:40 2025 +0000
gnu: python-pytaglib: Update to 3.1.0.
* gnu/packages/mp3.scm (python-pytaglib): Update to 3.1.0, use
G-Expressions.
[source]: Switch to git-fetch; remove redundund snippet.
[build-system]: Switch to pyproject-build-system.
[inputs]: Remove taglib; add taglib-next.
[native-inputs]: Add python-setuptools.
Fixes: guix/guix#4662
Change-Id: I44610089ec59a60c8e1ae59cd7a479a516f60067
---
gnu/packages/mp3.scm | 49 +++++++++++++++++++++++--------------------------
1 file changed, 23 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm
index b8d7b698d7..339be89346 100644
--- a/gnu/packages/mp3.scm
+++ b/gnu/packages/mp3.scm
@@ -763,39 +763,36 @@ fingerprinting library and the Acoustid API.")
(define-public python-pytaglib
(package
(name "python-pytaglib")
- (version "1.4.6")
+ (version "3.1.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pytaglib" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/supermihi/pytaglib")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "0li970qslfymz4vk1wrij2nfqw3l15cpc3fjjci48mpvg17gbnhn"))
- ;; Delete file generated by Cython.
- (modules '((guix build utils)))
- (snippet
- '(begin
- (delete-file "src/taglib.cpp")))))
- (build-system python-build-system)
+ (base32 "178vvc0rq932w9hmzb1cxlzhzfs5npibrpx41r0zidmhcpv4gr03"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- ;; Ensure that the Cython file is regenerated.
- (add-after 'unpack 'setup-environment
- (lambda _
- (setenv "PYTAGLIB_CYTHONIZE" "1"))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Ensure that the Cython file is regenerated.
+ (add-after 'unpack 'setup-environment
+ (lambda _
+ (setenv "PYTAGLIB_CYTHONIZE" "1"))))))
(native-inputs
- (list python-cython python-pytest))
+ (list python-cython
+ python-pytest
+ python-setuptools))
(inputs
- (list taglib))
- (home-page
- "https://github.com/supermihi/pytaglib")
- (synopsis
- "Python bindings for taglib")
+ (list taglib-next))
+ (home-page "https://github.com/supermihi/pytaglib")
+ (synopsis "Python bindings for taglib")
(description
- "This package is a Python audio tagging library. It is
-cross-platform, works with all Python versions, and is very
-simple to use yet fully featured.")
+ "This package is a Python audio tagging library. It is cross-platform,
+ works with all Python versions, and is very simple to use yet fully
featured.")
(license license:gpl3)))
(define-public wavbreaker