Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # $OpenBSD: Makefile,v 1.46 2017/01/03 19:23:48 landry Exp $
  2. BROKEN-alpha = numpy/linalg/umath_linalg.c.src:3231: internal compiler error: in extract_insn, at recog.c:2077
  3. COMMENT= fast array and numeric programming library for Python
  4. MODPY_EGG_VERSION= 1.9.2
  5. DISTNAME= numpy-${MODPY_EGG_VERSION}
  6. PKGNAME= py-${DISTNAME}
  7. REVISION= 0
  8. CATEGORIES= math devel
  9. HOMEPAGE= http://numpy.scipy.org/
  10. MAINTAINER= Daniel Dickman <daniel@openbsd.org>
  11. # BSD
  12. PERMIT_PACKAGE_CDROM= Yes
  13. WANTLIB= blas lapack m pthread ${MODFORTRAN_WANTLIB} ${MODPY_WANTLIB}
  14. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=numpy/}
  15. MODULES= lang/python \
  16. fortran
  17. FLAVORS= python3
  18. FLAVOR?=
  19. MODPY_SETUPTOOLS= Yes
  20. MODPY_SETUP= setupegg.py
  21. TEST_DEPENDS= devel/py-nose${MODPY_FLAVOR}
  22. MODFORTRAN_COMPILER = g77
  23. BUILD_DEPENDS = ${MODFORTRAN_BUILD_DEPENDS}
  24. LIB_DEPENDS= math/lapack \
  25. ${MODFORTRAN_LIB_DEPENDS}
  26. pre-build:
  27. cp -f ${WRKSRC}/numpy/distutils/site.cfg ${WRKSRC}/site.cfg
  28. do-test: fake
  29. ${MAKE_ENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} -c \
  30. 'import numpy ; numpy.test()'
  31. .include <bsd.port.mk>