2014-02-12 13:53:56 +01:00
|
|
|
# $NetBSD: Makefile,v 1.15 2014/02/12 12:53:56 obache Exp $
|
2008-12-19 23:14:28 +01:00
|
|
|
|
2013-10-16 21:35:40 +02:00
|
|
|
DISTNAME= scipy-0.12.1
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-scipy-0.12.1
|
2014-02-12 13:53:56 +01:00
|
|
|
PKGREVISION= 1
|
2008-12-19 23:14:28 +01:00
|
|
|
CATEGORIES= math python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scipy/}
|
|
|
|
|
|
|
|
MAINTAINER= markd@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.scipy.org/
|
|
|
|
COMMENT= Scientific Algorithms Library for Python
|
2010-02-21 16:13:42 +01:00
|
|
|
LICENSE= modified-bsd
|
2008-12-19 23:14:28 +01:00
|
|
|
|
|
|
|
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
|
|
|
|
USE_LANGUAGES+= c c++ fortran
|
|
|
|
MAKE_ENV+= ATLAS=None
|
|
|
|
|
2010-06-06 04:37:08 +02:00
|
|
|
# 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
|
|
|
|
|
2011-12-22 17:32:04 +01:00
|
|
|
CPPFLAGS+= -D__STDC_FORMAT_MACROS
|
2012-08-14 22:20:55 +02:00
|
|
|
FFLAGS+= -fPIC
|
2011-12-22 17:32:04 +01:00
|
|
|
|
2012-10-16 10:00:27 +02:00
|
|
|
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
|
2013-04-14 02:28:53 +02:00
|
|
|
REPLACE_PYTHON+= scipy/fftpack/tests/test_real_transforms.py
|
2012-10-16 10:00:27 +02:00
|
|
|
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
|
2013-04-14 02:28:53 +02:00
|
|
|
REPLACE_PYTHON+= scipy/interpolate/tests/test_fitpack2.py
|
2012-10-16 10:00:27 +02:00
|
|
|
REPLACE_PYTHON+= scipy/interpolate/tests/test_rbf.py
|
|
|
|
REPLACE_PYTHON+= scipy/io/arff/arffread.py
|
|
|
|
REPLACE_PYTHON+= scipy/io/arff/setup.py
|
2013-04-14 02:28:53 +02:00
|
|
|
REPLACE_PYTHON+= scipy/io/arff/tests/test_arffread.py
|
2012-10-16 10:00:27 +02:00
|
|
|
REPLACE_PYTHON+= scipy/io/arff/utils.py
|
2013-04-14 02:28:53 +02:00
|
|
|
REPLACE_PYTHON+= scipy/io/harwell_boeing/setup.py
|
|
|
|
REPLACE_PYTHON+= scipy/io/harwell_boeing/setupscons.py
|
2012-10-16 10:00:27 +02:00
|
|
|
REPLACE_PYTHON+= scipy/io/matlab/setup.py
|
2013-04-14 02:28:53 +02:00
|
|
|
REPLACE_PYTHON+= scipy/io/matlab/setupscons.py
|
2012-10-16 10:00:27 +02:00
|
|
|
REPLACE_PYTHON+= scipy/io/matlab/tests/test_mio.py
|
2013-04-14 02:28:53 +02:00
|
|
|
REPLACE_PYTHON+= scipy/io/matlab/tests/test_mio_funcs.py
|
2012-10-16 10:00:27 +02:00
|
|
|
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
|
2013-04-14 02:28:53 +02:00
|
|
|
REPLACE_PYTHON+= scipy/linalg/setup.py
|
2012-10-16 10:00:27 +02:00
|
|
|
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
|
2013-04-14 02:28:53 +02:00
|
|
|
REPLACE_PYTHON+= scipy/sparse/csgraph/setupscons.py
|
2012-10-16 10:00:27 +02:00
|
|
|
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
|
2013-04-14 02:28:53 +02:00
|
|
|
REPLACE_PYTHON+= scipy/sparse/linalg/isolve/tests/test_lgmres.py
|
2012-10-16 10:00:27 +02:00
|
|
|
REPLACE_PYTHON+= scipy/sparse/linalg/setup.py
|
|
|
|
REPLACE_PYTHON+= scipy/sparse/linalg/setupscons.py
|
2013-04-14 02:28:53 +02:00
|
|
|
REPLACE_PYTHON+= scipy/sparse/linalg/tests/test_matfuncs.py
|
2012-10-16 10:00:27 +02:00
|
|
|
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
|
2013-04-14 02:28:53 +02:00
|
|
|
REPLACE_PYTHON+= scipy/special/generate_ufuncs.py
|
2012-10-16 10:00:27 +02:00
|
|
|
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"
|
2014-02-12 13:53:56 +01:00
|
|
|
.include "../../lang/python/distutils.mk"
|
2008-12-19 23:14:28 +01:00
|
|
|
.include "../../math/fftw/buildlink3.mk"
|
|
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|