blob: 337f6c23587215f9f3c50002aeec1003b35ef812 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
# $NetBSD: Makefile,v 1.12 2013/04/14 00:28:53 markd Exp $
DISTNAME= scipy-0.12.0
PKGNAME= ${PYPKGPREFIX}-scipy-0.12.0
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scipy/}
MAINTAINER= markd@NetBSD.org
HOMEPAGE= http://www.scipy.org/
COMMENT= Scientific Algorithms Library for Python
LICENSE= modified-bsd
PYDISTUTILSPKG= yes
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
USE_LANGUAGES+= c c++ fortran
PYTHON_VERSIONS_INCLUDE_3X= yes
MAKE_ENV+= ATLAS=None
# XXX Avoid picking up other compilers when installed
.include "../../mk/compiler.mk"
.if defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mg95)
PYSETUPBUILDARGS+= --fcompiler=g95
.elif defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mgfortran)
PYSETUPBUILDARGS+= --fcompiler=gnu95
.else
BROKEN= Requires fortran 95
.endif
CPPFLAGS+= -D__STDC_FORMAT_MACROS
FFLAGS+= -fPIC
REPLACE_PYTHON+= scipy/cluster/setup.py
REPLACE_PYTHON+= scipy/cluster/setupscons.py
REPLACE_PYTHON+= scipy/cluster/tests/test_hierarchy.py
REPLACE_PYTHON+= scipy/cluster/tests/test_vq.py
REPLACE_PYTHON+= scipy/fftpack/setup.py
REPLACE_PYTHON+= scipy/fftpack/setupscons.py
REPLACE_PYTHON+= scipy/fftpack/tests/test_basic.py
REPLACE_PYTHON+= scipy/fftpack/tests/test_helper.py
REPLACE_PYTHON+= scipy/fftpack/tests/test_pseudo_diffs.py
REPLACE_PYTHON+= scipy/fftpack/tests/test_real_transforms.py
REPLACE_PYTHON+= scipy/integrate/setup.py
REPLACE_PYTHON+= scipy/integrate/setupscons.py
REPLACE_PYTHON+= scipy/interpolate/fitpack.py
REPLACE_PYTHON+= scipy/interpolate/setup.py
REPLACE_PYTHON+= scipy/interpolate/setupscons.py
REPLACE_PYTHON+= scipy/interpolate/tests/test_fitpack.py
REPLACE_PYTHON+= scipy/interpolate/tests/test_fitpack2.py
REPLACE_PYTHON+= scipy/interpolate/tests/test_rbf.py
REPLACE_PYTHON+= scipy/io/arff/arffread.py
REPLACE_PYTHON+= scipy/io/arff/setup.py
REPLACE_PYTHON+= scipy/io/arff/tests/test_arffread.py
REPLACE_PYTHON+= scipy/io/arff/utils.py
REPLACE_PYTHON+= scipy/io/harwell_boeing/setup.py
REPLACE_PYTHON+= scipy/io/harwell_boeing/setupscons.py
REPLACE_PYTHON+= scipy/io/matlab/setup.py
REPLACE_PYTHON+= scipy/io/matlab/setupscons.py
REPLACE_PYTHON+= scipy/io/matlab/tests/test_mio.py
REPLACE_PYTHON+= scipy/io/matlab/tests/test_mio_funcs.py
REPLACE_PYTHON+= scipy/io/setup.py
REPLACE_PYTHON+= scipy/io/setupscons.py
REPLACE_PYTHON+= scipy/io/tests/test_mmio.py
REPLACE_PYTHON+= scipy/lib/blas/setup.py
REPLACE_PYTHON+= scipy/lib/blas/setupscons.py
REPLACE_PYTHON+= scipy/lib/blas/tests/test_blas.py
REPLACE_PYTHON+= scipy/lib/lapack/setup.py
REPLACE_PYTHON+= scipy/lib/lapack/setupscons.py
REPLACE_PYTHON+= scipy/lib/lapack/tests/test_lapack.py
REPLACE_PYTHON+= scipy/lib/setup.py
REPLACE_PYTHON+= scipy/lib/setupscons.py
REPLACE_PYTHON+= scipy/linalg/setup.py
REPLACE_PYTHON+= scipy/linalg/setupscons.py
REPLACE_PYTHON+= scipy/linalg/tests/test_basic.py
REPLACE_PYTHON+= scipy/linalg/tests/test_blas.py
REPLACE_PYTHON+= scipy/linalg/tests/test_decomp.py
REPLACE_PYTHON+= scipy/linalg/tests/test_lapack.py
REPLACE_PYTHON+= scipy/linalg/tests/test_matfuncs.py
REPLACE_PYTHON+= scipy/odr/setup.py
REPLACE_PYTHON+= scipy/odr/setupscons.py
REPLACE_PYTHON+= scipy/optimize/setup.py
REPLACE_PYTHON+= scipy/optimize/setupscons.py
REPLACE_PYTHON+= scipy/optimize/tests/test_zeros.py
REPLACE_PYTHON+= scipy/signal/setup.py
REPLACE_PYTHON+= scipy/signal/setupscons.py
REPLACE_PYTHON+= scipy/sparse/csgraph/setupscons.py
REPLACE_PYTHON+= scipy/sparse/linalg/dsolve/setup.py
REPLACE_PYTHON+= scipy/sparse/linalg/dsolve/setupscons.py
REPLACE_PYTHON+= scipy/sparse/linalg/dsolve/umfpack/setup.py
REPLACE_PYTHON+= scipy/sparse/linalg/dsolve/umfpack/setupscons.py
REPLACE_PYTHON+= scipy/sparse/linalg/dsolve/umfpack/tests/test_umfpack.py
REPLACE_PYTHON+= scipy/sparse/linalg/dsolve/umfpack/tests/try_umfpack.py
REPLACE_PYTHON+= scipy/sparse/linalg/eigen/arpack/setup.py
REPLACE_PYTHON+= scipy/sparse/linalg/eigen/arpack/setupscons.py
REPLACE_PYTHON+= scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py
REPLACE_PYTHON+= scipy/sparse/linalg/eigen/lobpcg/setup.py
REPLACE_PYTHON+= scipy/sparse/linalg/eigen/lobpcg/setupscons.py
REPLACE_PYTHON+= scipy/sparse/linalg/eigen/lobpcg/tests/test_lobpcg.py
REPLACE_PYTHON+= scipy/sparse/linalg/eigen/setup.py
REPLACE_PYTHON+= scipy/sparse/linalg/eigen/setupscons.py
REPLACE_PYTHON+= scipy/sparse/linalg/isolve/setup.py
REPLACE_PYTHON+= scipy/sparse/linalg/isolve/setupscons.py
REPLACE_PYTHON+= scipy/sparse/linalg/isolve/tests/test_iterative.py
REPLACE_PYTHON+= scipy/sparse/linalg/isolve/tests/test_lgmres.py
REPLACE_PYTHON+= scipy/sparse/linalg/setup.py
REPLACE_PYTHON+= scipy/sparse/linalg/setupscons.py
REPLACE_PYTHON+= scipy/sparse/linalg/tests/test_matfuncs.py
REPLACE_PYTHON+= scipy/sparse/setup.py
REPLACE_PYTHON+= scipy/sparse/setupscons.py
REPLACE_PYTHON+= scipy/sparse/sparsetools/setup.py
REPLACE_PYTHON+= scipy/sparse/sparsetools/setupscons.py
REPLACE_PYTHON+= scipy/spatial/setup.py
REPLACE_PYTHON+= scipy/spatial/setupscons.py
REPLACE_PYTHON+= scipy/spatial/tests/test_distance.py
REPLACE_PYTHON+= scipy/special/generate_ufuncs.py
REPLACE_PYTHON+= scipy/special/setup.py
REPLACE_PYTHON+= scipy/special/setupscons.py
REPLACE_PYTHON+= scipy/special/spfun_stats.py
REPLACE_PYTHON+= scipy/stats/setup.py
REPLACE_PYTHON+= scipy/stats/setupscons.py
REPLACE_PYTHON+= scipy/weave/setup.py
REPLACE_PYTHON+= scipy/weave/setupscons.py
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|