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

View file

@ -5871,7 +5871,11 @@ (define-public python2-urwid
(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.