scipy properly detects cblas now that libcblas.so has a dep on
libblas.so. Register the dep on math/cblas, along with math/lapack,
because scipy directly links against those. (py-numpy, a BUILD
and RUN_DEPENDS, also links against those but better be explicit).
Spotted by naddy@
While here, bytecompile all the installed .py files
which caused scipy 0.16.1 to stop working in certain situations.
This issue was reported by David Kalliecharan and is also documented at:
https://github.com/scipy/scipy/issues/5266
The failure looks like this:
In [9]: import scipy.interpolate as interp
python3.6:/usr/local/lib/python3.6/site-packages/scipy/linalg/_flapack.so: undefined symbol 'sgegv_'
python3.6:/usr/local/lib/python3.6/site-packages/scipy/linalg/_flapack.so: undefined symbol 'dgegv_'
python3.6:/usr/local/lib/python3.6/site-packages/scipy/linalg/_flapack.so: undefined symbol 'cgegv_'
python3.6:/usr/local/lib/python3.6/site-packages/scipy/linalg/_flapack.so: undefined symbol 'zgegv_'
While here also switch MASTER_SITES from sourceforge to pypi and switch from
g77 to gfortran.
science, and engineering. It includes modules for statistics,
optimization, integration, linear algebra, Fourier transforms, signal
and image processing, genetic algorithms, ODE solvers, and more. It
is also the name of a very popular conference on scientific
programming with Python.
The SciPy library depends on NumPy, which provides convenient and fast
N-dimensional array manipulation. The SciPy library is built to work
with NumPy arrays, and provides many user-friendly and efficient
numerical routines such as routines for numerical integration and
optimization. Together, they run on all popular operating systems, are
quick to install, and are free of charge. NumPy and SciPy are easy to
use, but powerful enough to be depended upon by some of the world's
leading scientists and engineers. If you need to manipulate numbers on
a computer and display or publish the results, give SciPy a try!
ok ajacoutot@