me
/
guix
Archived
1
0
Fork 0

gnu: python-prompt-toolkit: Update to 3.0.29.

* gnu/packages/python-xyz.scm (python-prompt-toolkit): Update to 3.0.29.
[phases]{post-install-check}: Move to...
{check}: ... this phase override instead, and streamline.
master
Maxim Cournoyer 2022-04-11 01:07:29 -04:00
parent e6f46eabbd
commit 23d2319f9a
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 9 additions and 10 deletions

View File

@ -17228,25 +17228,24 @@ collections of data.")
(define-public python-prompt-toolkit (define-public python-prompt-toolkit
(package (package
(name "python-prompt-toolkit") (name "python-prompt-toolkit")
(version "3.0.18") (version "3.0.29")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "prompt_toolkit" version)) (uri (pypi-uri "prompt_toolkit" version))
(sha256 (sha256
(base32 "1g1kq1aimhm23k2dmlmnznfzc83l6ly65g0h32hqz8injcdz3d71")))) (base32 "19vf5cahp3imdpwhgvk55g3dvqmc6ga175r4vkq79kffx1h0yr5x"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'check) (replace 'check
(add-after 'install 'post-install-check (lambda* (#:key tests? #:allow-other-keys)
(lambda* (#:key inputs outputs #:allow-other-keys) (when tests?
;; HOME is needed for the test ;; HOME is needed for the test
;; "test_pathcompleter_can_expanduser". ;; "test_pathcompleter_can_expanduser".
(setenv "HOME" "/tmp") (setenv "HOME" "/tmp")
(add-installed-pythonpath inputs outputs) (invoke "pytest" "-vv")))))))
(invoke "py.test"))))))
(propagated-inputs (propagated-inputs
(list python-wcwidth)) (list python-wcwidth))
(native-inputs (native-inputs