mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
python-numpy: disable cblas for musl
This commit is contained in:
parent
32c56e092d
commit
ef03090fea
1 changed files with 6 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'python-numpy'
|
# Template file for 'python-numpy'
|
||||||
pkgname=python-numpy
|
pkgname=python-numpy
|
||||||
version=1.10.4
|
version=1.10.4
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc="numpy-${version}"
|
wrksrc="numpy-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools gcc-fortran"
|
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"
|
pycompile_module="numpy"
|
||||||
short_desc="Fast and sophisticated array facility to Python2"
|
short_desc="Fast and sophisticated array facility to Python2"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
@ -15,6 +15,10 @@ license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/n/numpy/numpy-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/n/numpy/numpy-${version}.tar.gz"
|
||||||
checksum=7356e98fbcc529e8d540666f5a919912752e569150e9a4f8d869c686f14c720b
|
checksum=7356e98fbcc529e8d540666f5a919912752e569150e9a4f8d869c686f14c720b
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686|x86_64) makedepends+=" cblas-devel";;
|
||||||
|
esac
|
||||||
|
|
||||||
export ATLAS=None
|
export ATLAS=None
|
||||||
LDFLAGS="-shared"
|
LDFLAGS="-shared"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue