python-numpy: update to 1.11.0

This commit is contained in:
Alessio Sergi 2016-05-13 17:53:53 +02:00
parent e1b96d3d18
commit 296d349bb0
2 changed files with 12 additions and 26 deletions

View File

@ -1,19 +1,9 @@
--- numpy/core/src/private/npy_config.h.orig 2015-08-11 19:03:43.000000000 +0200
+++ numpy/core/src/private/npy_config.h 2015-10-08 08:20:25.489203036 +0200
@@ -71,7 +71,7 @@
/* Disable broken gnu trig functions on linux */
-#if defined(__linux__) && defined(__GNUC__)
+#if defined(__linux__) && defined(__GLIBC__)
#if defined(HAVE_FEATURES_H)
#include <features.h>
@@ -96,6 +96,6 @@
#endif
#undef TRIG_OK
-#endif /* defined(__linux__) && defined(__GNUC__) */
+#endif /* defined(__linux__) && defined(__GLIBC__) */
--- numpy/core/src/multiarray/numpyos.c.orig
+++ numpy/core/src/multiarray/numpyos.c
@@ -15,7 +15,7 @@
#ifdef HAVE_STRTOLD_L
#include <stdlib.h>
-#include <xlocale.h>
+#include <locale.h>
#endif

View File

@ -1,28 +1,24 @@
# Template file for 'python-numpy'
pkgname=python-numpy
version=1.10.4
revision=4
version=1.11.0
revision=1
wrksrc="numpy-${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 lapack-devel"
makedepends="python-devel python3.4-devel lapack-devel cblas-devel"
pycompile_module="numpy"
short_desc="Fast and sophisticated array facility to Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.numpy.org/"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/n/numpy/numpy-${version}.tar.gz"
checksum=7356e98fbcc529e8d540666f5a919912752e569150e9a4f8d869c686f14c720b
checksum=a1d1268d200816bfb9727a7a27b78d8e37ecec2e4d5ebd33eb64e2789e0db43e
alternatives="
numpy:f2py:/usr/bin/f2py2.7
numpy:f2py.1:/usr/share/man/man1/f2py2.7.1"
case "$XBPS_TARGET_MACHINE" in
i686|x86_64) makedepends+=" cblas-devel";;
esac
export ATLAS=None
LDFLAGS="-shared"