Archived
1
0
Fork 0

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 @@ placement and scaling of SVG figures and adding markers, such as labels.")
(define-public python-blessed (define-public python-blessed
(package (package
(name "python-blessed") (name "python-blessed")
(version "1.17.9") (version "1.20.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "blessed" version)) (uri (pypi-uri "blessed" version))
(sha256 (sha256
(base32 (base32
"1fx9lyzyaxd44jwpp9k3c0gx37xsww1q7gq01hqbf258x1dplj8d")) "103ng3ap33xs6i7606q3k6rwvjva9l7qi8j7vw08y13ffkw6gp9c"))
(modules '((guix build utils)))
(snippet (snippet
'(begin ;; Don't get hung up on Windows test failures.
;; Don't get hung up on Windows test failures. '(delete-file "blessed/win_terminal.py"))))
(delete-file "blessed/win_terminal.py"))))) (build-system pyproject-build-system)
(build-system python-build-system)
(arguments (arguments
(list (list
#:phases ;; Avoid python-pytest-coverage
#~(modify-phases %standard-phases #:test-flags '(list "-c /dev/null")))
(replace 'check (propagated-inputs (list python-wcwidth))
(lambda* (#:key inputs outputs tests? #:allow-other-keys) (native-inputs (list python-pytest))
(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))
(home-page "https://github.com/jquast/blessed") (home-page "https://github.com/jquast/blessed")
(synopsis "Wrapper around terminal capabilities") (synopsis "Wrapper around terminal capabilities")
(description (description