gnu: python-plotille: Update to 5.0.0.

* gnu/packages/python-xyz.scm (python-plotille): Update to 5.0.0.
[source]: Switch to git-fetch.
<snippet>: Delete conflicting directory containing test image samples.
[build-system]: Use pyproject.
[native-inputs]: Remove python-six; add python-pytest, python-mock,
python-pendulum, python-pytest-cov, python-pytest-mock,
python-setuptools, and python-wheel.

Change-Id: Ia990677e97d48ba69e8738fc79585c45bd3a954d
This commit is contained in:
Sharlatan Hellseher 2025-07-01 13:56:06 +01:00
parent 82b54d884a
commit 04982414e2
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -2616,15 +2616,32 @@ Markdown. All extensions are found under the module namespace of pymdownx.")
(define-public python-plotille
(package
(name "python-plotille")
(version "4.0.2")
(source (origin
(method url-fetch)
(uri (pypi-uri "plotille" version))
(version "5.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/tammoippen/plotille")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0fvsk6glxfphhqy405h05rj3v95jd1byl5hv2fyd5l31wln23shj"))))
(build-system python-build-system)
(native-inputs (list python-six))
(base32 "0ys8ivsbiv58c8rsrk2m2n3sh2rq6qqaa2mhq0hacsgrvmvv0siz"))
(modules '((guix build utils)))
(snippet
#~(begin
;; Without deleting ./imgs setuptools complains as follows: error:
;; Multiple top-level packages discovered in a flat-layout:
;; ['imgs', 'plotille'].
(delete-file-recursively "./imgs")))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-mock
python-pendulum
python-pytest-cov
python-pytest-mock
python-setuptools
python-wheel))
(home-page "https://github.com/tammoippen/plotille")
(synopsis "Plot in the terminal using braille dots")
(description