summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-08-14 14:14:15 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-14 14:36:03 +0100
commit58f9f2a2517df41ce504fce394836193707d5a08 (patch)
treeb5be35debfbf10ba0c440f9029a2d0391d9eb259 /gnu
parent470cd20e3a35800d5b66ca77ef25a2d2eb73d383 (diff)
gnu: python-wavefile: Update to 1.6.3.
* gnu/packages/python-xyz.scm (python-wavefile): Update to 1.6.3. [build-system]: Use pyproject. [arguments]: Use G-expressions. <test-flags>: Skip 4 problematic tests. [native-inputs]: Add python-pytest, python-pytest-cov, and python-setuptools-next. Change-Id: I5facf2a0cc21c1cabcc8d04464dc6c2328439ebf
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm52
1 files changed, 34 insertions, 18 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3084f07344c..42939c2b72d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5853,26 +5853,42 @@ audio playback capability for Python 3 on OSX, Windows, and Linux.")
(define-public python-wavefile
(package
(name "python-wavefile")
- (version "1.6.2")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "wavefile" version))
- (sha256
- (base32
- "04mdcxq7n1vnwb9y65j0cwpy91ik5rh9vki1f45xqnh4ygz91n75"))))
- (build-system python-build-system)
+ (version "1.6.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "wavefile" version))
+ (sha256
+ (base32 "120r003xy0cv6a4d4cjxv140im007klgkvzfgc57m70rcbnggi7p"))))
+ (build-system pyproject-build-system)
(arguments
- (list #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'patch-libsndfile-path
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "wavefile/libsndfile.py"
- (("'libsndfile")
- (string-append "'" (assoc-ref inputs "libsndfile")
- "/lib/libsndfile"))))))))
+ (list
+ #:test-flags
+ #~(list "-k" (string-join
+ ;; Assertion fail to compare files.
+ (list "not test_allFormats"
+ "test_commonFormats"
+ "test_majorFormats"
+ "test_subtypeFormats")
+ " and not "))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-libsndfile-path
+ (lambda _
+ (substitute* "wavefile/libsndfile.py"
+ (("'libsndfile")
+ (string-append "'" #$(this-package-input "libsndfile")
+ "/lib/libsndfile"))))))))
+ (native-inputs
+ (list python-pytest
+ python-pytest-cov
+ python-setuptools-next))
(inputs
- (list libsndfile portaudio))
- (propagated-inputs (list python-numpy python-pyaudio))
+ (list libsndfile
+ portaudio))
+ (propagated-inputs
+ (list python-numpy
+ python-pyaudio))
(home-page "https://github.com/vokimon/python-wavefile")
(synopsis "Pythonic audio file reader and writer")
(description