Created attachment 293043 [details] spyder-2.1.2-disable_sphinx_dependency.patch dev-python/spyder-2.1.2[-doc] fails to build without dev-python/sphinx installed, because setup.py contains 'from sphinx import setup_command'. disable_sphinx_dependency patch is still needed. I'm attaching updated version of this patch.
Created attachment 293045 [details, diff] spyder-2.1.2.ebuild.patch
*** Bug 391273 has been marked as a duplicate of this bug. ***
(In reply to comment #0) > dev-python/spyder-2.1.2[-doc] fails to build without dev-python/sphinx > installed, because setup.py contains 'from sphinx import setup_command'. > > disable_sphinx_dependency patch is still needed. I'm attaching updated version > of this patch. You are right, thanks. spyder can use sphinx at run time to display doc strings nicely. A user may want this feature even if [s]he emerges spyder[-doc]. Therefore, I've also added the USE flag sphinx. In the tree.