Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 201321 | Differences between
and this patch

Collapse All | Expand All

(-)scipy_sandbox-20071020/spkg-install.orig (-13 / +8 lines)
Lines 1-18 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
2
3
##### probably not necessary but just to be safe######
3
##### probably not necessary but just to be safe######
4
if [ `uname` = "Darwin" ]; then
4
# Setting for Gentoo external atlas
5
    unset ATLAS
5
ATLAS="/usr/lib/blas/atlas"
6
    unset BLAS
6
export ATLAS
7
    unset LAPACK
7
BLAS="/usr/lib/blas/atlas"
8
else
8
export BLAS
9
    ATLAS="$SAGE_LOCAL"  
9
LAPACK="/usr/lib/lapack/atlas"
10
    export ATLAS
10
export LAPACK
11
    BLAS="$SAGE_LOCAL"
12
    export BLAS
13
    LAPACK="$SAGE_LOCAL"
14
    export LAPACK
15
fi
16
#####################################################
11
#####################################################
17
12
18
cp ./patches/setup.py.arpack arpack/setup.py
13
cp ./patches/setup.py.arpack arpack/setup.py
Lines 20-26 Link Here
20
cd arpack
15
cd arpack
21
python setup.py install
16
python setup.py install
22
17
23
if [ $? -ne 0 ]; then 
18
if [ $? -ne 0 ]; then
24
    echo "Error building arpack \n"
19
    echo "Error building arpack \n"
25
    exit 1
20
    exit 1
26
fi
21
fi

Return to bug 201321