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-20071020-0.6.p3/spkg-install.orig (-16 / +10 lines)
Lines 10-28 Link Here
10
10
11
unset CFLAGS LDFLAGS CXXFLAGS SHAREDFLAGS
11
unset CFLAGS LDFLAGS CXXFLAGS SHAREDFLAGS
12
12
13
if [ `uname` = "Darwin" ]; then
13
# Settings for Gentoo external atlas
14
    unset ATLAS
14
ATLAS="/usr/lib/blas/atlas"
15
    unset BLAS
15
export ATLAS
16
    unset LAPACK
16
BLAS="/usr/lib/blas/atlas"
17
else
17
export BLAS
18
    ATLAS="$SAGE_LOCAL"  
18
LAPACK="/usr/lib/lapack/atlas"
19
    export ATLAS
19
export LAPACK
20
    BLAS="$SAGE_LOCAL"
21
    export BLAS
22
    LAPACK="$SAGE_LOCAL"
23
    export LAPACK
24
fi
25
26
20
27
# This avoid problems on some systems -- until we officially
21
# This avoid problems on some systems -- until we officially
28
# support umfpack (which we will likely do, since cvxopt
22
# support umfpack (which we will likely do, since cvxopt
Lines 39-47 Link Here
39
if [ $? -ne 0 ]; then
33
if [ $? -ne 0 ]; then
40
    echo "Error patching setup.py"
34
    echo "Error patching setup.py"
41
    exit 1
35
    exit 1
42
fi 
36
fi
43
37
44
# Build 
38
# Build
45
python setup.py build
39
python setup.py build
46
if [ $? -ne 0 ]; then
40
if [ $? -ne 0 ]; then
47
    echo "Error building scipy."
41
    echo "Error building scipy."
Lines 49-55 Link Here
49
fi
43
fi
50
44
51
# Intall
45
# Intall
52
python setup.py install
46
python setup.py install --prefix=$SAGE_LOCAL
53
if [ $? -ne 0 ]; then
47
if [ $? -ne 0 ]; then
54
    echo "Error installing scipy."
48
    echo "Error installing scipy."
55
    exit 1
49
    exit 1

Return to bug 201321