python-numpy: update to 1.9.2

This commit is contained in:
Alessio Sergi 2015-03-02 19:20:55 +01:00
parent 9441debf00
commit 7feb2543b3

View file

@ -1,7 +1,7 @@
# Template file for 'python-numpy'
pkgname=python-numpy
version=1.9.1
revision=3
version=1.9.2
revision=1
wrksrc="numpy-${version}"
build_style=python-module
python_versions="2.7 3.4"
@ -14,7 +14,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.numpy.org/"
license="3-clause-BSD"
distfiles="${SOURCEFORGE_SITE}/numpy/NumPy/${version}/numpy-${version}.tar.gz"
checksum=0075bbe07e30b659ae4415446f45812dc1b96121a493a4a1f8b1ba77b75b1e1c
checksum=325e5f2b0b434ecb6e6882c7e1034cc6cdde3eeeea87dbc482575199a6aeef2a
nocross=yes
export ATLAS=None
@ -25,7 +25,7 @@ pre_build() {
sed -i '/NO_ATLAS_INFO/,+1d' numpy/core/setup.py
# remove shebangs
find . -type f -name '*.py' -exec sed -i "s,^#!.*python$,," {} +
find numpy -type f -name '*.py' -exec sed -i '/^#!.*python$/d' {} +
}
post_install() {
# create symlinks for unversioned f2py* scripts
@ -47,7 +47,7 @@ post_install() {
}
python-numpy-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include/python2.7
@ -68,7 +68,7 @@ python3.4-numpy_package() {
}
}
python3.4-numpy-devel_package() {
depends="python3.4-numpy>=${version}_${revision}"
depends="python3.4-numpy-${version}_${revision}"
short_desc="${_short_desc} - development files"
pkg_install() {
vmove usr/include/python3.4m