From 2bf9cc5ea714185cc380bbe3bb6b3391bc26c9b1 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 1 Sep 2020 01:30:01 +0200 Subject: gnu: python-prompt-toolkit: Specify the correct Python 2 variant. * gnu/packages/python-xyz.scm (python-prompt-toolkit)[properties]: The Python-2 version of this package is version 2.x of this package. --- gnu/packages/python-xyz.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 52c83a0402..1d99c19974 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13101,7 +13101,8 @@ 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) + (properties `((python2-variant . ,(delay python-prompt-toolkit-2)))))) (define-public python-prompt-toolkit-2 (package (inherit python-prompt-toolkit) @@ -13117,7 +13118,8 @@ characters, mouse support, and auto suggestions.") (propagated-inputs `(("python-wcwidth" ,python-wcwidth) ("python-six" ,python-six) - ("python-pygments" ,python-pygments))))) + ("python-pygments" ,python-pygments))) + (properties '()))) (define-public python2-prompt-toolkit (package-with-python2 python-prompt-toolkit-2)) -- cgit 1.4.1