@@ 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