[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 009/232] gnu: python-prompt-toolkit: Update to 3.0.29
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 009/232] gnu: python-prompt-toolkit: Update to 3.0.29. |
Date: |
Sun, 24 Apr 2022 23:55:35 -0400 |
* 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.
---
gnu/packages/python-xyz.scm | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f95d0fbcfc..8d46d992b0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17212,25 +17212,24 @@ (define-public python2-backpack
(define-public python-prompt-toolkit
(package
(name "python-prompt-toolkit")
- (version "3.0.18")
+ (version "3.0.29")
(source
(origin
(method url-fetch)
(uri (pypi-uri "prompt_toolkit" version))
(sha256
- (base32 "1g1kq1aimhm23k2dmlmnznfzc83l6ly65g0h32hqz8injcdz3d71"))))
+ (base32 "19vf5cahp3imdpwhgvk55g3dvqmc6ga175r4vkq79kffx1h0yr5x"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
- (delete 'check)
- (add-after 'install 'post-install-check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- ;; HOME is needed for the test
- ;; "test_pathcompleter_can_expanduser".
- (setenv "HOME" "/tmp")
- (add-installed-pythonpath inputs outputs)
- (invoke "py.test"))))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; HOME is needed for the test
+ ;; "test_pathcompleter_can_expanduser".
+ (setenv "HOME" "/tmp")
+ (invoke "pytest" "-vv")))))))
(propagated-inputs
(list python-wcwidth))
(native-inputs
--
2.34.0
- [bug#55104] [PATCH 023/232] gnu: Add python-fontmath., (continued)
- [bug#55104] [PATCH 023/232] gnu: Add python-fontmath., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 037/232] gnu: Add python-pytest-mypy., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 055/232] gnu: Add python-pytest-enabler., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 056/232] gnu: Add python-path., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 040/232] gnu: Add python-autocommand., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 041/232] gnu: Add python-types-freezegun., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 057/232] gnu: Add python-pip-run., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 085/232] gnu: Add python-sfdlib., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 094/232] gnu: pylint: Run tests in parallel., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 092/232] gnu: Add python-untangle., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 009/232] gnu: python-prompt-toolkit: Update to 3.0.29.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 024/232] gnu: Add python-unicodedata2., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 025/232] gnu: python-fonttools-with-test: Rename to python-fonttools-full., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 039/232] gnu: Add python-jaraco-functools-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 027/232] gnu: Add python-fontpens-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 047/232] gnu: python-importlib-metadata: Update to 4.11.3., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 020/232] gnu: Add opentype-sanitizer., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 059/232] gnu: Add python-pytest-perf., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 060/232] gnu: python-factory-boy: Update to 3.2.1., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 063/232] gnu: Add psautohint-font-data., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 065/232] gnu: Add python-ordered-set., Maxim Cournoyer, 2022/04/25