| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.21 2016/08/19 10:54:12 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.22 2017/01/08 10:39:47 maya Exp $ |
2 | | | 2 | |
3 | DISTNAME= scipy-0.18.0 | | 3 | DISTNAME= scipy-0.18.0 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= math python | | 5 | CATEGORIES= math python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/scipy/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=s/scipy/} |
7 | | | 7 | |
8 | MAINTAINER= markd@NetBSD.org | | 8 | MAINTAINER= markd@NetBSD.org |
9 | HOMEPAGE= http://www.scipy.org/ | | 9 | HOMEPAGE= http://www.scipy.org/ |
10 | COMMENT= Scientific Algorithms Library for Python | | 10 | COMMENT= Scientific Algorithms Library for Python |
11 | LICENSE= modified-bsd | | 11 | LICENSE= modified-bsd |
12 | | | 12 | |
13 | USE_LANGUAGES+= c c++ fortran | | 13 | USE_LANGUAGES+= c c++ fortran |
14 | MAKE_ENV+= ATLAS=None | | 14 | MAKE_ENV+= ATLAS=None |
| @@ -98,22 +98,23 @@ fix-darwin-install-name: | | | @@ -98,22 +98,23 @@ fix-darwin-install-name: |
98 | libdir=`dirname $${lib} | sed -e 's,${DESTDIR},,'`; \ | | 98 | libdir=`dirname $${lib} | sed -e 's,${DESTDIR},,'`; \ |
99 | install_name_tool -id $${libdir}/$${libname} $${lib}; \ | | 99 | install_name_tool -id $${libdir}/$${libname} $${lib}; \ |
100 | done | | 100 | done |
101 | .endif | | 101 | .endif |
102 | | | 102 | |
103 | # TEST_DEPENDS | | 103 | # TEST_DEPENDS |
104 | BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose | | 104 | BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose |
105 | | | 105 | |
106 | # support files for tests missing in 0.18.0 on pypi | | 106 | # support files for tests missing in 0.18.0 on pypi |
107 | # https://github.com/scipy/scipy/issues/6498 | | 107 | # https://github.com/scipy/scipy/issues/6498 |
108 | # self test failures reported at | | 108 | # self test failures reported at |
109 | # https://github.com/scipy/scipy/issues/6499 | | 109 | # https://github.com/scipy/scipy/issues/6499 |
110 | do-test: | | 110 | do-test: |
111 | cd ${WRKSRC} && ${PYTHONBIN} runtests.py -v | | 111 | ${PYTHONBIN} -c "import scipy; scipy.test('full')" |
| | | 112 | # cd ${WRKSRC} && ${PYTHONBIN} runtests.py -v |
112 | | | 113 | |
113 | .include "../../lang/python/application.mk" | | 114 | .include "../../lang/python/application.mk" |
114 | .include "../../lang/python/distutils.mk" | | 115 | .include "../../lang/python/distutils.mk" |
115 | .include "../../devel/py-cython/buildlink3.mk" | | 116 | .include "../../devel/py-cython/buildlink3.mk" |
116 | .include "../../math/fftw/buildlink3.mk" | | 117 | .include "../../math/fftw/buildlink3.mk" |
117 | BUILDLINK_API_DEPENDS.py-numpy+= ${PYPKGPREFIX}-numpy>=1.7.1 | | 118 | BUILDLINK_API_DEPENDS.py-numpy+= ${PYPKGPREFIX}-numpy>=1.7.1 |
118 | .include "../../math/py-numpy/buildlink3.mk" | | 119 | .include "../../math/py-numpy/buildlink3.mk" |
119 | .include "../../mk/bsd.pkg.mk" | | 120 | .include "../../mk/bsd.pkg.mk" |