gnu: python-urwid-readline: Switch to pyproject-build-system.

* gnu/packages/python-xyz.scm (python-urwid-readline)
  [build-system]: Switch to pyproject-build-system.
  [native-inputs]: Add python-setuptools, python-wheel.

Change-Id: Iffbffc78f25c80dc6cbcee5e3105e8051c13edfd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-06-17 00:07:11 +02:00 committed by Sharlatan Hellseher
parent 0a75322fe1
commit 336f020391
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -14822,16 +14822,9 @@ features useful for text console applications.")
(sha256
(base32
"0y9k86p31mlr9rwnrbljvfgl183r5j60yaj0r3scljn1m0mlg8qg"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv")))))))
(build-system pyproject-build-system)
(propagated-inputs (list python-urwid))
(native-inputs (list python-pytest))
(native-inputs (list python-pytest python-setuptools python-wheel))
(home-page "https://github.com/rr-/urwid_readline")
(synopsis "Text input widget for urwid that supports readline shortcuts")
(description