Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405315 - dev-python/sympy - add preview printing dependencies
Summary: dev-python/sympy - add preview printing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-02-22 18:15 UTC by W. Trevor King
Modified: 2012-02-24 10:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch adding the preview USE flag (preview-USE-flag.patch,830 bytes, patch)
2012-02-22 18:15 UTC, W. Trevor King
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description W. Trevor King 2012-02-22 18:15:25 UTC
Created attachment 302883 [details, diff]
Patch adding the preview USE flag

The SymPy preview print system [1] wants dev-texlive/texlive-fontsextra (for eulervm.sty) and dev-python/pyglet for it's default viewer.  While both of these are optional, there should, perhaps, be a USE flag which pulls them in by default.

I see from the ChangeLog and ebuild comments that pyglet may have previously been included as a dependency.  This patch supports the SymPy defaults, while still allowing users to avoid the extra dependencies if they want.

[1] http://docs.sympy.org/dev/modules/printing.html#preview
Comment 1 Andrey Grozin gentoo-dev 2012-02-24 10:13:21 UTC
pyglet is used not only for print preview but also for plots. In the past, sources of (a subset of) pyglet were included in sympy, and therefore the dependency on pyglet was dropped. I've restored it under the USE flag 'pyglet', and added texlive-fontsextra under USE flag 'latex'. So, for print preview, you will need both flags.