diff options
author | adam <adam@pkgsrc.org> | 2017-10-05 08:21:27 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-10-05 08:21:27 +0000 |
commit | 586cde2067cf1cbaca1f787c55a9d2e83d8cbc13 (patch) | |
tree | f32e0f6933ef82ea7b2f3171e7ce75f4d3cf0449 /math | |
parent | 7b848530e2cc4e7d9c1cecd5e3a1c4576a2a7ae6 (diff) | |
download | pkgsrc-586cde2067cf1cbaca1f787c55a9d2e83d8cbc13.tar.gz |
py-numpy: update to 1.13.3
NumPy 1.13.3:
This is a bugfix release for some problems found since 1.13.1. The most
important fixes are for CVE-2017-12852 and temporary elision. Users of earlier
versions of 1.13 should upgrade.
Diffstat (limited to 'math')
-rw-r--r-- | math/py-numpy/Makefile | 4 | ||||
-rw-r--r-- | math/py-numpy/distinfo | 12 | ||||
-rw-r--r-- | math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py | 18 |
3 files changed, 17 insertions, 17 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index 73fd54402f5..1918c4569da 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.43 2017/07/07 04:21:10 adam Exp $ +# $NetBSD: Makefile,v 1.44 2017/10/05 08:21:27 adam Exp $ -DISTNAME= numpy-1.13.1 +DISTNAME= numpy-1.13.3 GITHUB_PROJECT= numpy PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= math python diff --git a/math/py-numpy/distinfo b/math/py-numpy/distinfo index 40b536a5715..49731a0de66 100644 --- a/math/py-numpy/distinfo +++ b/math/py-numpy/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.24 2017/07/07 04:21:10 adam Exp $ +$NetBSD: distinfo,v 1.25 2017/10/05 08:21:27 adam Exp $ -SHA1 (numpy-1.13.1.tar.gz) = 81a3af2d9b958a8ae40946855fc197901026746e -RMD160 (numpy-1.13.1.tar.gz) = 96792157187fc7b682a9dae8a40432ab188a77c1 -SHA512 (numpy-1.13.1.tar.gz) = 98102998cd5abafb8c89c98c37cc1ec1228c02f8e6295c4945cb0ecc6a04e32289ed0853b3bac4f7319d3aa7b9bc854e7ad0c1de36435b1d676bad79a74a1ec6 -Size (numpy-1.13.1.tar.gz) = 4336552 bytes +SHA1 (numpy-1.13.3.tar.gz) = 3638927fd264fd8e90b3894175cb3f15e4d7e3a3 +RMD160 (numpy-1.13.3.tar.gz) = 1fdf1e5137b3c79863834737ff2ecb845590cbe0 +SHA512 (numpy-1.13.3.tar.gz) = 1ff454514528edf9666a7b9e4fd990f3cf10410d3c8d9e395cbd5ba7765d55939406bf15a036de5fe6df833013a29f4db13d2df2081349bd9bd743052fbf2f11 +Size (numpy-1.13.3.tar.gz) = 4339878 bytes SHA1 (patch-aa) = c964fa13fb120b1b0f9d0bf5bc713507cd60b945 SHA1 (patch-ab) = b421455fdbb666c8075d8bffbeb59533434d23e6 SHA1 (patch-numpy_distutils_fcompiler_g95.py) = be73b64a3e551df998b6a904d6db762bf28a98ed -SHA1 (patch-numpy_distutils_fcompiler_gnu.py) = 5df9710db0f1cf1265ed57d86521a1627c461daf +SHA1 (patch-numpy_distutils_fcompiler_gnu.py) = 4b0833d09560ebb954dd53ebc5cdcce339705bac diff --git a/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py b/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py index 4f06f15134c..72024f2fade 100644 --- a/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py +++ b/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py @@ -1,4 +1,4 @@ -$NetBSD: patch-numpy_distutils_fcompiler_gnu.py,v 1.12 2017/06/15 07:02:53 adam Exp $ +$NetBSD: patch-numpy_distutils_fcompiler_gnu.py,v 1.13 2017/10/05 08:21:27 adam Exp $ Linker needs -shared explictly (at least with GCC 4.7 on SunOS), plus any ABI flags as appropriate. @@ -6,7 +6,7 @@ On OS X, do not use '-bundle' and 'dynamic_lookup' (to avoid Python.framework). Do not use -funroll-loops compiler flag. Do not run a shell command when it is "None". ---- numpy/distutils/fcompiler/gnu.py.orig 2017-06-07 15:26:35.000000000 +0000 +--- numpy/distutils/fcompiler/gnu.py.orig 2017-09-29 20:10:10.000000000 +0000 +++ numpy/distutils/fcompiler/gnu.py @@ -57,8 +57,10 @@ class GnuFCompiler(FCompiler): return ('gfortran', m.group(1)) @@ -18,9 +18,9 @@ Do not run a shell command when it is "None". + if m.group(1).split(".") < ["4", "2"]: + self.g2c = "f95" return ('gfortran', m.group(1)) - m = re.search(r'GNU Fortran.*?\-?([0-9-.]+)', version_string) - if m: -@@ -87,7 +89,7 @@ class GnuFCompiler(FCompiler): + m = re.search( + r'GNU Fortran.*?\-?([0-9-.]+\.[0-9-.]+)', version_string) +@@ -88,7 +90,7 @@ class GnuFCompiler(FCompiler): 'compiler_f77' : [None, "-g", "-Wall", "-fno-second-underscore"], 'compiler_f90' : None, # Use --fcompiler=gnu95 for f90 codes 'compiler_fix' : None, @@ -29,7 +29,7 @@ Do not run a shell command when it is "None". 'archiver' : ["ar", "-cr"], 'ranlib' : ["ranlib"], 'linker_exe' : [None, "-g", "-Wall"] -@@ -139,7 +141,7 @@ class GnuFCompiler(FCompiler): +@@ -140,7 +142,7 @@ class GnuFCompiler(FCompiler): s = 'Env. variable MACOSX_DEPLOYMENT_TARGET set to 10.3' warnings.warn(s, stacklevel=2) @@ -38,7 +38,7 @@ Do not run a shell command when it is "None". else: opt.append("-shared") if sys.platform.startswith('sunos'): -@@ -215,7 +217,6 @@ class GnuFCompiler(FCompiler): +@@ -216,7 +218,6 @@ class GnuFCompiler(FCompiler): opt = ['-O2'] else: opt = ['-O3'] @@ -46,7 +46,7 @@ Do not run a shell command when it is "None". return opt def _c_arch_flags(self): -@@ -270,7 +271,7 @@ class Gnu95FCompiler(GnuFCompiler): +@@ -271,7 +272,7 @@ class Gnu95FCompiler(GnuFCompiler): "-fno-second-underscore"] + _EXTRAFLAGS, 'compiler_fix' : [None, "-Wall", "-g","-ffixed-form", "-fno-second-underscore"] + _EXTRAFLAGS, @@ -55,7 +55,7 @@ Do not run a shell command when it is "None". 'archiver' : ["ar", "-cr"], 'ranlib' : ["ranlib"], 'linker_exe' : [None, "-Wall"] -@@ -283,7 +284,7 @@ class Gnu95FCompiler(GnuFCompiler): +@@ -284,7 +285,7 @@ class Gnu95FCompiler(GnuFCompiler): def _universal_flags(self, cmd): """Return a list of -arch flags for every supported architecture.""" |