summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Buddelmeijer <hugo@buddelmeijer.nl>2025-12-31 20:40:06 +0100
committerDanny Milosavljevic <dannym@friendly-machines.com>2026-01-01 01:06:06 +0100
commitb673bc45187d2991c4e7db0db19d1d5af33c9fa0 (patch)
treecf0021c318381a0892d2ef50a51493cb8b364930
parentcf4296ecb1c451162144bf6b98e129f522d2056e (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>
-rw-r--r--gnu/packages/monitoring.scm26
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.")
489(define-public python-whisper 489(define-public python-whisper
490 (package 490 (package
491 (name "python-whisper") 491 (name "python-whisper")
492 (version "1.1.8") 492 (version "1.1.10")
493 (source 493 (source
494 (origin 494 (origin
495 (method url-fetch) 495 (method git-fetch)
496 (uri (pypi-uri "whisper" version)) 496 (uri (git-reference
497 (url "https://github.com/graphite-project/whisper")
498 (commit version)))
499 (file-name (git-file-name name version))
497 (sha256 500 (sha256
498 (base32 501 (base32
499 "1bk29w09zcpsv8hp0g0al7nwrxa07z0ycls3mbh83wfavk83aprl")))) 502 "182phj3z3mxpbla6m2f0pahyvqfn0jdblprvk6xwx39nc939nw0a"))))
500 (build-system python-build-system) 503 (build-system pyproject-build-system)
501 (native-inputs (list python-six)) 504 (arguments
505 (list
506 #:phases
507 #~(modify-phases %standard-phases
508 (add-after 'unpack 'remove-python-six-dependency
509 (lambda _
510 (substitute* (find-files "." "\\.py$")
511 (("'six'") "") ; dependency in setup.py
512 (("six\\.moves") "io")
513 (("from six import assertRegex") "")
514 (("assertRegex") ""))))))) ; effectively disable test
515 (native-inputs (list python-pytest python-setuptools))
502 (home-page "https://graphiteapp.org/") 516 (home-page "https://graphiteapp.org/")
503 (synopsis "Fixed size round-robin style database for Graphite") 517 (synopsis "Fixed size round-robin style database for Graphite")
504 (description "Whisper is one of three components within the Graphite 518 (description "Whisper is one of three components within the Graphite