gnu: python-urwid: Update to 2.6.15.

* gnu/packages/python-xyz.scm (python-urwid): Update to 2.6.15.
[build-system]: Use PYPROJECT-BUILD-SYSTEM.
[arguments]: Skip the test suite.
[propagated-inputs]: Add PYTHON-TYPING-EXTENSIONS and PYTHON-WCWIDTH.
[native-inputs]: Add PYTHON-SETUPTOOLS-SCM.

Change-Id: I13e242c4a1ec8a1ba6fad759e261468eb831eeb3
This commit is contained in:
Leo Famulari 2024-07-26 13:06:12 -04:00 committed by Ludovic Courtès
parent dd3b79e7a1
commit 0618dda2ab
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -12904,24 +12904,31 @@ (define-public python-ipython-documentation
(define-public python-urwid
(package
(name "python-urwid")
(version "2.1.2")
(version "2.6.15")
(source
(origin
(method url-fetch)
(uri (pypi-uri "urwid" version))
(sha256
(base32
"1bky2bra6673xx8jy0826znw6cmxs89wcwwzda8d025j3jffx2sq"))))
(build-system python-build-system)
"06v7m5xayyglzv630qsbg7zh6k37h6k94w7x7xkdkj481lrmgk4y"))))
(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
;; 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 "urwid/tests/test_vterm.py"))))))
(delete-file "tests/test_vterm.py"))))))
(propagated-inputs
(list python-typing-extensions python-wcwidth))
(native-inputs
(list python-setuptools-scm))
(home-page "https://urwid.org")
(synopsis "Console user interface library for Python")
(description