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
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