--- Begin Message ---
Subject: |
[PATCH] gnu: python2-urwid: Actually build urwid for Python 2. |
Date: |
Tue, 25 Jul 2017 14:50:16 -0400 |
* 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 89c2de63b..03f813411 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.
--
2.13.3
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#27827] [PATCH] gnu: python2-urwid: Actually build urwid for Python 2. |
Date: |
Tue, 25 Jul 2017 15:30:51 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Leo Famulari <address@hidden> writes:
> On Tue, Jul 25, 2017 at 02:50:16PM -0400, Kei Kebreau wrote:
>> * gnu/packages/python.scm (python2-urwid)[arguments]: Add #:python.
>
> Good catch! I didn't test this change with `guix gc --references`, but
> if that shows the right thing your end, please push!
Yes, python2-urwid shows up now. Prior to the patch it did not.
Pushed to master! Thanks again for the review.
signature.asc
Description: PGP signature
--- End Message ---