Spyder uses string comparison for checking required PyQt4 version and it fails since "10" < "4+". It should do integer comparison. Also, please, consider adding epatch_user to the ebuild. Reproducible: Always Steps to Reproduce: 1. emerge -1 =PyQt4-4.10 2. emerge -1 spyder 3. spyder Actual Results: Throws error asking to check installed PyQt4 version. Expected Results: Should run fine since PyQt4-4.10 is newer than 4.4.
Created attachment 341916 [details, diff] spyder-2.1.13-qt_requirements.patch
Just noticed that the docstring for check_version() says exactly opposite of what the code does (the check should be inverted), but that is upstream issue without direct user visibility.
*spyder-2.1.13-r1 (19 Mar 2013) 19 Mar 2013; Andrey Grozin <grozin@gentoo.org> -files/spyder-2.1.2-disable_sphinx_dependency.patch, -spyder-2.1.9.ebuild, -spyder-2.1.13.ebuild, +spyder-2.1.13-r1.ebuild, +files/spyder-2.1.13-qt_requirements.patch: Qt version detection fixed, closing #461658; thanks to Reinis Danne <rei4dan@gmail.com> for the patch.