mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
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>
This commit is contained in:
parent
cf4296ecb1
commit
b673bc4518
1 changed files with 20 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue