From 7feb2543b36a6ba1b8631c4f64f2f3a3f6744a1f Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Mon, 2 Mar 2015 19:20:55 +0100 Subject: [PATCH] python-numpy: update to 1.9.2 --- srcpkgs/python-numpy/template | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python-numpy/template b/srcpkgs/python-numpy/template index ca47e72e5c..32cf74ee9b 100644 --- a/srcpkgs/python-numpy/template +++ b/srcpkgs/python-numpy/template @@ -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 " 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