blob: 8472a057ac4cb8d22d9c90ef63025342e986e747 (
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
|
# $NetBSD: Makefile,v 1.7 2009/12/03 13:06:55 asau Exp $
#
DISTNAME= numpy-1.3.0
PKGNAME= ${PYPKGPREFIX}-numpy-1.3.0
PKGREVISION= 2
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://numpy.scipy.org/
COMMENT= Array processing for numbers, strings, records, and objects
PKG_DESTDIR_SUPPORT= user-destdir
PYDISTUTILSPKG= yes
USE_LANGUAGES+= c fortran
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
MAKE_ENV+= ATLAS=None
REPLACE_PYTHON+= numpy/core/scons_support.py
REPLACE_PYTHON+= numpy/distutils/from_template.py
REPLACE_PYTHON+= numpy/distutils/system_info.py
REPLACE_PYTHON+= numpy/ma/bench.py
REPLACE_PYTHON+= numpy/distutils/conv_template.py
# XXX Avoid picking up other compilers when installed
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mgcc)
PYSETUPBUILDARGS+= --fcompiler=gnu
.endif
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../math/blas/buildlink3.mk"
.include "../../math/lapack/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|