2008-07-30 13:49:32 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2008/07/30 17:49:32 martynas Exp $
|
2006-06-25 20:45:37 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2007-09-15 14:44:36 -04:00
|
|
|
COMMENT= fast array and numeric programming library for Python
|
2006-06-25 20:45:37 -04:00
|
|
|
|
2007-11-16 06:42:25 -05:00
|
|
|
DISTNAME= numpy-1.0.4
|
2008-07-30 13:49:32 -04:00
|
|
|
PKGNAME= py-${DISTNAME}p0
|
2006-06-25 20:45:37 -04:00
|
|
|
CATEGORIES= math devel
|
|
|
|
|
|
|
|
MAINTAINER= Damien Miller <djm@openbsd.org>
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= m
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/}
|
|
|
|
HOMEPAGE= http://numeric.scipy.org/
|
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
2007-08-07 01:25:58 -04:00
|
|
|
pre-build:
|
|
|
|
cp -f ${WRKSRC}/numpy/distutils/site.cfg ${WRKSRC}/site.cfg
|
|
|
|
|
2006-06-25 20:45:37 -04:00
|
|
|
do-regress: fake
|
|
|
|
${MAKE_ENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} -c \
|
2007-09-05 04:43:49 -04:00
|
|
|
'import numpy ; numpy.testing.NumpyTest(numpy).test(10)'
|
2006-06-25 20:45:37 -04:00
|
|
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|