gnu: python-blessed: Update to 1.20.0.

* gnu/packages/python-xyz.scm (python-blessed): Update to 1.20.0.
[source]: Simplify snippet.
[build-system]: Use pyproject-build-system.
[arguments]: Use test-flags to avoid pytest-coverage; remove custom 'check phase.
[propagated-inputs]: Remove python-jinxed python-six.
[native-inputs]: Remove python-mock.
This commit is contained in:
Ricardo Wurmus 2023-05-10 12:37:34 +02:00
parent 8f97d96ddf
commit 9e1cbc62e5
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -27928,34 +27928,24 @@ (define-public python-svgutils
(define-public python-blessed
(package
(name "python-blessed")
(version "1.17.9")
(version "1.20.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "blessed" version))
(sha256
(base32
"1fx9lyzyaxd44jwpp9k3c0gx37xsww1q7gq01hqbf258x1dplj8d"))
(modules '((guix build utils)))
"103ng3ap33xs6i7606q3k6rwvjva9l7qi8j7vw08y13ffkw6gp9c"))
(snippet
'(begin
;; Don't get hung up on Windows test failures.
(delete-file "blessed/win_terminal.py")))))
(build-system python-build-system)
;; Don't get hung up on Windows test failures.
'(delete-file "blessed/win_terminal.py"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(delete-file "tox.ini")
(invoke "python" "-m" "pytest" "tests")))))))
(propagated-inputs
(list python-jinxed python-six python-wcwidth))
(native-inputs
(list python-mock python-pytest))
;; Avoid python-pytest-coverage
#:test-flags '(list "-c /dev/null")))
(propagated-inputs (list python-wcwidth))
(native-inputs (list python-pytest))
(home-page "https://github.com/jquast/blessed")
(synopsis "Wrapper around terminal capabilities")
(description