Bug 128175 - app-emulation/xen-tools-3.0.1_p9029 : xenmon.py depends on python built with ncurses USE flag
Bug#: 128175 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Other Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: chrb@gentoo.org Reported By: langthang@gentoo.org
Component: Applications
URL: 
Summary: app-emulation/xen-tools-3.0.1_p9029 : xenmon.py depends on python built with ncurses USE flag
Keywords:  
Status Whiteboard: 
Opened: 2006-03-30 14:40 0000
Description:   Opened: 2006-03-30 14:40 0000
python built without ncurses USE flag causes traceback.

# xenmon.py
Traceback (most recent call last):
  File "/usr/sbin/xenmon.py", line 32, in ?
    import curses as _c
  File "/usr/lib/python2.4/curses/__init__.py", line 15, in ?
    from _curses import *
ImportError: No module named _curses

------- Comment #1 From Aron Griffis (RETIRED) 2006-03-31 18:08:06 0000 -------
I added a warning to pkg_postinst.  This seems like the appropriate response
since not all xen users care about xenmon.py.  Thanks for the report.

if ! built_with_use dev-lang/python ncurses; then
        echo
        ewarn "NB: Your dev-lang/python is built without USE=ncurses."
        ewarn "Please rebuild python with USE=ncurses to make use of
xenmon.py."
fi