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

Bug 361655

Summary: dev-python/matplotlib dependencies improvement
Product: Gentoo Linux Reporter: Cedric Sodhi <manday>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cedric Sodhi 2011-04-02 08:01:37 UTC
I'd like to suggest that dev-python/matplotlib has it's deps improved. At least of

dev-python/pycxx
media-fonts/texcm-ttf
media-fonts/stix-fonts
dev-python/pyparsing

I don't think any of them should be a dependency. No such thing is mentioned by matplotlib.

Second I appreciate finer control over the configuration. Matplotlib really hasn't got a lof of configuration options and it would be nice, if most of them were made available through USE-flags, in particular choosing the drawing backend to be AGG GtkAGG or Cairo

Reproducible: Always
Comment 1 Rafał Mużyło 2011-04-02 14:34:19 UTC
Those deps aren't noted in the tarball, as tarball contains its own copies of them.

As for the second part, ebuild already does that - well, it enables agg and non-agg variants at the same time, but other than that, it's covered.
Comment 2 Cedric Sodhi 2011-04-02 15:31:58 UTC
The documentation of the tarbal makes mention of bundled packages and none of the above program names is mentioned. Can you please cite a source which confirms that those packages are bundled yet not mentioned in the documentation?
Comment 3 Rafał Mużyło 2011-04-02 18:45:12 UTC
matplotlib-1.0.1/CXX
matplotlib-1.0.1/lib/matplotlib/pyparsing.py
matplotlib-1.0.1/lib/matplotlib/mpl-data/fonts

Did you even try to read the ebuild ?
Comment 4 Cedric Sodhi 2011-04-03 06:48:20 UTC
The pyparsing.py (which I think is what you are referring to) that comes with the package is 148k in size. The pyparsing package wants to download is about 1.3M in size. Same with the fonts which are arround 700k and 2.7M are downloaded.
Comment 5 Rafał Mużyło 2011-04-06 19:03:13 UTC
Most of the overhead are docs and build system - former doesn't need to, later doesn't get installed.
Comment 6 Cedric Sodhi 2011-04-07 11:04:05 UTC
Thanks