Summary: | fetchmail missing tk toolkit dependencies | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yannick Koehler (RETIRED) <ykoehler> |
Component: | Current packages | Assignee: | Damon Conway (RETIRED) <kabau> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | 1.0 RC6 r14 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Yannick Koehler (RETIRED)
2002-01-23 16:35:53 UTC
Hi! tkinter (the python tk widget stuff) is installed with the python ebuild. However you must have 'tk' in your USE variable. Hi! 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 DEPEND="....... 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 :), pkg_postinst() { 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." else einfo "You do not currently have tkinter support." fi } 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. |