ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/py2-matplotlib.spec
(Generate patch)

Comparing COMP/CMSDIST/py2-matplotlib.spec (file contents):
Revision 1.23 by lat, Mon Mar 12 11:35:09 2012 UTC vs.
Revision 1.25 by eulisse, Wed Jul 4 15:27:25 2012 UTC

# Line 25 | Line 25 | mkdir no-pkg-config
25   chmod +x no-pkg-config/pkg-config
26  
27   %build
28 + export MPLCONFIGDIR=$PWD/no-pkg-config
29   PATH=$PWD/no-pkg-config:$PATH \
30   python setup.py build
31  
32   %install
33   python -c 'import numpy'
34   PATH=$PWD/no-pkg-config:$PATH \
35 + # Notice that the install procedure will try to write in $HOME/.matplotlib by
36 + # default!!! This should work around the problem and have it write config
37 + # in a scratch area.
38 + export MPLCONFIGDIR=$PWD/no-pkg-config
39 +
40   python setup.py install --prefix=%i
41   find %i -name '*.egg-info' -exec rm {} \;
42  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines