update to scipy 1.10.1

master
daniel 2023-09-07 21:44:16 +00:00
parent 3164f70576
commit 5dce782a67
4 changed files with 587 additions and 166 deletions

View File

@ -1,6 +1,6 @@
COMMENT= maths, science and engineering modules for Python
MODPY_EGG_VERSION= 1.7.3
MODPY_EGG_VERSION= 1.10.1
DISTNAME= scipy-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
@ -37,10 +37,14 @@ LIB_DEPENDS= ${MODFORTRAN_LIB_DEPENDS} \
math/cblas \
math/lapack
RUN_DEPENDS= math/py-numpy${MODPY_FLAVOR}>=1.16.5 \
RUN_DEPENDS= math/py-numpy${MODPY_FLAVOR}>=1.19.5 \
devel/swig
TEST_DEPENDS= devel/py-test${MODPY_FLAVOR}
# XXX: requires py-pooch
NO_TEST= Yes
# TEST_DEPENDS= devel/py-test${MODPY_FLAVOR} \
# devel/py-pooch${MODPY_FLAVOR}
MAKE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
MAKE_ENV+= LDFLAGS="-shared -L${LOCALBASE}/lib -pthread -lutil"
@ -48,6 +52,8 @@ MAKE_ENV+= LDFLAGS="-shared -L${LOCALBASE}/lib -pthread -lutil"
post-install:
${MODPY_BIN} -m compileall ${WRKINST}/${MODPY_SITEPKG}/scipy
PORTHOME= ${WRKDIR}
do-test: fake
cd ${WRKDIR} && ${MAKE_ENV} PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
${MODPY_BIN} -c 'import scipy ; scipy.test("full")'

View File

@ -1,2 +1,2 @@
SHA256 (scipy-1.7.3.tar.gz) = q1h1+s/e934KR9X9OeoXi1jmDkVKTIWqHlL8uA23ur8=
SIZE (scipy-1.7.3.tar.gz) = 36102562
SHA256 (scipy-1.10.1.tar.gz) = LPnfuAp7RYm6TEDOdYiYbW1c68VFfK0sKID2vC1C86U=
SIZE (scipy-1.10.1.tar.gz) = 42407997

View File

@ -4,7 +4,7 @@ https://github.com/numpy/numpy/pull/5020
Index: scipy/special/tests/test_basic.py
--- scipy/special/tests/test_basic.py.orig
+++ scipy/special/tests/test_basic.py
@@ -3301,7 +3301,8 @@ def test_xlog1py():
@@ -3538,7 +3538,8 @@ def test_xlog1py():
if x == 0 and not np.isnan(y):
return x
else:

File diff suppressed because it is too large Load Diff