From c6270011699774e57e6571050da2e3c4062f259f Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 17 Feb 2016 19:19:17 +0100 Subject: [PATCH] python-numpy: cblas support --- common/shlibs | 1 + srcpkgs/python-numpy/template | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/common/shlibs b/common/shlibs index 62561a8856d..103194b1ce8 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1764,6 +1764,7 @@ libsodium.so.18 libsodium-1.0.7_1 libstrophe.so.0 libstrophe-0.8.6_1 libganv-1.so.1 ganv-1.4.2_1 libblas.so.3 blas-3.5.0_1 +libcblas.so.3 cblas-3.6.0_1 liblapack.so.3 lapack-3.5.0_1 libcinnamon-menu-3.so.0 cinnamon-menus-2.2.0_1 libpolkit-gtk-mate-1.so.0 mate-polkit-1.8.0_2 diff --git a/srcpkgs/python-numpy/template b/srcpkgs/python-numpy/template index 9f86749f279..24e850e11f4 100644 --- a/srcpkgs/python-numpy/template +++ b/srcpkgs/python-numpy/template @@ -1,12 +1,12 @@ # Template file for 'python-numpy' pkgname=python-numpy version=1.10.4 -revision=1 +revision=2 wrksrc="numpy-${version}" build_style=python-module python_versions="2.7 3.4" hostmakedepends="python-setuptools python3.4-setuptools gcc-fortran" -makedepends="python-devel python3.4-devel blas-devel lapack-devel" +makedepends="python-devel python3.4-devel cblas-devel lapack-devel" pycompile_module="numpy" short_desc="Fast and sophisticated array facility to Python2" maintainer="Alessio Sergi " @@ -14,14 +14,11 @@ homepage="http://www.numpy.org/" license="3-clause-BSD" distfiles="${PYPI_SITE}/n/numpy/numpy-${version}.tar.gz" checksum=7356e98fbcc529e8d540666f5a919912752e569150e9a4f8d869c686f14c720b -nocross=yes export ATLAS=None LDFLAGS="-shared" pre_build() { - # make sure _dotblas.so gets built - sed -i '/NO_ATLAS_INFO/,+1d' numpy/core/setup.py # remove shebangs find numpy -type f -name '*.py' -exec sed -i '/^#!.*python$/d' {} + }