dev-python/numpy: fix cblas detection.

Drop old ebuilds versionator eclass.
  Drop live ebuild.  It has not been taken care of since numpy-1.9.

Suggested-By: Zongyu Zhang <zzy2529420793@gmail.com>
Closes: https://bugs.gentoo.org/647072
Closes: https://bugs.gentoo.org/688392
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
This commit is contained in:
Benda Xu
2019-06-23 20:46:21 +08:00
parent af2a03e837
commit f5c71a4aa9
13 changed files with 6 additions and 961 deletions

View File

@@ -70,10 +70,11 @@ pc_libs() {
python_prepare_all() {
if use lapack; then
append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-other cblas lapack)"
local incdir="${EPREFIX}"/usr/include
local libdir="${EPREFIX}"/usr/$(get_libdir)
cat >> site.cfg <<-EOF || die
[blas]
include_dirs = $(pc_incdir cblas)
include_dirs = $(pc_incdir cblas):${incdir}
library_dirs = $(pc_libdir cblas blas):${libdir}
blas_libs = $(pc_libs cblas blas)
[lapack]