Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 390961

Summary: dev-python/spyder-2.1.2[-doc] fails to build without dev-python/sphinx installed
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: Current packagesAssignee: Andrey Grozin <grozin>
Status: RESOLVED FIXED    
Severity: normal CC: python, vayerx
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: spyder-2.1.2-disable_sphinx_dependency.patch
spyder-2.1.2.ebuild.patch

Description Arfrever Frehtes Taifersar Arahesis 2011-11-18 22:55:00 UTC
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.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2011-11-18 22:59:57 UTC
Created attachment 293045 [details, diff]
spyder-2.1.2.ebuild.patch
Comment 2 Vasiliy Yeremeyev 2011-11-22 11:14:22 UTC
*** Bug 391273 has been marked as a duplicate of this bug. ***
Comment 3 Andrey Grozin gentoo-dev 2011-11-22 13:50:16 UTC
(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.