python-scipy: update to 0.16.0
This commit is contained in:
parent
aab3c0b325
commit
618a4e108b
@ -1,6 +1,6 @@
|
|||||||
# Template file for 'python-scipy'
|
# Template file for 'python-scipy'
|
||||||
pkgname=python-scipy
|
pkgname=python-scipy
|
||||||
version=0.15.1
|
version=0.16.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="scipy-${version}"
|
wrksrc="scipy-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
@ -14,8 +14,8 @@ short_desc="Scientific library for Python2"
|
|||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="http://www.scipy.org/"
|
homepage="http://www.scipy.org/"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${SOURCEFORGE_SITE}/scipy/${version}/scipy-${version}.tar.xz"
|
distfiles="${PYPI_SITE}/s/scipy/scipy-${version}.tar.gz"
|
||||||
checksum=5d8f10d2faf9e7bb5aae568e44b2ee36ccf685e808a0fbe34711cbfd37ce7d37
|
checksum=92592f40097098f3fdbe7f5855d535b29bb16719c2bb59c728bce5e7a28790e0
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
export ATLAS=None
|
export ATLAS=None
|
||||||
@ -23,11 +23,8 @@ export FFLAGS="-fPIC"
|
|||||||
LDFLAGS="-shared"
|
LDFLAGS="-shared"
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
# no .txt files
|
|
||||||
sed -i '/config.add_data_files/d' setup.py
|
|
||||||
|
|
||||||
# remove shebangs
|
# 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() {
|
post_install() {
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
@ -40,6 +37,6 @@ python3.4-scipy_package() {
|
|||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
vlicense ${wrksrc}/LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user