diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2025-12-31 20:40:06 +0100 |
|---|---|---|
| committer | Danny Milosavljevic <dannym@friendly-machines.com> | 2026-01-01 01:06:06 +0100 |
| commit | b673bc45187d2991c4e7db0db19d1d5af33c9fa0 (patch) | |
| tree | cf0021c318381a0892d2ef50a51493cb8b364930 /gnu | |
| parent | cf4296ecb1c451162144bf6b98e129f522d2056e (diff) | |
gnu: python-whisper: Update to 1.1.10.
* gnu/packages/monitoring.scm (python-whisper): Update to 1.1.10.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Add remove-python-six-dependency phase.
[native-inputs]: Remove python-six; add python-pytest and python-setuptools.
Change-Id: I218415bfc0283bc05ed73d080885328702201b37
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/monitoring.scm | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm index 79e12982529..37000f8b68b 100644 --- a/gnu/packages/monitoring.scm +++ b/gnu/packages/monitoring.scm @@ -489,16 +489,30 @@ network/disk rates.") (define-public python-whisper (package (name "python-whisper") - (version "1.1.8") + (version "1.1.10") (source (origin - (method url-fetch) - (uri (pypi-uri "whisper" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/graphite-project/whisper") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1bk29w09zcpsv8hp0g0al7nwrxa07z0ycls3mbh83wfavk83aprl")))) - (build-system python-build-system) - (native-inputs (list python-six)) + "182phj3z3mxpbla6m2f0pahyvqfn0jdblprvk6xwx39nc939nw0a")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-python-six-dependency + (lambda _ + (substitute* (find-files "." "\\.py$") + (("'six'") "") ; dependency in setup.py + (("six\\.moves") "io") + (("from six import assertRegex") "") + (("assertRegex") ""))))))) ; effectively disable test + (native-inputs (list python-pytest python-setuptools)) (home-page "https://graphiteapp.org/") (synopsis "Fixed size round-robin style database for Graphite") (description "Whisper is one of three components within the Graphite |
