guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: python2-urwid: Actually build urwid for Python 2.


From: Kei Kebreau
Subject: 01/01: gnu: python2-urwid: Actually build urwid for Python 2.
Date: Tue, 25 Jul 2017 15:29:50 -0400 (EDT)

kkebreau pushed a commit to branch master
in repository guix.

commit 4fdab1737186afefa3a80c2a3ed1fdaa48c9c57a
Author: Kei Kebreau <address@hidden>
Date:   Tue Jul 25 14:38:50 2017 -0400

    gnu: python2-urwid: Actually build urwid for Python 2.
    
    * gnu/packages/python.scm (python2-urwid)[arguments]: Add #:python.
---
 gnu/packages/python.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 89c2de6..03f8134 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5871,7 +5871,11 @@ features useful for text console applications.")
       (inherit python2-urwid)
       (arguments
        (append
-        '(#:phases
+        `(;; Explicitly using Python 2 is necessary due the argument list being
+          ;; built from only the 'delete-test_vterm.py' phase and 
python-urwid's
+          ;; package arguments, which by default assumes the use of Python 3.
+          #:python ,python-2
+          #:phases
           (modify-phases %standard-phases
             ;; Disable the vterm tests because of non-deterministic failures
             ;; with Python 2. See https://github.com/urwid/urwid/issues/230.



reply via email to

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