2009-10-14 14:44:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.18 2009/10/14 18:44:04 sthen Exp $
|
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
|
|
|
|
2009-09-28 11:15:37 -04:00
|
|
|
MODPY_EGG_VERSION= 1.3.0
|
2009-01-19 02:11:42 -05:00
|
|
|
DISTNAME= numpy-${MODPY_EGG_VERSION}
|
2009-10-14 14:44:04 -04:00
|
|
|
PKGNAME= py-${DISTNAME}p1
|
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
|
|
|
|
|
|
|
MAINTAINER= Damien Miller <djm@openbsd.org>
|
2006-06-25 20:45:37 -04:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-02-16 05:10:09 -05:00
|
|
|
WANTLIB= blas m g2c
|
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
|
|
|
|
2009-01-19 02:11:42 -05:00
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
2009-01-22 14:23:10 -05:00
|
|
|
MODPY_SETUP= setupegg.py
|
2006-06-25 20:45:37 -04:00
|
|
|
|
2009-01-27 16:12:02 -05:00
|
|
|
REGRESS_DEPENDS= ::devel/py-nose
|
|
|
|
|
2009-02-16 05:10:09 -05:00
|
|
|
LIB_DEPENDS= lapack::math/lapack
|
|
|
|
|
|
|
|
|
2007-08-07 01:25:58 -04:00
|
|
|
pre-build:
|
|
|
|
cp -f ${WRKSRC}/numpy/distutils/site.cfg ${WRKSRC}/site.cfg
|
2009-09-30 07:51:30 -04:00
|
|
|
rm ${WRKSRC}/numpy/core/include/numpy/mingw_amd64_fenv.h
|
2007-08-07 01:25:58 -04:00
|
|
|
|
2006-06-25 20:45:37 -04:00
|
|
|
do-regress: fake
|
|
|
|
${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>
|