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.
This commit is contained in:
		
							parent
							
								
									46eb357973
								
							
						
					
					
						commit
						2bf9cc5ea7
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -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
 | 
					highlighting while typing, out-of-the-box multi-line input editing, advanced
 | 
				
			||||||
code completion, incremental search, support for Chinese double-width
 | 
					code completion, incremental search, support for Chinese double-width
 | 
				
			||||||
characters, mouse support, and auto suggestions.")
 | 
					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
 | 
					(define-public python-prompt-toolkit-2
 | 
				
			||||||
  (package (inherit python-prompt-toolkit)
 | 
					  (package (inherit python-prompt-toolkit)
 | 
				
			||||||
| 
						 | 
					@ -13117,7 +13118,8 @@ characters, mouse support, and auto suggestions.")
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("python-wcwidth" ,python-wcwidth)
 | 
					     `(("python-wcwidth" ,python-wcwidth)
 | 
				
			||||||
       ("python-six" ,python-six)
 | 
					       ("python-six" ,python-six)
 | 
				
			||||||
       ("python-pygments" ,python-pygments)))))
 | 
					       ("python-pygments" ,python-pygments)))
 | 
				
			||||||
 | 
					    (properties '())))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public python2-prompt-toolkit
 | 
					(define-public python2-prompt-toolkit
 | 
				
			||||||
  (package-with-python2 python-prompt-toolkit-2))
 | 
					  (package-with-python2 python-prompt-toolkit-2))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue