The thing compile fine but I can't run fetchmailconf which require the python
module for Tk toolkit.
I think the version was fetchmail-5.9.6
My guess is they all have the issue because I've not seen any package called Tk-
toolkit for python in the whole portage package list.
tkinter (the python tk widget stuff) is installed with the python ebuild.
However you must have 'tk' in your USE variable.
Ok, maybe some einfo lines to inform the user that if they want to use
fetchmailconf they need to have python installed with tk support enabled, i.e
'tk' in USE when python is merged. It is too bad portage can't handle
dependencies with specified USE variables, then we could
tk? ( dev-lang/python USE="tk" )"
If we wanted to get fancy, we could test for the tkinter module and inform the
user of the current state. For example (the test is bogus and just illustrative,
I think :),
einfo "In order to use fetchmailconf, you need to have python merged"
einfo "with tkinter support enabled, i.e. merge python with 'tk' in USE."
if [ $( python -c "import tkinter" )] then
einfo "You currently have tkinter support."
einfo "You do not currently have tkinter support."
Tod, I used a version of your idea in the ebuild for fetchmail 5.9.7. It warns
the user if fetchmailconf cannot be used.