python-scipy: trigger rebuild for musl

This commit is contained in:
Alessio Sergi 2016-02-18 02:22:45 +01:00
parent ef03090fea
commit 86a797970a

View File

@ -6,8 +6,7 @@ wrksrc="scipy-${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 python-numpy python3.4-numpy
cblas-devel lapack-devel"
makedepends="python-devel python3.4-devel python-numpy python3.4-numpy lapack-devel"
depends="python-numpy"
pycompile_module="scipy"
short_desc="Scientific library for Python2"
@ -21,10 +20,6 @@ export ATLAS=None
export FFLAGS="-fPIC"
LDFLAGS="-shared"
case "$XBPS_TARGET_MACHINE" in
x86_64-musl) broken="http://build.voidlinux.eu/builders/x86_64-musl_builder/builds/9145/steps/shell_3/logs/stdio";;
esac
pre_build() {
# remove shebangs
find scipy -type f -name '*.py' -exec sed -i '/^#!.*python$/d' {} +