diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-01 13:56:06 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-02 23:16:27 +0100 |
| commit | 04982414e249172b10c87203ad29b907ce67c1da (patch) | |
| tree | 80763dc4172476e9b4e93c69e7feffbddf779638 /gnu/packages/python-xyz.scm | |
| parent | 82b54d884a95af5f4d0a009bf82822a70c8137d3 (diff) | |
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
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e59d05724e..ed155214ff 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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)) - (sha256 - (base32 - "0fvsk6glxfphhqy405h05rj3v95jd1byl5hv2fyd5l31wln23shj")))) - (build-system python-build-system) - (native-inputs (list python-six)) + (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 "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 |
