setuptools (it's used as a package locator but importlib.metadata in
newer Python core or the external importlib_metadata are preferred).
So drop the RDEP in that case (it's still kept for py27) and bump
revisions.
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
some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.
This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -
- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.
- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.
devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
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.
the scipy package used to work as umfpack also had math/amd as
LIB_DEPENDS but this was removed from umfpack and py-scipy wasn't
changed to match.
- sync WANTLIB, bump REVISION
broken packages noticed by thib@