Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405755 - dev-python/matplotlib-1.1.0 - matplotlibrc has incorrect examples.directory
Summary: dev-python/matplotlib-1.1.0 - matplotlibrc has incorrect examples.directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-02-25 13:11 UTC by Chris Mayo
Modified: 2012-02-27 23:18 UTC (History)
0 users

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


Attachments
ebuild patch for 1.1.0 (matplotlib.patch,681 bytes, patch)
2012-02-26 20:18 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2012-02-25 13:11:01 UTC
USE="cairo doc examples -excel -fltk gtk -latex qt4 -tk wxwidgets"

/etc/matplotlib/matplotlibrc has:
examples.directory : ""/usr/share/matplotlib-1.1.0/examples

This directory does not exist I guess it should be:
/usr/share/doc/matplotlib-1.1.0/examples
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-02-26 20:18:45 UTC
Created attachment 303415 [details, diff]
ebuild patch for 1.1.0

localhost dev-python # USE="cairo doc examples -excel -fltk gtk -latex qt4 -tk wxwidgets" ebuild matplotlib-1.1.0.ebuild clean install

localhost dev-python # tail $PORTAGE_TMPDIR/portage/dev-python/matplotlib-1.1.0/image/etc/matplotlib/matplotlibrc
# Control downloading of example data. Various examples download some
# data from the Matplotlib git repository to avoid distributing extra
------------------------------------------------------
examples.directory : "/usr/share/matplotlib-1.1.0/examples"
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2012-02-27 03:10:05 UTC
fixed by removing extra quotes. thanks.
Comment 3 Chris Mayo 2012-02-27 20:17:45 UTC
That has changed it to:
/usr/share/matplotlib-1.1.0/examples

The examples appear to be installed in /usr/share/doc:
/usr/share/doc/matplotlib-1.1.0/examples/
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2012-02-27 23:18:47 UTC
ok, really fixing it this time.