guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

370/420: gnu: python-prettytable: Update to 3.12.0.


From: guix-commits
Subject: 370/420: gnu: python-prettytable: Update to 3.12.0.
Date: Tue, 26 Nov 2024 16:29:36 -0500 (EST)

sharlatan pushed a commit to branch python-team
in repository guix.

commit 15065c30a8ca96a3e34cd8eba493d5c0affc2efa
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Nov 22 13:19:40 2024 +0000

    gnu: python-prettytable: Update to 3.12.0.
    
    * gnu/packages/python-xyz.scm (python-prettytable): Update to 3.12.0.
    [build-system]: Swap to pyproejct-build-system.
    [arguments]<phases>: Use custom 'check phase.
    [native-inputs]: Remove python-pytest-lazy-fixture; add
    python-hatchling, python-hatch-vcs, python-pytest-cov, and
    python-pytest-lazy-fixtures.
    
    Change-Id: I19d93bb92dec4f65d581dd8fcecbc137e1fdd4d6
---
 gnu/packages/python-xyz.scm | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 548ce730e0..f87aa11439 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16463,27 +16463,23 @@ functional languages.")
 (define-public python-prettytable
   (package
     (name "python-prettytable")
-    (version "3.3.0")
+    (version "3.12.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "prettytable" version))
        (sha256
-        (base32
-         "1c599w31i2ndzbkn85xwsgv9sd2j16r56dl922w4jh3rs97vb3hi"))))
-    (build-system python-build-system)
-    (arguments
-     (list #:phases
-           #~(modify-phases %standard-phases
-               (replace 'check
-                 (lambda* (#:key tests? #:allow-other-keys)
-                   (when tests?
-                     (invoke "pytest" "-vv")))))))
+        (base32 "0168xqdr0i9r4p3a3hjd4n7f133lp4xkxhvfx63aqisplcdkwjzh"))))
+    (build-system pyproject-build-system)
     (native-inputs
-     (list python-pytest
-           python-pytest-lazy-fixture
+     (list python-hatchling
+           python-hatch-vcs
+           python-pytest
+           python-pytest-cov
+           python-pytest-lazy-fixtures
            python-setuptools-scm))
-    (propagated-inputs (list python-wcwidth))
+    (propagated-inputs
+     (list python-wcwidth))
     (home-page "https://github.com/jazzband/prettytable";)
     (synopsis "Display tabular data in an ASCII table format")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]