guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 064a0c847a1bd18ed6db51556cca35cf91c9ffbd
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 19 16:11:21 2025 +0200

    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 <[email protected]>
---
 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 c2bfb32c18..1551ea9c28 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")

Reply via email to