From e4fd402e362d47293261a26c7105f7e5165fd044 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 26 Oct 2025 18:08:20 +0100 Subject: [PATCH] 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 --- gnu/packages/python-xyz.scm | 32 ++++++++++++++------------------ 1 file 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