openbsd-ports/math/py-numpy/Makefile

50 lines
1.1 KiB
Makefile
Raw Normal View History

# $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
COMMENT= fast array and numeric programming library for Python
MODPY_EGG_VERSION= 1.8.2
REVISION= 1
DISTNAME= numpy-${MODPY_EGG_VERSION}
2010-07-18 06:50:11 -04:00
PKGNAME= py-${DISTNAME}
CATEGORIES= math devel
HOMEPAGE= http://numpy.scipy.org/
MAINTAINER= Daniel Dickman <daniel@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= blas lapack m pthread ${MODFORTRAN_WANTLIB} ${MODPY_WANTLIB}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/}
2010-05-23 06:25:55 -04:00
MODULES= lang/python \
fortran
FLAVORS= python3
FLAVOR?=
MODPY_SETUPTOOLS= Yes
MODPY_SETUP= setupegg.py
TEST_DEPENDS= devel/py-nose${MODPY_FLAVOR}
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
pre-build:
cp -f ${WRKSRC}/numpy/distutils/site.cfg ${WRKSRC}/site.cfg
2013-03-11 07:20:26 -04:00
do-test: fake
${MAKE_ENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} -c \
'import numpy ; numpy.test()'
.include <bsd.port.mk>