~ruther/guix-local

b673bc45187d2991c4e7db0db19d1d5af33c9fa0 — Hugo Buddelmeijer a month ago cf4296e
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>
1 files changed, 20 insertions(+), 6 deletions(-)

M gnu/packages/monitoring.scm
M gnu/packages/monitoring.scm => gnu/packages/monitoring.scm +20 -6
@@ 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