diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-26 18:08:20 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-29 15:28:36 +0000 |
| commit | e4fd402e362d47293261a26c7105f7e5165fd044 (patch) | |
| tree | 8c33913782a059421db89cdcf6f96b5017e728ed /gnu/packages/python-xyz.scm | |
| parent | 43857e4cf0c9db5a8a60eb7d693c7bbb0baafbe8 (diff) | |
gnu: python-beautifultable: Update to 1.1.0.
* gnu/packages/python-xyz.scm (python-beautifultable): Update to 1.1.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Replace <#:phases> with <#:test-backend>.
[native-inputs]: Add python-pandas, python-setuptools.
[description]: Improve style.
Change-Id: I305dede9a5fa05189ecb2f728f394fba1ea5506e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0719f164994..59c1fe1b6ae 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27297,29 +27297,25 @@ application.") (define-public python-beautifultable (package (name "python-beautifultable") - (version "1.0.0") + (version "1.1.0") (source (origin - (method url-fetch) - (uri (pypi-uri "beautifultable" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/pri22296/beautifultable") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 - "0wwlbifcbpzy3wfv6yzsxncarsngzizmmxbn6cy5gazlcq7h4k5x")))) - (build-system python-build-system) - (propagated-inputs - (list python-wcwidth)) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-setup.py - (lambda _ - (substitute* "setup.py" - (("setup\\(") - "setup(\n test_suite=\"test\","))))))) + (base32 "0b6c7dpc45sm3vn65qm00q20sdgpi78xxzwc0rij7hnj9c45w97x")))) + (build-system pyproject-build-system) + (arguments (list #:test-backend #~'unittest)) + (native-inputs (list python-pandas python-setuptools)) + (propagated-inputs (list python-wcwidth)) (home-page "https://github.com/pri22296/beautifultable") (synopsis "Print ASCII tables for terminals") - (description "@code{python-beautifultable} provides a class for easily -printing tabular data in a visually appealing ASCII format to a terminal. + (description + "@code{python-beautifultable} provides a class for easily printing +tabular data in a visually appealing ASCII format to a terminal. Features include, but are not limited to: @itemize |
