pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-scipy
Module Name: pkgsrc
Committed By: adam
Date: Wed Jul 31 18:15:38 UTC 2024
Modified Files:
pkgsrc/math/py-scipy: Makefile PLIST distinfo
pkgsrc/math/py-scipy/patches: patch-scipy_special_special_amos_amos.h
patch-scipy_special_special_specfun.h
patch-scipy_special_stirling2.h
Added Files:
pkgsrc/math/py-scipy/patches:
patch-scipy_special_boost__special__functions.h
patch-scipy_special_meson.build
patch-scipy_special_special_specfun_specfun.h
Log Message:
py-scipy: updated to 1.14.0
SciPy 1.14.0 is the culmination of 3 months of hard work. It contains
many new features, numerous bug-fixes, improved test coverage and better
documentation. There have been a number of deprecations and API changes
in this release, which are documented below. All users are encouraged to
upgrade to this release, as there are a large number of bug-fixes and
optimizations. Before upgrading, we recommend that users check that
their own code does not use deprecated SciPy functionality (to do so,
run your code with python -Wd and check for DeprecationWarning s).
Our development attention will now shift to bug-fix releases on the
1.14.x branch, and on adding new features on the main branch.
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 pkgsrc/math/py-scipy/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/math/py-scipy/PLIST
cvs rdiff -u -r1.52 -r1.53 pkgsrc/math/py-scipy/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/math/py-scipy/patches/patch-scipy_special_boost__special__functions.h \
pkgsrc/math/py-scipy/patches/patch-scipy_special_meson.build \
pkgsrc/math/py-scipy/patches/patch-scipy_special_special_specfun_specfun.h
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/math/py-scipy/patches/patch-scipy_special_special_amos_amos.h \
pkgsrc/math/py-scipy/patches/patch-scipy_special_special_specfun.h \
pkgsrc/math/py-scipy/patches/patch-scipy_special_stirling2.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/py-scipy/Makefile
diff -u pkgsrc/math/py-scipy/Makefile:1.82 pkgsrc/math/py-scipy/Makefile:1.83
--- pkgsrc/math/py-scipy/Makefile:1.82 Wed Jun 12 08:57:43 2024
+++ pkgsrc/math/py-scipy/Makefile Wed Jul 31 18:15:38 2024
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.82 2024/06/12 08:57:43 adam Exp $
+# $NetBSD: Makefile,v 1.83 2024/07/31 18:15:38 adam Exp $
-DISTNAME= scipy-1.13.1
+DISTNAME= scipy-1.14.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/scipy/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= https://www.scipy.org/
+HOMEPAGE= https://scipy.org/
COMMENT= Scientific Algorithms Library for Python
LICENSE= modified-bsd
@@ -31,6 +31,14 @@ USE_TOOLS+= pkg-config
MAKE_ENV+= ATLAS=None
GCC_REQD+= 8
+SUBST_CLASSES+= f2py
+SUBST_STAGE.f2py= pre-configure
+SUBST_MESSAGE.f2py= Fixing f2py binary name.
+SUBST_FILES.f2py= scipy/meson.build
+SUBST_FILES.f2py+= tools/generate_f2pymod.py
+SUBST_SED.f2py= -e "s,('f2py'),('f2py-${PYVERSSUFFIX}'),"
+SUBST_SED.f2py+= -e "s,\['f2py',\['f2py-${PYVERSSUFFIX}',"
+
SUBST_CLASSES+= pythran
SUBST_STAGE.pythran= pre-configure
SUBST_MESSAGE.pythran= Fixing pythran binary name.
@@ -65,7 +73,7 @@ WHEEL_ARGS+= -Csetup-args=-Dblas=${BLAS
WHEEL_ARGS+= -Csetup-args=-Dlapack=${LAPACK_PC}
WHEEL_ARGS+= -Ccompile-args=-j${MAKE_JOBS:U1}
-PYTHON_VERSIONS_INCOMPATIBLE= 27 38
+PYTHON_VERSIONS_INCOMPATIBLE= 27 38 39
.include "../../mk/bsd.prefs.mk"
@@ -73,11 +81,11 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27 38
.PHONY: fix-darwin-install-name
post-install: fix-darwin-install-name
fix-darwin-install-name:
- ${FIND} ${DESTDIR}${PREFIX} -name "*.so" | \
- while read lib; do \
- libname=`basename $${lib}`; \
- libdir=`dirname $${lib} | sed -e 's,${DESTDIR},,'`; \
- install_name_tool -id $${libdir}/$${libname} $${lib}; \
+ ${FIND} ${DESTDIR}${PREFIX}/${PYSITELIB} -name "*.so" | \
+ while read lib; do \
+ libname=`basename $${lib}`; \
+ libdir=`dirname $${lib} | sed -e 's,${DESTDIR},,'`; \
+ install_name_tool -id $${libdir}/$${libname} $${lib}; \
done
.endif
@@ -94,7 +102,7 @@ do-test:
.include "../../lang/python/wheel.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../mk/blas.buildlink3.mk"
-BUILDLINK_API_DEPENDS.py-numpy+= ${PYPKGPREFIX}-numpy>=1.22.4
+BUILDLINK_API_DEPENDS.py-numpy+= ${PYPKGPREFIX}-numpy>=1.23.5
.include "../../math/py-numpy/buildlink3.mk"
.include "../../math/py-pythran/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/py-scipy/PLIST
diff -u pkgsrc/math/py-scipy/PLIST:1.28 pkgsrc/math/py-scipy/PLIST:1.29
--- pkgsrc/math/py-scipy/PLIST:1.28 Fri Apr 19 19:24:25 2024
+++ pkgsrc/math/py-scipy/PLIST Wed Jul 31 18:15:38 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.28 2024/04/19 19:24:25 adam Exp $
+@comment $NetBSD: PLIST,v 1.29 2024/07/31 18:15:38 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -79,6 +79,9 @@ ${PYSITELIB}/scipy/_lib/array_api_compat
${PYSITELIB}/scipy/_lib/array_api_compat/common/_aliases.py
${PYSITELIB}/scipy/_lib/array_api_compat/common/_aliases.pyc
${PYSITELIB}/scipy/_lib/array_api_compat/common/_aliases.pyo
+${PYSITELIB}/scipy/_lib/array_api_compat/common/_fft.py
+${PYSITELIB}/scipy/_lib/array_api_compat/common/_fft.pyc
+${PYSITELIB}/scipy/_lib/array_api_compat/common/_fft.pyo
${PYSITELIB}/scipy/_lib/array_api_compat/common/_helpers.py
${PYSITELIB}/scipy/_lib/array_api_compat/common/_helpers.pyc
${PYSITELIB}/scipy/_lib/array_api_compat/common/_helpers.pyo
@@ -97,9 +100,24 @@ ${PYSITELIB}/scipy/_lib/array_api_compat
${PYSITELIB}/scipy/_lib/array_api_compat/cupy/_typing.py
${PYSITELIB}/scipy/_lib/array_api_compat/cupy/_typing.pyc
${PYSITELIB}/scipy/_lib/array_api_compat/cupy/_typing.pyo
+${PYSITELIB}/scipy/_lib/array_api_compat/cupy/fft.py
+${PYSITELIB}/scipy/_lib/array_api_compat/cupy/fft.pyc
+${PYSITELIB}/scipy/_lib/array_api_compat/cupy/fft.pyo
${PYSITELIB}/scipy/_lib/array_api_compat/cupy/linalg.py
${PYSITELIB}/scipy/_lib/array_api_compat/cupy/linalg.pyc
${PYSITELIB}/scipy/_lib/array_api_compat/cupy/linalg.pyo
+${PYSITELIB}/scipy/_lib/array_api_compat/dask/__init__.py
+${PYSITELIB}/scipy/_lib/array_api_compat/dask/__init__.pyc
+${PYSITELIB}/scipy/_lib/array_api_compat/dask/__init__.pyo
+${PYSITELIB}/scipy/_lib/array_api_compat/dask/array/__init__.py
+${PYSITELIB}/scipy/_lib/array_api_compat/dask/array/__init__.pyc
+${PYSITELIB}/scipy/_lib/array_api_compat/dask/array/__init__.pyo
+${PYSITELIB}/scipy/_lib/array_api_compat/dask/array/_aliases.py
+${PYSITELIB}/scipy/_lib/array_api_compat/dask/array/_aliases.pyc
+${PYSITELIB}/scipy/_lib/array_api_compat/dask/array/_aliases.pyo
+${PYSITELIB}/scipy/_lib/array_api_compat/dask/array/linalg.py
+${PYSITELIB}/scipy/_lib/array_api_compat/dask/array/linalg.pyc
+${PYSITELIB}/scipy/_lib/array_api_compat/dask/array/linalg.pyo
${PYSITELIB}/scipy/_lib/array_api_compat/numpy/__init__.py
${PYSITELIB}/scipy/_lib/array_api_compat/numpy/__init__.pyc
${PYSITELIB}/scipy/_lib/array_api_compat/numpy/__init__.pyo
@@ -109,6 +127,9 @@ ${PYSITELIB}/scipy/_lib/array_api_compat
${PYSITELIB}/scipy/_lib/array_api_compat/numpy/_typing.py
${PYSITELIB}/scipy/_lib/array_api_compat/numpy/_typing.pyc
${PYSITELIB}/scipy/_lib/array_api_compat/numpy/_typing.pyo
+${PYSITELIB}/scipy/_lib/array_api_compat/numpy/fft.py
+${PYSITELIB}/scipy/_lib/array_api_compat/numpy/fft.pyc
+${PYSITELIB}/scipy/_lib/array_api_compat/numpy/fft.pyo
${PYSITELIB}/scipy/_lib/array_api_compat/numpy/linalg.py
${PYSITELIB}/scipy/_lib/array_api_compat/numpy/linalg.pyc
${PYSITELIB}/scipy/_lib/array_api_compat/numpy/linalg.pyo
@@ -118,9 +139,51 @@ ${PYSITELIB}/scipy/_lib/array_api_compat
${PYSITELIB}/scipy/_lib/array_api_compat/torch/_aliases.py
${PYSITELIB}/scipy/_lib/array_api_compat/torch/_aliases.pyc
${PYSITELIB}/scipy/_lib/array_api_compat/torch/_aliases.pyo
+${PYSITELIB}/scipy/_lib/array_api_compat/torch/fft.py
+${PYSITELIB}/scipy/_lib/array_api_compat/torch/fft.pyc
+${PYSITELIB}/scipy/_lib/array_api_compat/torch/fft.pyo
${PYSITELIB}/scipy/_lib/array_api_compat/torch/linalg.py
${PYSITELIB}/scipy/_lib/array_api_compat/torch/linalg.pyc
${PYSITELIB}/scipy/_lib/array_api_compat/torch/linalg.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/__init__.py
+${PYSITELIB}/scipy/_lib/cobyqa/__init__.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/__init__.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/framework.py
+${PYSITELIB}/scipy/_lib/cobyqa/framework.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/framework.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/main.py
+${PYSITELIB}/scipy/_lib/cobyqa/main.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/main.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/models.py
+${PYSITELIB}/scipy/_lib/cobyqa/models.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/models.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/problem.py
+${PYSITELIB}/scipy/_lib/cobyqa/problem.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/problem.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/settings.py
+${PYSITELIB}/scipy/_lib/cobyqa/settings.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/settings.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/subsolvers/__init__.py
+${PYSITELIB}/scipy/_lib/cobyqa/subsolvers/__init__.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/subsolvers/__init__.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/subsolvers/geometry.py
+${PYSITELIB}/scipy/_lib/cobyqa/subsolvers/geometry.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/subsolvers/geometry.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/subsolvers/optim.py
+${PYSITELIB}/scipy/_lib/cobyqa/subsolvers/optim.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/subsolvers/optim.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/utils/__init__.py
+${PYSITELIB}/scipy/_lib/cobyqa/utils/__init__.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/utils/__init__.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/utils/exceptions.py
+${PYSITELIB}/scipy/_lib/cobyqa/utils/exceptions.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/utils/exceptions.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/utils/math.py
+${PYSITELIB}/scipy/_lib/cobyqa/utils/math.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/utils/math.pyo
+${PYSITELIB}/scipy/_lib/cobyqa/utils/versions.py
+${PYSITELIB}/scipy/_lib/cobyqa/utils/versions.pyc
+${PYSITELIB}/scipy/_lib/cobyqa/utils/versions.pyo
${PYSITELIB}/scipy/_lib/decorator.py
${PYSITELIB}/scipy/_lib/decorator.pyc
${PYSITELIB}/scipy/_lib/decorator.pyo
@@ -500,6 +563,7 @@ ${PYSITELIB}/scipy/interpolate/_bsplines
${PYSITELIB}/scipy/interpolate/_cubic.py
${PYSITELIB}/scipy/interpolate/_cubic.pyc
${PYSITELIB}/scipy/interpolate/_cubic.pyo
+${PYSITELIB}/scipy/interpolate/_dfitpack.so
${PYSITELIB}/scipy/interpolate/_fitpack.so
${PYSITELIB}/scipy/interpolate/_fitpack2.py
${PYSITELIB}/scipy/interpolate/_fitpack2.pyc
@@ -537,7 +601,9 @@ ${PYSITELIB}/scipy/interpolate/_rgi.py
${PYSITELIB}/scipy/interpolate/_rgi.pyc
${PYSITELIB}/scipy/interpolate/_rgi.pyo
${PYSITELIB}/scipy/interpolate/_rgi_cython.so
-${PYSITELIB}/scipy/interpolate/dfitpack.so
+${PYSITELIB}/scipy/interpolate/dfitpack.py
+${PYSITELIB}/scipy/interpolate/dfitpack.pyc
+${PYSITELIB}/scipy/interpolate/dfitpack.pyo
${PYSITELIB}/scipy/interpolate/fitpack.py
${PYSITELIB}/scipy/interpolate/fitpack.pyc
${PYSITELIB}/scipy/interpolate/fitpack.pyo
@@ -941,6 +1007,7 @@ ${PYSITELIB}/scipy/io/tests/data/test-44
${PYSITELIB}/scipy/io/tests/data/test-44100Hz-le-1ch-4bytes-early-eof-no-data.wav
${PYSITELIB}/scipy/io/tests/data/test-44100Hz-le-1ch-4bytes-early-eof.wav
${PYSITELIB}/scipy/io/tests/data/test-44100Hz-le-1ch-4bytes-incomplete-chunk.wav
+${PYSITELIB}/scipy/io/tests/data/test-44100Hz-le-1ch-4bytes-rf64.wav
${PYSITELIB}/scipy/io/tests/data/test-44100Hz-le-1ch-4bytes.wav
${PYSITELIB}/scipy/io/tests/data/test-48000Hz-2ch-64bit-float-le-wavex.wav
${PYSITELIB}/scipy/io/tests/data/test-8000Hz-be-3ch-5S-24bit.wav
@@ -948,6 +1015,7 @@ ${PYSITELIB}/scipy/io/tests/data/test-80
${PYSITELIB}/scipy/io/tests/data/test-8000Hz-le-1ch-1byte-ulaw.wav
${PYSITELIB}/scipy/io/tests/data/test-8000Hz-le-2ch-1byteu.wav
${PYSITELIB}/scipy/io/tests/data/test-8000Hz-le-3ch-5S-24bit-inconsistent.wav
+${PYSITELIB}/scipy/io/tests/data/test-8000Hz-le-3ch-5S-24bit-rf64.wav
${PYSITELIB}/scipy/io/tests/data/test-8000Hz-le-3ch-5S-24bit.wav
${PYSITELIB}/scipy/io/tests/data/test-8000Hz-le-3ch-5S-36bit.wav
${PYSITELIB}/scipy/io/tests/data/test-8000Hz-le-3ch-5S-45bit.wav
@@ -1110,6 +1178,8 @@ ${PYSITELIB}/scipy/linalg/special_matric
${PYSITELIB}/scipy/linalg/tests/__init__.py
${PYSITELIB}/scipy/linalg/tests/__init__.pyc
${PYSITELIB}/scipy/linalg/tests/__init__.pyo
+${PYSITELIB}/scipy/linalg/tests/_cython_examples/extending.pyx
+${PYSITELIB}/scipy/linalg/tests/_cython_examples/meson.build
${PYSITELIB}/scipy/linalg/tests/data/carex_15_data.npz
${PYSITELIB}/scipy/linalg/tests/data/carex_18_data.npz
${PYSITELIB}/scipy/linalg/tests/data/carex_19_data.npz
@@ -1152,6 +1222,9 @@ ${PYSITELIB}/scipy/linalg/tests/test_dec
${PYSITELIB}/scipy/linalg/tests/test_decomp_update.py
${PYSITELIB}/scipy/linalg/tests/test_decomp_update.pyc
${PYSITELIB}/scipy/linalg/tests/test_decomp_update.pyo
+${PYSITELIB}/scipy/linalg/tests/test_extending.py
+${PYSITELIB}/scipy/linalg/tests/test_extending.pyc
+${PYSITELIB}/scipy/linalg/tests/test_extending.pyo
${PYSITELIB}/scipy/linalg/tests/test_fblas.py
${PYSITELIB}/scipy/linalg/tests/test_fblas.pyc
${PYSITELIB}/scipy/linalg/tests/test_fblas.pyo
@@ -1167,9 +1240,6 @@ ${PYSITELIB}/scipy/linalg/tests/test_mat
${PYSITELIB}/scipy/linalg/tests/test_matmul_toeplitz.py
${PYSITELIB}/scipy/linalg/tests/test_matmul_toeplitz.pyc
${PYSITELIB}/scipy/linalg/tests/test_matmul_toeplitz.pyo
-${PYSITELIB}/scipy/linalg/tests/test_misc.py
-${PYSITELIB}/scipy/linalg/tests/test_misc.pyc
-${PYSITELIB}/scipy/linalg/tests/test_misc.pyo
${PYSITELIB}/scipy/linalg/tests/test_procrustes.py
${PYSITELIB}/scipy/linalg/tests/test_procrustes.pyc
${PYSITELIB}/scipy/linalg/tests/test_procrustes.pyo
@@ -1333,6 +1403,9 @@ ${PYSITELIB}/scipy/optimize/_cobyla.so
${PYSITELIB}/scipy/optimize/_cobyla_py.py
${PYSITELIB}/scipy/optimize/_cobyla_py.pyc
${PYSITELIB}/scipy/optimize/_cobyla_py.pyo
+${PYSITELIB}/scipy/optimize/_cobyqa_py.py
+${PYSITELIB}/scipy/optimize/_cobyqa_py.pyc
+${PYSITELIB}/scipy/optimize/_cobyqa_py.pyo
${PYSITELIB}/scipy/optimize/_constraints.py
${PYSITELIB}/scipy/optimize/_constraints.pyc
${PYSITELIB}/scipy/optimize/_constraints.pyo
@@ -1594,6 +1667,8 @@ ${PYSITELIB}/scipy/optimize/slsqp.pyo
${PYSITELIB}/scipy/optimize/tests/__init__.py
${PYSITELIB}/scipy/optimize/tests/__init__.pyc
${PYSITELIB}/scipy/optimize/tests/__init__.pyo
+${PYSITELIB}/scipy/optimize/tests/_cython_examples/extending.pyx
+${PYSITELIB}/scipy/optimize/tests/_cython_examples/meson.build
${PYSITELIB}/scipy/optimize/tests/test__basinhopping.py
${PYSITELIB}/scipy/optimize/tests/test__basinhopping.pyc
${PYSITELIB}/scipy/optimize/tests/test__basinhopping.pyo
@@ -1630,6 +1705,9 @@ ${PYSITELIB}/scipy/optimize/tests/test_c
${PYSITELIB}/scipy/optimize/tests/test_cobyla.py
${PYSITELIB}/scipy/optimize/tests/test_cobyla.pyc
${PYSITELIB}/scipy/optimize/tests/test_cobyla.pyo
+${PYSITELIB}/scipy/optimize/tests/test_cobyqa.py
+${PYSITELIB}/scipy/optimize/tests/test_cobyqa.pyc
+${PYSITELIB}/scipy/optimize/tests/test_cobyqa.pyo
${PYSITELIB}/scipy/optimize/tests/test_constraint_conversion.py
${PYSITELIB}/scipy/optimize/tests/test_constraint_conversion.pyc
${PYSITELIB}/scipy/optimize/tests/test_constraint_conversion.pyo
@@ -1648,6 +1726,9 @@ ${PYSITELIB}/scipy/optimize/tests/test_d
${PYSITELIB}/scipy/optimize/tests/test_direct.py
${PYSITELIB}/scipy/optimize/tests/test_direct.pyc
${PYSITELIB}/scipy/optimize/tests/test_direct.pyo
+${PYSITELIB}/scipy/optimize/tests/test_extending.py
+${PYSITELIB}/scipy/optimize/tests/test_extending.pyc
+${PYSITELIB}/scipy/optimize/tests/test_extending.pyo
${PYSITELIB}/scipy/optimize/tests/test_hessian_update_strategy.py
${PYSITELIB}/scipy/optimize/tests/test_hessian_update_strategy.pyc
${PYSITELIB}/scipy/optimize/tests/test_hessian_update_strategy.pyo
@@ -2223,6 +2304,9 @@ ${PYSITELIB}/scipy/sparse/tests/__init__
${PYSITELIB}/scipy/sparse/tests/__init__.pyo
${PYSITELIB}/scipy/sparse/tests/data/csc_py2.npz
${PYSITELIB}/scipy/sparse/tests/data/csc_py3.npz
+${PYSITELIB}/scipy/sparse/tests/test_arithmetic1d.py
+${PYSITELIB}/scipy/sparse/tests/test_arithmetic1d.pyc
+${PYSITELIB}/scipy/sparse/tests/test_arithmetic1d.pyo
${PYSITELIB}/scipy/sparse/tests/test_array_api.py
${PYSITELIB}/scipy/sparse/tests/test_array_api.pyc
${PYSITELIB}/scipy/sparse/tests/test_array_api.pyo
@@ -2244,9 +2328,6 @@ ${PYSITELIB}/scipy/sparse/tests/test_csc
${PYSITELIB}/scipy/sparse/tests/test_csr.py
${PYSITELIB}/scipy/sparse/tests/test_csr.pyc
${PYSITELIB}/scipy/sparse/tests/test_csr.pyo
-${PYSITELIB}/scipy/sparse/tests/test_deprecations.py
-${PYSITELIB}/scipy/sparse/tests/test_deprecations.pyc
-${PYSITELIB}/scipy/sparse/tests/test_deprecations.pyo
${PYSITELIB}/scipy/sparse/tests/test_dok.py
${PYSITELIB}/scipy/sparse/tests/test_dok.pyc
${PYSITELIB}/scipy/sparse/tests/test_dok.pyo
@@ -2403,12 +2484,12 @@ ${PYSITELIB}/scipy/special/_add_newdocs.
${PYSITELIB}/scipy/special/_basic.py
${PYSITELIB}/scipy/special/_basic.pyc
${PYSITELIB}/scipy/special/_basic.pyo
-${PYSITELIB}/scipy/special/_cdflib.so
${PYSITELIB}/scipy/special/_comb.so
${PYSITELIB}/scipy/special/_ellip_harm.py
${PYSITELIB}/scipy/special/_ellip_harm.pyc
${PYSITELIB}/scipy/special/_ellip_harm.pyo
${PYSITELIB}/scipy/special/_ellip_harm_2.so
+${PYSITELIB}/scipy/special/_gufuncs.so
${PYSITELIB}/scipy/special/_lambertw.py
${PYSITELIB}/scipy/special/_lambertw.pyc
${PYSITELIB}/scipy/special/_lambertw.pyo
@@ -2437,6 +2518,9 @@ ${PYSITELIB}/scipy/special/_precompute/g
${PYSITELIB}/scipy/special/_precompute/gammainc_data.py
${PYSITELIB}/scipy/special/_precompute/gammainc_data.pyc
${PYSITELIB}/scipy/special/_precompute/gammainc_data.pyo
+${PYSITELIB}/scipy/special/_precompute/hyp2f1_data.py
+${PYSITELIB}/scipy/special/_precompute/hyp2f1_data.pyc
+${PYSITELIB}/scipy/special/_precompute/hyp2f1_data.pyo
${PYSITELIB}/scipy/special/_precompute/lambertw.py
${PYSITELIB}/scipy/special/_precompute/lambertw.pyc
${PYSITELIB}/scipy/special/_precompute/lambertw.pyo
@@ -2465,6 +2549,7 @@ ${PYSITELIB}/scipy/special/_sf_error.py
${PYSITELIB}/scipy/special/_sf_error.pyc
${PYSITELIB}/scipy/special/_sf_error.pyo
${PYSITELIB}/scipy/special/_specfun.so
+${PYSITELIB}/scipy/special/_special_ufuncs.so
${PYSITELIB}/scipy/special/_spfun_stats.py
${PYSITELIB}/scipy/special/_spfun_stats.pyc
${PYSITELIB}/scipy/special/_spfun_stats.pyo
@@ -2495,7 +2580,6 @@ ${PYSITELIB}/scipy/special/basic.pyc
${PYSITELIB}/scipy/special/basic.pyo
${PYSITELIB}/scipy/special/cython_special.pxd
${PYSITELIB}/scipy/special/cython_special.pyi
-${PYSITELIB}/scipy/special/cython_special.pyx
${PYSITELIB}/scipy/special/cython_special.so
${PYSITELIB}/scipy/special/orthogonal.py
${PYSITELIB}/scipy/special/orthogonal.pyc
@@ -2507,20 +2591,47 @@ ${PYSITELIB}/scipy/special/specfun.py
${PYSITELIB}/scipy/special/specfun.pyc
${PYSITELIB}/scipy/special/specfun.pyo
${PYSITELIB}/scipy/special/special/binom.h
+${PYSITELIB}/scipy/special/special/cephes/airy.h
+${PYSITELIB}/scipy/special/special/cephes/besselpoly.h
${PYSITELIB}/scipy/special/special/cephes/beta.h
+${PYSITELIB}/scipy/special/special/cephes/cbrt.h
+${PYSITELIB}/scipy/special/special/cephes/chbevl.h
+${PYSITELIB}/scipy/special/special/cephes/chdtr.h
${PYSITELIB}/scipy/special/special/cephes/const.h
+${PYSITELIB}/scipy/special/special/cephes/expn.h
${PYSITELIB}/scipy/special/special/cephes/gamma.h
+${PYSITELIB}/scipy/special/special/cephes/hyp2f1.h
+${PYSITELIB}/scipy/special/special/cephes/hyperg.h
+${PYSITELIB}/scipy/special/special/cephes/i0.h
+${PYSITELIB}/scipy/special/special/cephes/i1.h
+${PYSITELIB}/scipy/special/special/cephes/igam.h
+${PYSITELIB}/scipy/special/special/cephes/igami.h
+${PYSITELIB}/scipy/special/special/cephes/j0.h
+${PYSITELIB}/scipy/special/special/cephes/j1.h
+${PYSITELIB}/scipy/special/special/cephes/jv.h
+${PYSITELIB}/scipy/special/special/cephes/k0.h
+${PYSITELIB}/scipy/special/special/cephes/k1.h
+${PYSITELIB}/scipy/special/special/cephes/kn.h
+${PYSITELIB}/scipy/special/special/cephes/lanczos.h
+${PYSITELIB}/scipy/special/special/cephes/ndtr.h
+${PYSITELIB}/scipy/special/special/cephes/poch.h
${PYSITELIB}/scipy/special/special/cephes/polevl.h
${PYSITELIB}/scipy/special/special/cephes/psi.h
+${PYSITELIB}/scipy/special/special/cephes/rgamma.h
+${PYSITELIB}/scipy/special/special/cephes/scipy_iv.h
${PYSITELIB}/scipy/special/special/cephes/trig.h
+${PYSITELIB}/scipy/special/special/cephes/unity.h
${PYSITELIB}/scipy/special/special/cephes/zeta.h
${PYSITELIB}/scipy/special/special/config.h
${PYSITELIB}/scipy/special/special/digamma.h
${PYSITELIB}/scipy/special/special/error.h
${PYSITELIB}/scipy/special/special/evalpoly.h
+${PYSITELIB}/scipy/special/special/hyp2f1.h
${PYSITELIB}/scipy/special/special/lambertw.h
${PYSITELIB}/scipy/special/special/loggamma.h
+${PYSITELIB}/scipy/special/special/tools.h
${PYSITELIB}/scipy/special/special/trig.h
+${PYSITELIB}/scipy/special/special/wright_bessel.h
${PYSITELIB}/scipy/special/special/zlog1.h
${PYSITELIB}/scipy/special/spfun_stats.py
${PYSITELIB}/scipy/special/spfun_stats.pyc
@@ -2528,6 +2639,8 @@ ${PYSITELIB}/scipy/special/spfun_stats.p
${PYSITELIB}/scipy/special/tests/__init__.py
${PYSITELIB}/scipy/special/tests/__init__.pyc
${PYSITELIB}/scipy/special/tests/__init__.pyo
+${PYSITELIB}/scipy/special/tests/_cython_examples/extending.pyx
+${PYSITELIB}/scipy/special/tests/_cython_examples/meson.build
${PYSITELIB}/scipy/special/tests/data/__init__.py
${PYSITELIB}/scipy/special/tests/data/__init__.pyc
${PYSITELIB}/scipy/special/tests/data/__init__.pyo
@@ -2540,6 +2653,9 @@ ${PYSITELIB}/scipy/special/tests/test_ba
${PYSITELIB}/scipy/special/tests/test_bdtr.py
${PYSITELIB}/scipy/special/tests/test_bdtr.pyc
${PYSITELIB}/scipy/special/tests/test_bdtr.pyo
+${PYSITELIB}/scipy/special/tests/test_boost_ufuncs.py
+${PYSITELIB}/scipy/special/tests/test_boost_ufuncs.pyc
+${PYSITELIB}/scipy/special/tests/test_boost_ufuncs.pyo
${PYSITELIB}/scipy/special/tests/test_boxcox.py
${PYSITELIB}/scipy/special/tests/test_boxcox.pyc
${PYSITELIB}/scipy/special/tests/test_boxcox.pyo
@@ -2573,6 +2689,9 @@ ${PYSITELIB}/scipy/special/tests/test_er
${PYSITELIB}/scipy/special/tests/test_exponential_integrals.py
${PYSITELIB}/scipy/special/tests/test_exponential_integrals.pyc
${PYSITELIB}/scipy/special/tests/test_exponential_integrals.pyo
+${PYSITELIB}/scipy/special/tests/test_extending.py
+${PYSITELIB}/scipy/special/tests/test_extending.pyc
+${PYSITELIB}/scipy/special/tests/test_extending.pyo
${PYSITELIB}/scipy/special/tests/test_faddeeva.py
${PYSITELIB}/scipy/special/tests/test_faddeeva.pyc
${PYSITELIB}/scipy/special/tests/test_faddeeva.pyo
@@ -2588,6 +2707,9 @@ ${PYSITELIB}/scipy/special/tests/test_hy
${PYSITELIB}/scipy/special/tests/test_hypergeometric.py
${PYSITELIB}/scipy/special/tests/test_hypergeometric.pyc
${PYSITELIB}/scipy/special/tests/test_hypergeometric.pyo
+${PYSITELIB}/scipy/special/tests/test_iv_ratio.py
+${PYSITELIB}/scipy/special/tests/test_iv_ratio.pyc
+${PYSITELIB}/scipy/special/tests/test_iv_ratio.pyo
${PYSITELIB}/scipy/special/tests/test_kolmogorov.py
${PYSITELIB}/scipy/special/tests/test_kolmogorov.pyc
${PYSITELIB}/scipy/special/tests/test_kolmogorov.pyo
@@ -2675,6 +2797,9 @@ ${PYSITELIB}/scipy/special/tests/test_su
${PYSITELIB}/scipy/special/tests/test_trig.py
${PYSITELIB}/scipy/special/tests/test_trig.pyc
${PYSITELIB}/scipy/special/tests/test_trig.pyo
+${PYSITELIB}/scipy/special/tests/test_ufunc_signatures.py
+${PYSITELIB}/scipy/special/tests/test_ufunc_signatures.pyc
+${PYSITELIB}/scipy/special/tests/test_ufunc_signatures.pyo
${PYSITELIB}/scipy/special/tests/test_wright_bessel.py
${PYSITELIB}/scipy/special/tests/test_wright_bessel.pyc
${PYSITELIB}/scipy/special/tests/test_wright_bessel.pyo
@@ -2699,18 +2824,6 @@ ${PYSITELIB}/scipy/stats/_binned_statist
${PYSITELIB}/scipy/stats/_binomtest.py
${PYSITELIB}/scipy/stats/_binomtest.pyc
${PYSITELIB}/scipy/stats/_binomtest.pyo
-${PYSITELIB}/scipy/stats/_boost/__init__.py
-${PYSITELIB}/scipy/stats/_boost/__init__.pyc
-${PYSITELIB}/scipy/stats/_boost/__init__.pyo
-${PYSITELIB}/scipy/stats/_boost/beta_ufunc.so
-${PYSITELIB}/scipy/stats/_boost/binom_ufunc.so
-${PYSITELIB}/scipy/stats/_boost/hypergeom_ufunc.so
-${PYSITELIB}/scipy/stats/_boost/invgauss_ufunc.so
-${PYSITELIB}/scipy/stats/_boost/nbinom_ufunc.so
-${PYSITELIB}/scipy/stats/_boost/ncf_ufunc.so
-${PYSITELIB}/scipy/stats/_boost/nct_ufunc.so
-${PYSITELIB}/scipy/stats/_boost/ncx2_ufunc.so
-${PYSITELIB}/scipy/stats/_boost/skewnorm_ufunc.so
${PYSITELIB}/scipy/stats/_bws_test.py
${PYSITELIB}/scipy/stats/_bws_test.pyc
${PYSITELIB}/scipy/stats/_bws_test.pyo
@@ -2747,9 +2860,6 @@ ${PYSITELIB}/scipy/stats/_entropy.pyo
${PYSITELIB}/scipy/stats/_fit.py
${PYSITELIB}/scipy/stats/_fit.pyc
${PYSITELIB}/scipy/stats/_fit.pyo
-${PYSITELIB}/scipy/stats/_generate_pyx.py
-${PYSITELIB}/scipy/stats/_generate_pyx.pyc
-${PYSITELIB}/scipy/stats/_generate_pyx.pyo
${PYSITELIB}/scipy/stats/_hypotests.py
${PYSITELIB}/scipy/stats/_hypotests.pyc
${PYSITELIB}/scipy/stats/_hypotests.pyo
@@ -2766,6 +2876,9 @@ ${PYSITELIB}/scipy/stats/_levy_stable/le
${PYSITELIB}/scipy/stats/_mannwhitneyu.py
${PYSITELIB}/scipy/stats/_mannwhitneyu.pyc
${PYSITELIB}/scipy/stats/_mannwhitneyu.pyo
+${PYSITELIB}/scipy/stats/_mgc.py
+${PYSITELIB}/scipy/stats/_mgc.pyc
+${PYSITELIB}/scipy/stats/_mgc.pyo
${PYSITELIB}/scipy/stats/_morestats.py
${PYSITELIB}/scipy/stats/_morestats.pyc
${PYSITELIB}/scipy/stats/_morestats.pyo
@@ -2922,9 +3035,6 @@ ${PYSITELIB}/scipy/stats/tests/test_axis
${PYSITELIB}/scipy/stats/tests/test_binned_statistic.py
${PYSITELIB}/scipy/stats/tests/test_binned_statistic.pyc
${PYSITELIB}/scipy/stats/tests/test_binned_statistic.pyo
-${PYSITELIB}/scipy/stats/tests/test_boost_ufuncs.py
-${PYSITELIB}/scipy/stats/tests/test_boost_ufuncs.pyc
-${PYSITELIB}/scipy/stats/tests/test_boost_ufuncs.pyo
${PYSITELIB}/scipy/stats/tests/test_censored_data.py
${PYSITELIB}/scipy/stats/tests/test_censored_data.pyc
${PYSITELIB}/scipy/stats/tests/test_censored_data.pyo
@@ -2964,6 +3074,9 @@ ${PYSITELIB}/scipy/stats/tests/test_hypo
${PYSITELIB}/scipy/stats/tests/test_kdeoth.py
${PYSITELIB}/scipy/stats/tests/test_kdeoth.pyc
${PYSITELIB}/scipy/stats/tests/test_kdeoth.pyo
+${PYSITELIB}/scipy/stats/tests/test_mgc.py
+${PYSITELIB}/scipy/stats/tests/test_mgc.pyc
+${PYSITELIB}/scipy/stats/tests/test_mgc.pyo
${PYSITELIB}/scipy/stats/tests/test_morestats.py
${PYSITELIB}/scipy/stats/tests/test_morestats.pyc
${PYSITELIB}/scipy/stats/tests/test_morestats.pyo
Index: pkgsrc/math/py-scipy/distinfo
diff -u pkgsrc/math/py-scipy/distinfo:1.52 pkgsrc/math/py-scipy/distinfo:1.53
--- pkgsrc/math/py-scipy/distinfo:1.52 Wed Jun 12 08:57:43 2024
+++ pkgsrc/math/py-scipy/distinfo Wed Jul 31 18:15:38 2024
@@ -1,14 +1,16 @@
-$NetBSD: distinfo,v 1.52 2024/06/12 08:57:43 adam Exp $
+$NetBSD: distinfo,v 1.53 2024/07/31 18:15:38 adam Exp $
-BLAKE2s (scipy-1.13.1.tar.gz) = 62fb276532801ee896d00a3886122f9fa9b146834d148086f226e9fc71bf3858
-SHA512 (scipy-1.13.1.tar.gz) = 28aafdbcae7229a3d11f192683b703cb485d45e4d90413d6564df3d9005bc8fd4df8bd92caffe657666828cd7253e7e0363c0948c74a1b8f3f3b7d4f4cfd9b36
-Size (scipy-1.13.1.tar.gz) = 57210720 bytes
+BLAKE2s (scipy-1.14.0.tar.gz) = 6fe964536a9daa776c4912ba2cc938bc8d84ee9bdaa9cbe90053ecacc5dd0c8a
+SHA512 (scipy-1.14.0.tar.gz) = 6579d988a2093602f5fc82203bbb5dc5690a95032484b5d5bd843d1e7995b3b89d802c7b38ec0345c1f3d8e22c98fb92b3982a1eadfcdf63607f929a52b56abf
+Size (scipy-1.14.0.tar.gz) = 58618870 bytes
SHA1 (patch-scipy_spatial___ckdtree.pyx) = 09f79827790edb78204cca7bbe25b5f373834dd4
SHA1 (patch-scipy_spatial_ckdtree_src_ckdtree__decl.h) = f05aa0f0ebbf49f119b17ce8646d2f496a557019
SHA1 (patch-scipy_special_Faddeeva.hh) = 9f6c0bb808fc9be0a1c1b7e65395d29f13821233
-SHA1 (patch-scipy_special_sf__error.c) = 416489193a6ff90caaa95f489a452f23f0a27bbe
-SHA1 (patch-scipy_special_special_amos_amos.h) = 549e0f0da08665227d97753ff58fb6e151b03a9d
-SHA1 (patch-scipy_special_special_specfun.h) = 1d8245b82f50983ebad488274a11f20f9359aae4
-SHA1 (patch-scipy_special_stirling2.h) = 137ff81f610328661a5ce4d04c8700602c989d4b
+SHA1 (patch-scipy_special_boost__special__functions.h) = 109e8855d0d841c614bc9d7e0ac6f2e44de29fdb
+SHA1 (patch-scipy_special_meson.build) = db22da79b31a0fb8dbdac96f398463f4d24adfe0
+SHA1 (patch-scipy_special_special_amos_amos.h) = a1bf4688ce0f342c15749f7864b2dfcad37c2513
+SHA1 (patch-scipy_special_special_specfun.h) = a2e1c91f25165009cf1222a70154ca3bed3f6074
+SHA1 (patch-scipy_special_special_specfun_specfun.h) = 97649f3d99d77f4b27606c541034aab1ee57c9a2
+SHA1 (patch-scipy_special_stirling2.h) = a0399b310939c740b66ddb29cb83338393d2e2df
SHA1 (patch-scipy_special_wright.hh) = 56d65f9ed4bec96f0b927bbe42edd30fc6546454
SHA1 (patch-scipy_stats___unuran_meson.build) = afa31bf66c9599c8ffc102f2013694305c7e8d03
Index: pkgsrc/math/py-scipy/patches/patch-scipy_special_special_amos_amos.h
diff -u pkgsrc/math/py-scipy/patches/patch-scipy_special_special_amos_amos.h:1.1 pkgsrc/math/py-scipy/patches/patch-scipy_special_special_amos_amos.h:1.2
--- pkgsrc/math/py-scipy/patches/patch-scipy_special_special_amos_amos.h:1.1 Fri Apr 19 19:24:25 2024
+++ pkgsrc/math/py-scipy/patches/patch-scipy_special_special_amos_amos.h Wed Jul 31 18:15:38 2024
@@ -1,11 +1,11 @@
-$NetBSD: patch-scipy_special_special_amos_amos.h,v 1.1 2024/04/19 19:24:25 adam Exp $
+$NetBSD: patch-scipy_special_special_amos_amos.h,v 1.2 2024/07/31 18:15:38 adam Exp $
Prefer C++ headers.
Fix error: 'isinf' was not declared in this scope; did you mean 'std::isinf'?
---- scipy/special/special/amos/amos.h.orig 2024-04-19 14:20:53.078767873 +0000
+--- scipy/special/special/amos/amos.h.orig 2024-06-24 18:58:56.000000000 +0000
+++ scipy/special/special/amos/amos.h
-@@ -93,8 +93,11 @@
+@@ -94,8 +94,11 @@
#include <stdlib.h>
@@ -17,5 +17,5 @@ Fix error: 'isinf' was not declared in t
+using std::isinf;
+using std::isnan;
- static int amos_acai(std::complex<double>, double, int, int, int, std::complex<double> *, double, double, double, double);
- static int amos_acon(std::complex<double>, double, int, int, int, std::complex<double> *, double, double, double, double, double);
+ namespace special {
+ namespace amos {
Index: pkgsrc/math/py-scipy/patches/patch-scipy_special_special_specfun.h
diff -u pkgsrc/math/py-scipy/patches/patch-scipy_special_special_specfun.h:1.1 pkgsrc/math/py-scipy/patches/patch-scipy_special_special_specfun.h:1.2
--- pkgsrc/math/py-scipy/patches/patch-scipy_special_special_specfun.h:1.1 Fri Apr 19 19:24:25 2024
+++ pkgsrc/math/py-scipy/patches/patch-scipy_special_special_specfun.h Wed Jul 31 18:15:38 2024
@@ -1,8 +1,8 @@
-$NetBSD: patch-scipy_special_special_specfun.h,v 1.1 2024/04/19 19:24:25 adam Exp $
+$NetBSD: patch-scipy_special_special_specfun.h,v 1.2 2024/07/31 18:15:38 adam Exp $
Fix error: 'isinf' was not declared in this scope; did you mean 'std::isinf'?
---- scipy/special/special/specfun.h.orig 2024-04-19 14:03:19.375569416 +0000
+--- scipy/special/special/specfun.h.orig 2024-06-24 18:58:56.000000000 +0000
+++ scipy/special/special/specfun.h
@@ -26,6 +26,9 @@
} \
@@ -13,4 +13,4 @@ Fix error: 'isinf' was not declared in t
+
namespace special {
- inline int cem(double m, double q, double x, double *csf, double *csd);
+ inline std::complex<double> chyp2f1(double a, double b, double c, std::complex<double> z) {
Index: pkgsrc/math/py-scipy/patches/patch-scipy_special_stirling2.h
diff -u pkgsrc/math/py-scipy/patches/patch-scipy_special_stirling2.h:1.1 pkgsrc/math/py-scipy/patches/patch-scipy_special_stirling2.h:1.2
--- pkgsrc/math/py-scipy/patches/patch-scipy_special_stirling2.h:1.1 Fri Apr 19 19:24:25 2024
+++ pkgsrc/math/py-scipy/patches/patch-scipy_special_stirling2.h Wed Jul 31 18:15:38 2024
@@ -1,9 +1,9 @@
-$NetBSD: patch-scipy_special_stirling2.h,v 1.1 2024/04/19 19:24:25 adam Exp $
+$NetBSD: patch-scipy_special_stirling2.h,v 1.2 2024/07/31 18:15:38 adam Exp $
Prefer C++ headers.
Fix error: 'isinf' was not declared in this scope; did you mean 'std::isinf'?
---- scipy/special/stirling2.h.orig 2024-04-02 18:31:54.000000000 +0000
+--- scipy/special/stirling2.h.orig 2024-06-24 18:58:56.000000000 +0000
+++ scipy/special/stirling2.h
@@ -1,12 +1,15 @@
#ifndef STIRLING_H
@@ -20,6 +20,6 @@ Fix error: 'isinf' was not declared in t
+using std::isinf;
+using std::isnan;
+
+ #include "special/binom.h"
#include "special/lambertw.h"
-
Added files:
Index: pkgsrc/math/py-scipy/patches/patch-scipy_special_boost__special__functions.h
diff -u /dev/null pkgsrc/math/py-scipy/patches/patch-scipy_special_boost__special__functions.h:1.1
--- /dev/null Wed Jul 31 18:15:38 2024
+++ pkgsrc/math/py-scipy/patches/patch-scipy_special_boost__special__functions.h Wed Jul 31 18:15:38 2024
@@ -0,0 +1,14 @@
+$NetBSD: patch-scipy_special_boost__special__functions.h,v 1.1 2024/07/31 18:15:38 adam Exp $
+
+Fix build.
+
+--- scipy/special/boost_special_functions.h.orig 2024-07-31 10:20:15.401014832 +0000
++++ scipy/special/boost_special_functions.h
+@@ -5,6 +5,7 @@
+ #include <stdexcept>
+ #include "sf_error.h"
+
++using std::isnan;
+
+ // Override some default BOOST policies.
+ // These are required to ensure that the Boost function ibeta_inv
Index: pkgsrc/math/py-scipy/patches/patch-scipy_special_meson.build
diff -u /dev/null pkgsrc/math/py-scipy/patches/patch-scipy_special_meson.build:1.1
--- /dev/null Wed Jul 31 18:15:38 2024
+++ pkgsrc/math/py-scipy/patches/patch-scipy_special_meson.build Wed Jul 31 18:15:38 2024
@@ -0,0 +1,21 @@
+$NetBSD: patch-scipy_special_meson.build,v 1.1 2024/07/31 18:15:38 adam Exp $
+
+libsf_error_state is better handled as a static library.
+
+--- scipy/special/meson.build.orig 2024-06-24 18:58:56.000000000 +0000
++++ scipy/special/meson.build
+@@ -33,12 +33,10 @@ else
+ scipy_import_dll_args = []
+ endif
+
+-sf_error_state_lib = shared_library('sf_error_state',
++sf_error_state_lib = static_library('sf_error_state',
+ ['sf_error_state.c'],
+ include_directories: ['../_lib', '../_build_utils/src'],
+- c_args: scipy_export_dll_args,
+- install: true,
+- install_dir: py3.get_install_dir() / 'scipy/special',
++ gnu_symbol_visibility: 'hidden',
+ )
+
+ sf_error_state_dep = declare_dependency(
Index: pkgsrc/math/py-scipy/patches/patch-scipy_special_special_specfun_specfun.h
diff -u /dev/null pkgsrc/math/py-scipy/patches/patch-scipy_special_special_specfun_specfun.h:1.1
--- /dev/null Wed Jul 31 18:15:38 2024
+++ pkgsrc/math/py-scipy/patches/patch-scipy_special_special_specfun_specfun.h Wed Jul 31 18:15:38 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-scipy_special_special_specfun_specfun.h,v 1.1 2024/07/31 18:15:38 adam Exp $
+
+Prefer C++ copysign().
+
+--- scipy/special/special/specfun/specfun.h.orig 2024-07-31 10:16:24.693973249 +0000
++++ scipy/special/special/specfun/specfun.h
+@@ -2096,7 +2096,7 @@ std::complex<T> e1z(std::complex<T> z) {
+ if ((x <= 0.0) && (z.imag() == 0.0)) {
+ //Careful on the branch cut -- use the sign of the imaginary part
+ // to get the right sign on the factor if pi.
+- ce1 = -el - std::log(-z) + z*ce1 - copysign(pi, z.imag())*std::complex<T>(0.0, 1.0);
++ ce1 = -el - std::log(-z) + z*ce1 - std::copysign(pi, z.imag())*std::complex<T>(0.0, 1.0);
+ } else {
+ ce1 = -el - std::log(z) + z*ce1;
+ }
Home |
Main Index |
Thread Index |
Old Index