[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/20: gnu: python-prompt-toolkit: Update to 2.0.7.
From: |
guix-commits |
Subject: |
05/20: gnu: python-prompt-toolkit: Update to 2.0.7. |
Date: |
Wed, 2 Jan 2019 10:34:31 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 80486d6673c09bc350a79f9c9dc82d88019e8662
Author: Ricardo Wurmus <address@hidden>
Date: Wed Jan 2 12:48:39 2019 +0100
gnu: python-prompt-toolkit: Update to 2.0.7.
* gnu/packages/python.scm (python-prompt-toolkit): Update to 2.0.7.
[arguments]: Enable tests; add phase "post-install-check" and delete "check"
phase.
[native-inputs]: Add python-pytest.
---
gnu/packages/python.scm | 53 +++++++++++++++++++++++++++++--------------------
1 file changed, 32 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 27f78a2..20b1ff6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9888,32 +9888,43 @@ collections of data.")
(package-with-python2 python-backpack))
(define-public python-prompt-toolkit
- (package
- (name "python-prompt-toolkit")
- (version "1.0.15")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "prompt_toolkit" version ".tar.gz"))
- (sha256
+ (package
+ (name "python-prompt-toolkit")
+ (version "2.0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "prompt_toolkit" version ".tar.gz"))
+ (sha256
(base32
- "05v9h5nydljwpj5nm8n804ms0glajwfy1zagrzqrg91wk3qqi1c5"))))
- (build-system python-build-system)
- (arguments
- '(#:tests? #f)) ; The test suite uses some Windows-specific data types.
- (propagated-inputs
- `(("python-wcwidth" ,python-wcwidth)
- ("python-six" ,python-six)
- ("python-pygments" ,python-pygments)))
- (home-page "https://github.com/jonathanslenders/python-prompt-toolkit")
- (synopsis "Library for building command line interfaces in Python")
- (description
- "Prompt-Toolkit is a library for building interactive command line
+ "0fgacqk73w7s932vy46pan2yp8rvjmlkag20xvaydh9mhf6h85zx"))))
+ (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"))))))
+ (propagated-inputs
+ `(("python-wcwidth" ,python-wcwidth)
+ ("python-six" ,python-six)
+ ("python-pygments" ,python-pygments)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "https://github.com/jonathanslenders/python-prompt-toolkit")
+ (synopsis "Library for building command line interfaces in Python")
+ (description
+ "Prompt-Toolkit is a library for building interactive command line
interfaces in Python. It's like GNU Readline but it also features syntax
highlighting while typing, out-of-the-box multi-line input editing, advanced
code completion, incremental search, support for Chinese double-width
characters, mouse support, and auto suggestions.")
- (license license:bsd-3)))
+ (license license:bsd-3)))
(define-public python2-prompt-toolkit
(package-with-python2 python-prompt-toolkit))
- 04/20: gnu: python-hy: Use INVOKE., (continued)
- 04/20: gnu: python-hy: Use INVOKE., guix-commits, 2019/01/02
- 03/20: gnu: python-clint: Use INVOKE., guix-commits, 2019/01/02
- 06/20: gnu: Add python-prompt-toolkit-1., guix-commits, 2019/01/02
- 13/20: gnu: python-widgetsnbextension: Update to 3.4.2., guix-commits, 2019/01/02
- 14/20: gnu: python-ipywidgets: Enable tests., guix-commits, 2019/01/02
- 18/20: gnu: Add python-qtconsole., guix-commits, 2019/01/02
- 08/20: gnu: python-ipykernel: Update to 5.1.0., guix-commits, 2019/01/02
- 10/20: gnu: python-jupyter-client: Update to 5.2.4., guix-commits, 2019/01/02
- 12/20: gnu: Add python-send2trash., guix-commits, 2019/01/02
- 09/20: gnu: python-ipython: Break dependency on python-ipykernel., guix-commits, 2019/01/02
- 05/20: gnu: python-prompt-toolkit: Update to 2.0.7.,
guix-commits <=
- 11/20: gnu: Add python-prometheus-client., guix-commits, 2019/01/02
- 17/20: gnu: python-notebook: Update to 5.7.4., guix-commits, 2019/01/02
- 16/20: gnu: python-jupyter-console: Fix inputs., guix-commits, 2019/01/02
- 20/20: gnu: jupyter: Add missing dependency., guix-commits, 2019/01/02
- 19/20: gnu: python-terminado: Update to 0.8.1., guix-commits, 2019/01/02
- 07/20: gnu: python-ipython: Update to 5.8.0., guix-commits, 2019/01/02