2015-01-14 21:55:22 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.43 2015/01/15 02:55:22 daniel Exp $
|
|
|
|
|
|
|
|
BROKEN-alpha = numpy/linalg/umath_linalg.c.src:3231: internal compiler error: in extract_insn, at recog.c:2077
|
2006-06-25 20:45:37 -04:00
|
|
|
|
2009-01-19 02:11:42 -05:00
|
|
|
COMMENT= fast array and numeric programming library for Python
|
2006-06-25 20:45:37 -04:00
|
|
|
|
2014-09-16 20:46:13 -04:00
|
|
|
MODPY_EGG_VERSION= 1.8.2
|
2015-01-14 21:55:22 -05:00
|
|
|
REVISION= 1
|
2009-01-19 02:11:42 -05:00
|
|
|
DISTNAME= numpy-${MODPY_EGG_VERSION}
|
2010-07-18 06:50:11 -04:00
|
|
|
PKGNAME= py-${DISTNAME}
|
2014-09-16 20:46:13 -04:00
|
|
|
|
2009-01-19 02:11:42 -05:00
|
|
|
CATEGORIES= math devel
|
2006-06-25 20:45:37 -04:00
|
|
|
|
2009-09-28 11:15:37 -04:00
|
|
|
HOMEPAGE= http://numpy.scipy.org/
|
2009-01-19 02:11:42 -05:00
|
|
|
|
2014-09-16 20:46:13 -04:00
|
|
|
MAINTAINER= Daniel Dickman <daniel@openbsd.org>
|
|
|
|
|
2006-06-25 20:45:37 -04:00
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
2010-01-17 14:45:47 -05:00
|
|
|
|
2015-01-14 21:55:22 -05:00
|
|
|
WANTLIB= blas lapack m pthread ${MODFORTRAN_WANTLIB} ${MODPY_WANTLIB}
|
2006-06-25 20:45:37 -04:00
|
|
|
|
2009-01-19 02:11:42 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/}
|
2006-06-25 20:45:37 -04:00
|
|
|
|
2010-05-23 06:25:55 -04:00
|
|
|
MODULES= lang/python \
|
|
|
|
fortran
|
|
|
|
|
2014-09-16 20:46:13 -04:00
|
|
|
FLAVORS= python3
|
|
|
|
FLAVOR?=
|
|
|
|
|
2009-01-19 02:11:42 -05:00
|
|
|
MODPY_SETUPTOOLS= Yes
|
2009-01-22 14:23:10 -05:00
|
|
|
MODPY_SETUP= setupegg.py
|
2006-06-25 20:45:37 -04:00
|
|
|
|
2014-09-16 20:46:13 -04:00
|
|
|
TEST_DEPENDS= devel/py-nose${MODPY_FLAVOR}
|
2009-01-27 16:12:02 -05:00
|
|
|
|
2010-10-23 11:09:57 -04:00
|
|
|
MODFORTRAN_COMPILER = g77
|
2010-05-23 06:25:55 -04:00
|
|
|
|
|
|
|
BUILD_DEPENDS = ${MODFORTRAN_BUILD_DEPENDS}
|
2010-11-22 04:30:38 -05:00
|
|
|
LIB_DEPENDS= math/lapack \
|
2010-05-23 06:25:55 -04:00
|
|
|
${MODFORTRAN_LIB_DEPENDS}
|
2009-02-16 05:10:09 -05:00
|
|
|
|
2007-08-07 01:25:58 -04:00
|
|
|
pre-build:
|
|
|
|
cp -f ${WRKSRC}/numpy/distutils/site.cfg ${WRKSRC}/site.cfg
|
|
|
|
|
2013-03-11 07:20:26 -04:00
|
|
|
do-test: fake
|
2006-06-25 20:45:37 -04:00
|
|
|
${MAKE_ENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} -c \
|
2009-10-14 14:44:04 -04:00
|
|
|
'import numpy ; numpy.test()'
|
2006-06-25 20:45:37 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|