Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#26711 - [python-urwid] add support for python3

Attached to Project: Arch Linux
Opened by Thomas Dziedzic (tomd123) - Tuesday, 01 November 2011, 16:20 GMT
Last edited by Isenmann Daniel (ise) - Thursday, 22 December 2011, 20:11 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Isenmann Daniel (ise)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


python-urwid should be python
python2-urwid should be python2

currently there is only python-urwid which is python2 in [extra]

One of my packages (bpython) depends on the python3 version of urwid
This task depends upon

Closed by  Isenmann Daniel (ise)
Thursday, 22 December 2011, 20:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  Implemented like suggested.
Comment by Isenmann Daniel (ise) - Thursday, 22 December 2011, 09:34 GMT
Have you tried to build the newest python-urwid release with python(3)? The setup script isn't working with python3.
Comment by Thomas Dziedzic (tomd123) - Thursday, 22 December 2011, 16:32 GMT
that's because you're missing python-distribute as a makedepends for the 2to3 functionality.

I have taken the time to split the package for you.

I have also run the unit tests for both the py2 and py3 packages.
Both are ok, except py2 tests fail because twisted isn't installed. Not sure if you really want to bring in twisted to [extra] though.
Comment by Isenmann Daniel (ise) - Thursday, 22 December 2011, 20:10 GMT
Thanks for the diff. No, I won't bring twisted to extra.