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

* gnu/packages/python.scm (python2-urwid)[arguments]: Add #:python.
This commit is contained in:
Kei Kebreau 2017-07-25 14:38:50 -04:00
parent e9f468dfcd
commit 4fdab17371
No known key found for this signature in database
GPG Key ID: E6A5EE3C19467A0D
1 changed files with 5 additions and 1 deletions

View File

@ -5871,7 +5871,11 @@ features useful for text console applications.")
(inherit python2-urwid) (inherit python2-urwid)
(arguments (arguments
(append (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 (modify-phases %standard-phases
;; Disable the vterm tests because of non-deterministic failures ;; Disable the vterm tests because of non-deterministic failures
;; with Python 2. See https://github.com/urwid/urwid/issues/230. ;; with Python 2. See https://github.com/urwid/urwid/issues/230.