mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
b77ef3ccd6
commit
effadb3177
1 changed files with 21 additions and 14 deletions
|
@ -13297,31 +13297,38 @@ adherence to RFC 6570, but adds a few extensions.")
|
||||||
(define-public python-urwid
|
(define-public python-urwid
|
||||||
(package
|
(package
|
||||||
(name "python-urwid")
|
(name "python-urwid")
|
||||||
(version "2.6.15")
|
(version "2.6.16")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "urwid" version))
|
(uri (pypi-uri "urwid" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"06v7m5xayyglzv630qsbg7zh6k37h6k94w7x7xkdkj481lrmgk4y"))))
|
"18ijvgf1l7jvmg45x1cysn3c9rdrg1w0405acig3hk7476cj7bck"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
;; XXX The test suite requires python-tornado but fails to find it
|
#:test-flags
|
||||||
;; whether or not it is available in the build environment.
|
#~(list "tests"
|
||||||
#:tests? #f
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(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 _
|
"--ignore=tests/test_vterm.py")))
|
||||||
(delete-file "tests/test_vterm.py"))))))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-typing-extensions python-wcwidth))
|
|
||||||
(native-inputs
|
(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")
|
(home-page "https://urwid.org")
|
||||||
(synopsis "Console user interface library for Python")
|
(synopsis "Console user interface library for Python")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue