diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-09 17:19:12 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:00 +0100 |
| commit | ef2cd2d4abb3585ba683c8e65453bd701dcbf9d8 (patch) | |
| tree | 7c4e404f38f025949d649ba343ad345d142e038e /gnu/packages/python-xyz.scm | |
| parent | 2c358fcdf1ad70dfba803bee06cf7b1e58fd71b2 (diff) | |
gnu: python-prompt-toolkit: Update to 3.0.51.
* gnu/packages/python-xyz.scm (python-prompt-toolkit): Update to 3.0.51.
[build-system]: Use pyproject.
[arguments] <phases>: Use default 'check; add 'pre-check.
[native-inputs]: Add python-setuptools.
Change-Id: If7f626ff2ef9a564968a969810d05e6767d6d17b
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6ee1a1a3a4..23bef00493 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -24085,28 +24085,28 @@ environment variables in YAML files.") (define-public python-prompt-toolkit (package (name "python-prompt-toolkit") - (version "3.0.43") + (version "3.0.51") (source (origin (method url-fetch) (uri (pypi-uri "prompt_toolkit" version)) (sha256 - (base32 "0zgzn02ffc9njpz0pfsin30nwmm3754cig20l1jvqv0h4spvf9rm")))) - (build-system python-build-system) + (base32 "1valgcf324yy0sf7rrbm2ivc4a65n8gvnj0vdz491z177cp1c6lk")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (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"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + ;; HOME is needed for the test + ;; "test_pathcompleter_can_expanduser". + (setenv "HOME" "/tmp")))))) + (native-inputs + (list python-pytest + python-setuptools)) (propagated-inputs (list python-wcwidth)) - (native-inputs - (list python-pytest)) (home-page "https://github.com/prompt-toolkit/python-prompt-toolkit") (synopsis "Library for building command line interfaces in Python") (description |
