6595e9e1c1
I have only waited a short while for djm (maintainer)'s ok, commiting anyway as it takes out a lot of the tree on !{i386,amd64}. Fix the regression tests while there. ok jasper@.
41 lines
933 B
Makefile
41 lines
933 B
Makefile
# $OpenBSD: Makefile,v 1.18 2009/10/14 18:44:04 sthen Exp $
|
|
|
|
COMMENT= fast array and numeric programming library for Python
|
|
|
|
MODPY_EGG_VERSION= 1.3.0
|
|
DISTNAME= numpy-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-${DISTNAME}p1
|
|
CATEGORIES= math devel
|
|
|
|
HOMEPAGE= http://numpy.scipy.org/
|
|
|
|
MAINTAINER= Damien Miller <djm@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= blas m g2c
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/}
|
|
|
|
MODULES= lang/python
|
|
MODPY_SETUPTOOLS= Yes
|
|
MODPY_SETUP= setupegg.py
|
|
|
|
REGRESS_DEPENDS= ::devel/py-nose
|
|
|
|
LIB_DEPENDS= lapack::math/lapack
|
|
|
|
|
|
pre-build:
|
|
cp -f ${WRKSRC}/numpy/distutils/site.cfg ${WRKSRC}/site.cfg
|
|
rm ${WRKSRC}/numpy/core/include/numpy/mingw_amd64_fenv.h
|
|
|
|
do-regress: fake
|
|
${MAKE_ENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} -c \
|
|
'import numpy ; numpy.test()'
|
|
|
|
.include <bsd.port.mk>
|