OpenConnect installs /usr/libexec/openconnect/tncc-emulate.py for emulating host checks. This python script requires dev-python/mechanize to run and will fail without it in the system. Adding it to rdepend fix the issue. Reproducible: Always Steps to Reproduce: 1.Install openconnect, do not have dev-python/mechanize previously installed in your systems 2.Try to manually run /usr/libexec/openconnect/tncc-emulate.py 3.script will fail complaining invalid module mechanize Expected Results: When you install openconnect dev-python/mechanize should be automatically pulled as runtime dependency, possibly controlled through a use flag if you need to emulate the tncc This issue can be easily fixed by manually emerging dev-python/mechanize or creating your own custom ebuild.
I doubt most people use tncc-emulate.py, so I will not add an unconditional dependency. That would also complicate the python eclass situation for this package. How did you stumble upon this script in the first place?