me
/
guix
Archived
1
0
Fork 0

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.
master
Tobias Geerinckx-Rice 2020-09-01 01:30:01 +02:00
parent 46eb357973
commit 2bf9cc5ea7
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 2 deletions

View File

@ -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))