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 @@ computing.")
(define-public python-urwid (define-public python-urwid
(package (package
(name "python-urwid") (name "python-urwid")
(version "2.1.2") (version "2.6.15")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "urwid" version)) (uri (pypi-uri "urwid" version))
(sha256 (sha256
(base32 (base32
"1bky2bra6673xx8jy0826znw6cmxs89wcwwzda8d025j3jffx2sq")))) "06v7m5xayyglzv630qsbg7zh6k37h6k94w7x7xkdkj481lrmgk4y"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (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 #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'remove-vterm-tests (add-after 'unpack 'remove-vterm-tests
;; According to Debian these tests are cursed. ;; According to Debian these tests are cursed.
;; https://salsa.debian.org/python-team/packages/urwid/-/blob/debian/2.1.2-2/debian/changelog#L141 ;; https://salsa.debian.org/python-team/packages/urwid/-/blob/debian/2.1.2-2/debian/changelog#L141
(lambda _ (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") (home-page "https://urwid.org")
(synopsis "Console user interface library for Python") (synopsis "Console user interface library for Python")
(description (description