python-scipy: update to 0.16.0

This commit is contained in:
Alessio Sergi 2015-08-15 03:00:00 +02:00
parent aab3c0b325
commit 618a4e108b

View file

@ -1,6 +1,6 @@
# Template file for 'python-scipy'
pkgname=python-scipy
version=0.15.1
version=0.16.0
revision=1
wrksrc="scipy-${version}"
build_style=python-module
@ -14,8 +14,8 @@ short_desc="Scientific library for Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.scipy.org/"
license="3-clause-BSD"
distfiles="${SOURCEFORGE_SITE}/scipy/${version}/scipy-${version}.tar.xz"
checksum=5d8f10d2faf9e7bb5aae568e44b2ee36ccf685e808a0fbe34711cbfd37ce7d37
distfiles="${PYPI_SITE}/s/scipy/scipy-${version}.tar.gz"
checksum=92592f40097098f3fdbe7f5855d535b29bb16719c2bb59c728bce5e7a28790e0
nocross=yes
export ATLAS=None
@ -23,11 +23,8 @@ export FFLAGS="-fPIC"
LDFLAGS="-shared"
pre_build() {
# no .txt files
sed -i '/config.add_data_files/d' setup.py
# remove shebangs
find . -type f -name '*.py' -exec sed -i 's,^#!.*python$,,' {} +
find scipy -type f -name '*.py' -exec sed -i '/^#!.*python$/d' {} +
}
post_install() {
vlicense LICENSE.txt LICENSE
@ -40,6 +37,6 @@ python3.4-scipy_package() {
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
vlicense ${wrksrc}/LICENSE.txt LICENSE
vlicense LICENSE.txt LICENSE
}
}