guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: python-prompt-toolkit: Specify the correct Python 2 variant.


From: guix-commits
Subject: 01/03: gnu: python-prompt-toolkit: Specify the correct Python 2 variant.
Date: Mon, 31 Aug 2020 20:15:35 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 2bf9cc5ea714185cc380bbe3bb6b3391bc26c9b1
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Sep 1 01:30:01 2020 +0200

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 52c83a0..1d99c19 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]