40 lines
888 B
Makefile
40 lines
888 B
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2009/02/16 14:42:37 eric Exp $
|
||
|
|
||
|
COMMENT= maths, science and engineering modules for Python
|
||
|
|
||
|
MODPY_EGG_VERSION= 0.7.0
|
||
|
DISTNAME= scipy-${MODPY_EGG_VERSION}
|
||
|
PKGNAME= py-${DISTNAME}
|
||
|
CATEGORIES= math devel
|
||
|
|
||
|
MAINTAINER= Eric Faurot <eric@openbsd.org>
|
||
|
|
||
|
# BSD
|
||
|
PERMIT_PACKAGE_CDROM= Yes
|
||
|
PERMIT_PACKAGE_FTP= Yes
|
||
|
PERMIT_DISTFILES_CDROM= Yes
|
||
|
PERMIT_DISTFILES_FTP= Yes
|
||
|
|
||
|
WANTLIB= blas g2c lapack m
|
||
|
|
||
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scipy/}
|
||
|
HOMEPAGE= http://numeric.scipy.org/
|
||
|
|
||
|
MODULES= lang/python
|
||
|
MODPY_SETUPTOOLS= Yes
|
||
|
MODPY_SETUP= setupegg.py
|
||
|
|
||
|
BUILD_DEPENDS= ::math/py-numpy
|
||
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||
|
|
||
|
REGRESS_DEPENDS= ::devel/py-nose
|
||
|
|
||
|
MAKE_ENV+= LDSHARED="${CC} -shared -fPIC"
|
||
|
|
||
|
do-regress: fake
|
||
|
${MAKE_ENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} -c \
|
||
|
'import scipy ; scipy.test("full")'
|
||
|
|
||
|
|
||
|
.include <bsd.port.mk>
|