Sun Jan 8 10:39:47 2017 UTC ()
scipy: correct the test target. this is a temporary workaround, upstream
will likely fix it so the previous target works - it is mentioned in their
documentation. (scipy issue #6498)


(maya)
diff -r1.21 -r1.22 pkgsrc/math/py-scipy/Makefile

cvs diff -r1.21 -r1.22 pkgsrc/math/py-scipy/Makefile (expand / switch to unified diff)

--- pkgsrc/math/py-scipy/Makefile 2016/08/19 10:54:12 1.21
+++ pkgsrc/math/py-scipy/Makefile 2017/01/08 10:39:47 1.22
@@ -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
3DISTNAME= scipy-0.18.0 3DISTNAME= scipy-0.18.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= math python 5CATEGORIES= math python
6MASTER_SITES= ${MASTER_SITE_PYPI:=s/scipy/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=s/scipy/}
7 7
8MAINTAINER= markd@NetBSD.org 8MAINTAINER= markd@NetBSD.org
9HOMEPAGE= http://www.scipy.org/ 9HOMEPAGE= http://www.scipy.org/
10COMMENT= Scientific Algorithms Library for Python 10COMMENT= Scientific Algorithms Library for Python
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13USE_LANGUAGES+= c c++ fortran 13USE_LANGUAGES+= c c++ fortran
14MAKE_ENV+= ATLAS=None 14MAKE_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
104BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose 104BUILD_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
110do-test: 110do-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"
117BUILDLINK_API_DEPENDS.py-numpy+= ${PYPKGPREFIX}-numpy>=1.7.1 118BUILDLINK_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"