guix-commits
[Top][All Lists]
Advanced

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

263/361: gnu: python-urwid: Update to 2.6.16.


From: guix-commits
Subject: 263/361: gnu: python-urwid: Update to 2.6.16.
Date: Thu, 21 Nov 2024 06:29:31 -0500 (EST)

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

commit bcb9bee5f74a1a15001076767e4ce876e3922924
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Thu Nov 7 00:07:03 2024 +0000

    gnu: python-urwid: Update to 2.6.16.
    
    * gnu/packages/python-xyz.scm (python-urwid): Update to 2.6.16.
    [arguments]<tests>: Enable them.
    [propagated-inputs]: Add python-pygobject, python-tornado, python-trio,
    python-pyzmq, and python-twisted.
    [native-inputs]: Add python-pytest, python-pytest-cov,
    python-setuptools, and
    python-wheel.
    
    Change-Id: I9cd6313e2a6ac0db848e754165dfb8cfdda0e2ff
---
 gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4b93434de5..f3d377b623 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13247,31 +13247,38 @@ adherence to RFC 6570, but adds a few extensions.")
 (define-public python-urwid
   (package
     (name "python-urwid")
-    (version "2.6.15")
+    (version "2.6.16")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "urwid" version))
        (sha256
         (base32
-         "06v7m5xayyglzv630qsbg7zh6k37h6k94w7x7xkdkj481lrmgk4y"))))
+         "18ijvgf1l7jvmg45x1cysn3c9rdrg1w0405acig3hk7476cj7bck"))))
     (build-system pyproject-build-system)
     (arguments
-      (list
-        ;; XXX The test suite requires python-tornado but fails to find it
-        ;; whether or not it is available in the build environment.
-        #:tests? #f
-        #:phases
-        #~(modify-phases %standard-phases
-            (add-after 'unpack 'remove-vterm-tests
+     (list
+      #:test-flags
+      #~(list "tests"
               ;; According to Debian these tests are cursed.
               ;; 
https://salsa.debian.org/python-team/packages/urwid/-/blob/debian/2.1.2-2/debian/changelog#L141
-              (lambda _
-                (delete-file "tests/test_vterm.py"))))))
-    (propagated-inputs
-      (list python-typing-extensions python-wcwidth))
+               "--ignore=tests/test_vterm.py")))
     (native-inputs
-      (list python-setuptools-scm))
+     (list python-pytest
+           python-pytest-cov
+           python-setuptools
+           python-setuptools-scm
+           python-wheel))
+    (propagated-inputs
+     (list python-typing-extensions
+           python-wcwidth
+
+           ;; Optional, but tests need them.
+           python-pygobject
+           python-tornado
+           python-trio
+           python-pyzmq
+           python-twisted))
     (home-page "https://urwid.org";)
     (synopsis "Console user interface library for Python")
     (description



reply via email to

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