pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-scipy py-scipy: updated to 1.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95c8fe5b212f
branches:  trunk
changeset: 335168:95c8fe5b212f
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Jun 14 14:53:29 2019 +0000

description:
py-scipy: updated to 1.3.0

SciPy 1.3.0 Release Notes

SciPy 1.3.0 is the culmination of 5 months of hard work. It contains
many new features, numerous bug-fixes, improved test coverage and better
documentation. There have been some 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.3.x branch, and on adding new features on the master branch.

This release requires Python 3.5+ and NumPy 1.13.3 or greater.

For running on PyPy, PyPy3 6.0+ and NumPy 1.15.0 are required.

Highlights of this release
- Three new stats functions, a rewrite of pearsonr, and an exact
  computation of the Kolmogorov-Smirnov two-sample test
- A new Cython API for bounded scalar-function root-finders in scipy.optimize
- Substantial CSR and CSC sparse matrix indexing performance
  improvements
- Added support for interpolation of rotations with continuous angular
  rate and acceleration in RotationSpline


SciPy 1.2.0 Release Notes

SciPy 1.2.0 is the culmination of 6 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.2.x branch, and on adding new features on the master branch.

This release requires Python 2.7 or 3.4+ and NumPy 1.8.2 or greater.

This will be the last SciPy release to support Python 2.7.
Consequently, the 1.2.x series will be a long term support (LTS)
release; we will backport bug fixes until 1 Jan 2020.

For running on PyPy, PyPy3 6.0+ and NumPy 1.15.0 are required.

Highlights of this release
- 1-D root finding improvements with a new solver, toms748, and a new
  unified interface, root_scalar
- New dual_annealing optimization method that combines stochastic and
  local deterministic searching
- A new optimization algorithm, shgo (simplicial homology
  global optimization) for derivative free optimization problems
- A new category of quaternion-based transformations are available in
  scipy.spatial.transform

diffstat:

 math/py-scipy/Makefile |   65 +++---------------------
 math/py-scipy/PLIST    |  126 ++++++++++++++++++++++++++++++++----------------
 math/py-scipy/distinfo |   10 +-
 3 files changed, 98 insertions(+), 103 deletions(-)

diffs (truncated from 440 to 300 lines):

diff -r c3bd616ce261 -r 95c8fe5b212f math/py-scipy/Makefile
--- a/math/py-scipy/Makefile    Fri Jun 14 14:49:12 2019 +0000
+++ b/math/py-scipy/Makefile    Fri Jun 14 14:53:29 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.37 2018/09/03 08:36:44 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2019/06/14 14:53:29 adam Exp $
 
-DISTNAME=      scipy-1.1.0
+DISTNAME=      scipy-1.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/scipy/}
@@ -16,9 +16,9 @@
 # XXX Avoid picking up other compilers when installed
 .include "../../mk/compiler.mk"
 
-.if defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mg95)
+.if defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "g95"
 PYSETUPBUILDARGS+=     --fcompiler=g95
-.elif defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mgfortran)
+.elif defined(PKGSRC_FORTRAN) && ${PKGSRC_FORTRAN} == "gfortran"
 PYSETUPBUILDARGS+=     --fcompiler=gnu95
 LDFLAGS.Darwin+=       -undefined dynamic_lookup
 .else
@@ -30,57 +30,9 @@
 
 LDFLAGS.Darwin+=       -headerpad_max_install_names
 
-REPLACE_PYTHON+=       scipy/cluster/setup.py
-REPLACE_PYTHON+=       scipy/cluster/tests/test_hierarchy.py
-REPLACE_PYTHON+=       scipy/cluster/tests/test_vq.py
-REPLACE_PYTHON+=       scipy/fftpack/setup.py
-REPLACE_PYTHON+=       scipy/fftpack/tests/test_basic.py
-REPLACE_PYTHON+=       scipy/fftpack/tests/test_helper.py
-REPLACE_PYTHON+=       scipy/fftpack/tests/test_pseudo_diffs.py
-REPLACE_PYTHON+=       scipy/fftpack/tests/test_real_transforms.py
-REPLACE_PYTHON+=       scipy/integrate/setup.py
-REPLACE_PYTHON+=       scipy/interpolate/fitpack.py
-REPLACE_PYTHON+=       scipy/interpolate/setup.py
-REPLACE_PYTHON+=       scipy/interpolate/tests/test_fitpack.py
-REPLACE_PYTHON+=       scipy/interpolate/tests/test_fitpack2.py
-REPLACE_PYTHON+=       scipy/interpolate/tests/test_rbf.py
-REPLACE_PYTHON+=       scipy/io/arff/arffread.py
-REPLACE_PYTHON+=       scipy/io/arff/setup.py
-REPLACE_PYTHON+=       scipy/io/arff/tests/test_arffread.py
-REPLACE_PYTHON+=       scipy/io/harwell_boeing/setup.py
-REPLACE_PYTHON+=       scipy/io/matlab/setup.py
-REPLACE_PYTHON+=       scipy/io/matlab/tests/test_mio.py
-REPLACE_PYTHON+=       scipy/io/matlab/tests/test_mio_funcs.py
-REPLACE_PYTHON+=       scipy/io/setup.py
-REPLACE_PYTHON+=       scipy/io/tests/test_mmio.py
-REPLACE_PYTHON+=       scipy/linalg/setup.py
-REPLACE_PYTHON+=       scipy/linalg/tests/test_basic.py
-REPLACE_PYTHON+=       scipy/linalg/tests/test_blas.py
-REPLACE_PYTHON+=       scipy/linalg/tests/test_decomp.py
-REPLACE_PYTHON+=       scipy/linalg/tests/test_lapack.py
-REPLACE_PYTHON+=       scipy/linalg/tests/test_matfuncs.py
-REPLACE_PYTHON+=       scipy/odr/setup.py
-REPLACE_PYTHON+=       scipy/optimize/setup.py
-REPLACE_PYTHON+=       scipy/optimize/tests/test_zeros.py
-REPLACE_PYTHON+=       scipy/signal/setup.py
-REPLACE_PYTHON+=       scipy/sparse/generate_sparsetools.py
-REPLACE_PYTHON+=       scipy/sparse/linalg/dsolve/setup.py
-REPLACE_PYTHON+=       scipy/sparse/linalg/eigen/arpack/setup.py
-REPLACE_PYTHON+=       scipy/sparse/linalg/eigen/arpack/tests/test_arpack.py
-REPLACE_PYTHON+=       scipy/sparse/linalg/eigen/lobpcg/setup.py
-REPLACE_PYTHON+=       scipy/sparse/linalg/eigen/lobpcg/tests/test_lobpcg.py
-REPLACE_PYTHON+=       scipy/sparse/linalg/eigen/setup.py
-REPLACE_PYTHON+=       scipy/sparse/linalg/isolve/setup.py
-REPLACE_PYTHON+=       scipy/sparse/linalg/isolve/tests/test_iterative.py
-REPLACE_PYTHON+=       scipy/sparse/linalg/isolve/tests/test_lgmres.py
-REPLACE_PYTHON+=       scipy/sparse/linalg/setup.py
-REPLACE_PYTHON+=       scipy/sparse/linalg/tests/test_matfuncs.py
-REPLACE_PYTHON+=       scipy/sparse/setup.py
-REPLACE_PYTHON+=       scipy/spatial/setup.py
-REPLACE_PYTHON+=       scipy/spatial/tests/test_distance.py
-REPLACE_PYTHON+=       scipy/special/setup.py
-REPLACE_PYTHON+=       scipy/special/spfun_stats.py
-REPLACE_PYTHON+=       scipy/stats/setup.py
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+REPLACE_PYTHON+=       scipy/sparse/linalg/isolve/tests/test_gcrotmk.py
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -103,12 +55,15 @@
 # https://github.com/scipy/scipy/issues/9196
 # needs 'make install' first!
 do-test:
+       cd ${WRKDIR} && \
        ${PYTHONBIN} -c "import scipy; scipy.test('full')"
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/distutils.mk"
 .include "../../devel/py-cython/buildlink3.mk"
+.include "../../math/blas/buildlink3.mk"
 .include "../../math/fftw/buildlink3.mk"
+.include "../../math/lapack/buildlink3.mk"
 BUILDLINK_API_DEPENDS.py-numpy+=       ${PYPKGPREFIX}-numpy>=1.8.2
 .include "../../math/py-numpy/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c3bd616ce261 -r 95c8fe5b212f math/py-scipy/PLIST
--- a/math/py-scipy/PLIST       Fri Jun 14 14:49:12 2019 +0000
+++ b/math/py-scipy/PLIST       Fri Jun 14 14:53:29 2019 +0000
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.14 2018/05/14 06:39:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.15 2019/06/14 14:53:29 adam Exp $
 ${PYSITELIB}/${EGG_FILE}/PKG-INFO
 ${PYSITELIB}/${EGG_FILE}/SOURCES.txt
 ${PYSITELIB}/${EGG_FILE}/dependency_links.txt
 ${PYSITELIB}/${EGG_FILE}/top_level.txt
-${PYSITELIB}/scipy/BENTO_BUILD.txt
 ${PYSITELIB}/scipy/HACKING.rst.txt
 ${PYSITELIB}/scipy/INSTALL.rst.txt
 ${PYSITELIB}/scipy/LICENSE.txt
@@ -20,6 +19,9 @@
 ${PYSITELIB}/scipy/_build_utils/_fortran.py
 ${PYSITELIB}/scipy/_build_utils/_fortran.pyc
 ${PYSITELIB}/scipy/_build_utils/_fortran.pyo
+${PYSITELIB}/scipy/_build_utils/system_info.py
+${PYSITELIB}/scipy/_build_utils/system_info.pyc
+${PYSITELIB}/scipy/_build_utils/system_info.pyo
 ${PYSITELIB}/scipy/_distributor_init.py
 ${PYSITELIB}/scipy/_distributor_init.pyc
 ${PYSITELIB}/scipy/_distributor_init.pyo
@@ -56,6 +58,9 @@
 ${PYSITELIB}/scipy/_lib/decorator.py
 ${PYSITELIB}/scipy/_lib/decorator.pyc
 ${PYSITELIB}/scipy/_lib/decorator.pyo
+${PYSITELIB}/scipy/_lib/doccer.py
+${PYSITELIB}/scipy/_lib/doccer.pyc
+${PYSITELIB}/scipy/_lib/doccer.pyo
 ${PYSITELIB}/scipy/_lib/messagestream.so
 ${PYSITELIB}/scipy/_lib/setup.py
 ${PYSITELIB}/scipy/_lib/setup.pyc
@@ -220,7 +225,6 @@
 ${PYSITELIB}/scipy/interpolate/_fitpack_impl.py
 ${PYSITELIB}/scipy/interpolate/_fitpack_impl.pyc
 ${PYSITELIB}/scipy/interpolate/_fitpack_impl.pyo
-${PYSITELIB}/scipy/interpolate/_interpolate.so
 ${PYSITELIB}/scipy/interpolate/_pade.py
 ${PYSITELIB}/scipy/interpolate/_pade.pyc
 ${PYSITELIB}/scipy/interpolate/_pade.pyo
@@ -239,9 +243,6 @@
 ${PYSITELIB}/scipy/interpolate/interpolate.py
 ${PYSITELIB}/scipy/interpolate/interpolate.pyc
 ${PYSITELIB}/scipy/interpolate/interpolate.pyo
-${PYSITELIB}/scipy/interpolate/interpolate_wrapper.py
-${PYSITELIB}/scipy/interpolate/interpolate_wrapper.pyc
-${PYSITELIB}/scipy/interpolate/interpolate_wrapper.pyo
 ${PYSITELIB}/scipy/interpolate/ndgriddata.py
 ${PYSITELIB}/scipy/interpolate/ndgriddata.pyc
 ${PYSITELIB}/scipy/interpolate/ndgriddata.pyo
@@ -263,7 +264,6 @@
 ${PYSITELIB}/scipy/interpolate/tests/test_gil.py
 ${PYSITELIB}/scipy/interpolate/tests/test_interpnd.py
 ${PYSITELIB}/scipy/interpolate/tests/test_interpolate.py
-${PYSITELIB}/scipy/interpolate/tests/test_interpolate_wrapper.py
 ${PYSITELIB}/scipy/interpolate/tests/test_ndgriddata.py
 ${PYSITELIB}/scipy/interpolate/tests/test_pade.py
 ${PYSITELIB}/scipy/interpolate/tests/test_polyint.py
@@ -290,6 +290,7 @@
 ${PYSITELIB}/scipy/io/arff/tests/data/missing.arff
 ${PYSITELIB}/scipy/io/arff/tests/data/nodata.arff
 ${PYSITELIB}/scipy/io/arff/tests/data/test1.arff
+${PYSITELIB}/scipy/io/arff/tests/data/test10.arff
 ${PYSITELIB}/scipy/io/arff/tests/data/test2.arff
 ${PYSITELIB}/scipy/io/arff/tests/data/test3.arff
 ${PYSITELIB}/scipy/io/arff/tests/data/test4.arff
@@ -297,6 +298,7 @@
 ${PYSITELIB}/scipy/io/arff/tests/data/test6.arff
 ${PYSITELIB}/scipy/io/arff/tests/data/test7.arff
 ${PYSITELIB}/scipy/io/arff/tests/data/test8.arff
+${PYSITELIB}/scipy/io/arff/tests/data/test9.arff
 ${PYSITELIB}/scipy/io/arff/tests/test_arffread.py
 ${PYSITELIB}/scipy/io/harwell_boeing/__init__.py
 ${PYSITELIB}/scipy/io/harwell_boeing/__init__.pyc
@@ -696,41 +698,12 @@
 ${PYSITELIB}/scipy/misc/doccer.pyo
 ${PYSITELIB}/scipy/misc/ecg.dat
 ${PYSITELIB}/scipy/misc/face.dat
-${PYSITELIB}/scipy/misc/pilutil.py
-${PYSITELIB}/scipy/misc/pilutil.pyc
-${PYSITELIB}/scipy/misc/pilutil.pyo
 ${PYSITELIB}/scipy/misc/setup.py
 ${PYSITELIB}/scipy/misc/setup.pyc
 ${PYSITELIB}/scipy/misc/setup.pyo
 ${PYSITELIB}/scipy/misc/tests/__init__.py
-${PYSITELIB}/scipy/misc/tests/data/3x3x3.png
-${PYSITELIB}/scipy/misc/tests/data/3x3x4.png
-${PYSITELIB}/scipy/misc/tests/data/3x4x3.png
-${PYSITELIB}/scipy/misc/tests/data/3x4x4.png
-${PYSITELIB}/scipy/misc/tests/data/3x5x3.png
-${PYSITELIB}/scipy/misc/tests/data/3x5x4.png
-${PYSITELIB}/scipy/misc/tests/data/4x3x3.png
-${PYSITELIB}/scipy/misc/tests/data/4x3x4.png
-${PYSITELIB}/scipy/misc/tests/data/4x4x3.png
-${PYSITELIB}/scipy/misc/tests/data/4x4x4.png
-${PYSITELIB}/scipy/misc/tests/data/4x5x3.png
-${PYSITELIB}/scipy/misc/tests/data/4x5x4.png
-${PYSITELIB}/scipy/misc/tests/data/5x3x3.png
-${PYSITELIB}/scipy/misc/tests/data/5x3x4.png
-${PYSITELIB}/scipy/misc/tests/data/5x4x3.png
-${PYSITELIB}/scipy/misc/tests/data/5x4x4.png
-${PYSITELIB}/scipy/misc/tests/data/5x5x3.png
-${PYSITELIB}/scipy/misc/tests/data/5x5x4.png
-${PYSITELIB}/scipy/misc/tests/data/blocks2bit.png
-${PYSITELIB}/scipy/misc/tests/data/box1.png
-${PYSITELIB}/scipy/misc/tests/data/foo3x5x4indexed.png
-${PYSITELIB}/scipy/misc/tests/data/icon.png
-${PYSITELIB}/scipy/misc/tests/data/icon_mono.png
-${PYSITELIB}/scipy/misc/tests/data/icon_mono_flat.png
-${PYSITELIB}/scipy/misc/tests/data/pattern4bit.png
 ${PYSITELIB}/scipy/misc/tests/test_common.py
 ${PYSITELIB}/scipy/misc/tests/test_doccer.py
-${PYSITELIB}/scipy/misc/tests/test_pilutil.py
 ${PYSITELIB}/scipy/ndimage/__init__.py
 ${PYSITELIB}/scipy/ndimage/__init__.pyc
 ${PYSITELIB}/scipy/ndimage/__init__.pyo
@@ -754,9 +727,6 @@
 ${PYSITELIB}/scipy/ndimage/interpolation.py
 ${PYSITELIB}/scipy/ndimage/interpolation.pyc
 ${PYSITELIB}/scipy/ndimage/interpolation.pyo
-${PYSITELIB}/scipy/ndimage/io.py
-${PYSITELIB}/scipy/ndimage/io.pyc
-${PYSITELIB}/scipy/ndimage/io.pyo
 ${PYSITELIB}/scipy/ndimage/measurements.py
 ${PYSITELIB}/scipy/ndimage/measurements.pyc
 ${PYSITELIB}/scipy/ndimage/measurements.pyo
@@ -775,8 +745,8 @@
 ${PYSITELIB}/scipy/ndimage/tests/test_c_api.py
 ${PYSITELIB}/scipy/ndimage/tests/test_datatypes.py
 ${PYSITELIB}/scipy/ndimage/tests/test_filters.py
-${PYSITELIB}/scipy/ndimage/tests/test_io.py
 ${PYSITELIB}/scipy/ndimage/tests/test_measurements.py
+${PYSITELIB}/scipy/ndimage/tests/test_morphology.py
 ${PYSITELIB}/scipy/ndimage/tests/test_ndimage.py
 ${PYSITELIB}/scipy/ndimage/tests/test_regression.py
 ${PYSITELIB}/scipy/ndimage/tests/test_splines.py
@@ -798,12 +768,14 @@
 ${PYSITELIB}/scipy/odr/setup.pyo
 ${PYSITELIB}/scipy/odr/tests/__init__.py
 ${PYSITELIB}/scipy/odr/tests/test_odr.py
+${PYSITELIB}/scipy/optimize.pxd
 ${PYSITELIB}/scipy/optimize/__init__.py
 ${PYSITELIB}/scipy/optimize/__init__.pyc
 ${PYSITELIB}/scipy/optimize/__init__.pyo
 ${PYSITELIB}/scipy/optimize/_basinhopping.py
 ${PYSITELIB}/scipy/optimize/_basinhopping.pyc
 ${PYSITELIB}/scipy/optimize/_basinhopping.pyo
+${PYSITELIB}/scipy/optimize/_bglu_dense.so
 ${PYSITELIB}/scipy/optimize/_cobyla.so
 ${PYSITELIB}/scipy/optimize/_constraints.py
 ${PYSITELIB}/scipy/optimize/_constraints.pyc
@@ -814,6 +786,9 @@
 ${PYSITELIB}/scipy/optimize/_differentialevolution.py
 ${PYSITELIB}/scipy/optimize/_differentialevolution.pyc
 ${PYSITELIB}/scipy/optimize/_differentialevolution.pyo
+${PYSITELIB}/scipy/optimize/_dual_annealing.py
+${PYSITELIB}/scipy/optimize/_dual_annealing.pyc
+${PYSITELIB}/scipy/optimize/_dual_annealing.pyo
 ${PYSITELIB}/scipy/optimize/_group_columns.so
 ${PYSITELIB}/scipy/optimize/_hessian_update_strategy.py
 ${PYSITELIB}/scipy/optimize/_hessian_update_strategy.pyc
@@ -828,6 +803,15 @@
 ${PYSITELIB}/scipy/optimize/_linprog_ip.py
 ${PYSITELIB}/scipy/optimize/_linprog_ip.pyc
 ${PYSITELIB}/scipy/optimize/_linprog_ip.pyo
+${PYSITELIB}/scipy/optimize/_linprog_rs.py
+${PYSITELIB}/scipy/optimize/_linprog_rs.pyc
+${PYSITELIB}/scipy/optimize/_linprog_rs.pyo
+${PYSITELIB}/scipy/optimize/_linprog_simplex.py
+${PYSITELIB}/scipy/optimize/_linprog_simplex.pyc
+${PYSITELIB}/scipy/optimize/_linprog_simplex.pyo
+${PYSITELIB}/scipy/optimize/_linprog_util.py
+${PYSITELIB}/scipy/optimize/_linprog_util.pyc
+${PYSITELIB}/scipy/optimize/_linprog_util.pyo
 ${PYSITELIB}/scipy/optimize/_lsq/__init__.py
 ${PYSITELIB}/scipy/optimize/_lsq/__init__.pyc
 ${PYSITELIB}/scipy/optimize/_lsq/__init__.pyo
@@ -870,6 +854,22 @@
 ${PYSITELIB}/scipy/optimize/_root.py
 ${PYSITELIB}/scipy/optimize/_root.pyc
 ${PYSITELIB}/scipy/optimize/_root.pyo
+${PYSITELIB}/scipy/optimize/_root_scalar.py
+${PYSITELIB}/scipy/optimize/_root_scalar.pyc
+${PYSITELIB}/scipy/optimize/_root_scalar.pyo
+${PYSITELIB}/scipy/optimize/_shgo.py
+${PYSITELIB}/scipy/optimize/_shgo.pyc
+${PYSITELIB}/scipy/optimize/_shgo.pyo
+${PYSITELIB}/scipy/optimize/_shgo_lib/__init__.py
+${PYSITELIB}/scipy/optimize/_shgo_lib/__init__.pyc
+${PYSITELIB}/scipy/optimize/_shgo_lib/__init__.pyo
+${PYSITELIB}/scipy/optimize/_shgo_lib/sobol_seq.py
+${PYSITELIB}/scipy/optimize/_shgo_lib/sobol_seq.pyc
+${PYSITELIB}/scipy/optimize/_shgo_lib/sobol_seq.pyo
+${PYSITELIB}/scipy/optimize/_shgo_lib/sobol_vec.gz
+${PYSITELIB}/scipy/optimize/_shgo_lib/triangulation.py
+${PYSITELIB}/scipy/optimize/_shgo_lib/triangulation.pyc
+${PYSITELIB}/scipy/optimize/_shgo_lib/triangulation.pyo



Home | Main Index | Thread Index | Old Index