From ef03090fea951d7c013e0648328061e34a85384d Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 18 Feb 2016 02:22:00 +0100 Subject: [PATCH] python-numpy: disable cblas for musl --- srcpkgs/python-numpy/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python-numpy/template b/srcpkgs/python-numpy/template index 24e850e11f..d8afad9aea 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=2 +revision=3 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 cblas-devel lapack-devel" +makedepends="python-devel python3.4-devel lapack-devel" pycompile_module="numpy" short_desc="Fast and sophisticated array facility to Python2" maintainer="Alessio Sergi " @@ -15,6 +15,10 @@ license="3-clause-BSD" distfiles="${PYPI_SITE}/n/numpy/numpy-${version}.tar.gz" checksum=7356e98fbcc529e8d540666f5a919912752e569150e9a4f8d869c686f14c720b +case "$XBPS_TARGET_MACHINE" in + i686|x86_64) makedepends+=" cblas-devel";; +esac + export ATLAS=None LDFLAGS="-shared"