From 064a0c847a1bd18ed6db51556cca35cf91c9ffbd Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 19 Oct 2025 16:11:21 +0200 Subject: [PATCH] gnu: python-terminaltables: Switch to pyproject. * gnu/packages/python-xyz.scm (python-terminaltables): [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them for now. [native-inputs]: Add python-colorclass, python-colorama, python-pytest, python-setuptools, python-termcolor. Change-Id: I15efe0d4123d941b1af560f71e554c6cb9386315 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c2bfb32c1884d1d5c7049c7f0fa5007eabbea8de..1551ea9c28387c216105d7a81093ca8ae4feb3ba 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18588,12 +18588,21 @@ a hash value.") (version "3.1.0") (source (origin - (method url-fetch) - (uri (pypi-uri "terminaltables" version)) - (sha256 - (base32 - "109vhldk6nv1z3hzp4dyqf6rjvlhl0y2k5k7qcm9fcrq5swhxszk")))) - (build-system python-build-system) + (method git-fetch) + (uri (git-reference + (url "https://github.com/Robpol86/terminaltables") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 (base32 "1jlm7n6kxypbr8mvwpd7hf9hbfk0a002ad03wqgxlri4aw8pk39a")))) + (build-system pyproject-build-system) + ;; XXX: A lot of test fail with flaky behavior. + (arguments (list #:tests? #f)) + (native-inputs + (list python-colorclass + python-colorama + python-pytest + python-setuptools + python-termcolor)) (home-page "https://github.com/Robpol86/terminaltables") (synopsis "Generate simple tables in terminals from a nested list of strings")