diff options
author | adam <adam@pkgsrc.org> | 2019-02-01 09:24:24 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2019-02-01 09:24:24 +0000 |
commit | a15199a0aa8bf1d46a8f20bbe688d9beac902664 (patch) | |
tree | bcc2bf7d935dbb39a9ab6c3667869ec479d789c6 /math/py-numpy | |
parent | 9af5e456d63e238e4514c30e557ceaf62273914f (diff) | |
download | pkgsrc-a15199a0aa8bf1d46a8f20bbe688d9beac902664.tar.gz |
py-numpy: updated to 1.16.1
1.16.1:
* BUG: Check paths are unicode, bytes or path-like
* ENH: add mm->q floordiv
* ENH: port np.core.overrides to C for speed
* BUG: Ensure probabilities are not NaN in choice
* MAINT: add warning to numpy.distutils for LDFLAGS append behavior.
* ENH: add "max difference" messages to np.testing.assert_array_equal...
* BUG: Fix incorrect/missing reference cleanups found using valgrind
that wraps subprocess
* DOC, TST: Clean up matplotlib imports
* BUG: Fix reference counting for subarrays containing objects
* BUG: Ensure failing memory allocations are reported
* BUG: Fix leak of void scalar buffer info
* MAINT: Change the order of checking for local file.
* BUG: loosen kwargs requirements in ediff1d
* DOC: clarify the extend of __array_function__ support in NumPy...
* BUG: Check that dtype or formats arguments are not None.
* BUG: fix f2py problem to build wrappers using PGI's Fortran
* BUG: double decref of dtype in failure codepath. Test and fix
* BUG, DOC: test, fix that f2py.compile accepts str and bytes,...
* BUG: resolve writeback in arr_insert failure paths
* ENH: Add mm->qm divmod
* BUG: Fix SystemError when pickling datetime64 array with pickle5
* BUG: Fix rounding of denormals in double and float to half casts.
* TEST: pin mingw version
* BUG: ndarrays pickled by 1.16 cannot be loaded by 1.15.4 and...
* BUG: do not Py_DECREF NULL pointer
* ENH: add _dtype_ctype to namespace for freeze analysis
* BUG: fail if old multiarray module detected
* BUG: Do not double-quote arguments passed on to the linker
* BUG: Do not insert extra double quote into preprocessor macros
Diffstat (limited to 'math/py-numpy')
-rw-r--r-- | math/py-numpy/Makefile | 4 | ||||
-rw-r--r-- | math/py-numpy/PLIST | 3 | ||||
-rw-r--r-- | math/py-numpy/distinfo | 14 | ||||
-rw-r--r-- | math/py-numpy/patches/patch-aa | 52 | ||||
-rw-r--r-- | math/py-numpy/patches/patch-numpy_distutils_fcompiler_____init____.py | 15 | ||||
-rw-r--r-- | math/py-numpy/patches/patch-numpy_linalg_lapack__litemodule.c (renamed from math/py-numpy/patches/patch-ab) | 2 |
6 files changed, 27 insertions, 63 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index 6d18c1da282..1a9d8962a89 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.57 2019/01/15 21:36:57 adam Exp $ +# $NetBSD: Makefile,v 1.58 2019/02/01 09:24:24 adam Exp $ -DISTNAME= numpy-1.16.0 +DISTNAME= numpy-1.16.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= math python MASTER_SITES= ${MASTER_SITE_PYPI:=n/numpy/} diff --git a/math/py-numpy/PLIST b/math/py-numpy/PLIST index 7c4058a5d40..49e83df3d73 100644 --- a/math/py-numpy/PLIST +++ b/math/py-numpy/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.24 2019/01/15 21:36:57 adam Exp $ +@comment $NetBSD: PLIST,v 1.25 2019/02/01 09:24:24 adam Exp $ bin/f2py${PYVERSSUFFIX} ${PLIST.py2x}bin/f2py2 ${PLIST.py3x}bin/f2py3 @@ -63,6 +63,7 @@ ${PYSITELIB}/numpy/core/_internal.pyo ${PYSITELIB}/numpy/core/_methods.py ${PYSITELIB}/numpy/core/_methods.pyc ${PYSITELIB}/numpy/core/_methods.pyo +${PYSITELIB}/numpy/core/_multiarray_module_test.so ${PYSITELIB}/numpy/core/_multiarray_tests.so ${PYSITELIB}/numpy/core/_multiarray_umath.so ${PYSITELIB}/numpy/core/_operand_flag_tests.so diff --git a/math/py-numpy/distinfo b/math/py-numpy/distinfo index cd70c67f546..7d3f4c7622b 100644 --- a/math/py-numpy/distinfo +++ b/math/py-numpy/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.40 2019/01/24 22:27:10 maya Exp $ +$NetBSD: distinfo,v 1.41 2019/02/01 09:24:24 adam Exp $ -SHA1 (numpy-1.16.0.zip) = 1a0f1faf9dea25c45ac691482051a3f81d094bd8 -RMD160 (numpy-1.16.0.zip) = fae6dfa563045508d509d26510f3d9d9772aad45 -SHA512 (numpy-1.16.0.zip) = a252748c54b349319c8b8b69aae8f58853ac698a9ad0fb04fd1150db543910f25bc88bb3ca73d3d51d0658ab9379756870bc7b24bbaf58ffb8717d80366a4c52 -Size (numpy-1.16.0.zip) = 5052439 bytes -SHA1 (patch-aa) = e783263f1e3743aa79edd0b983e292a8646ef22e -SHA1 (patch-ab) = b421455fdbb666c8075d8bffbeb59533434d23e6 +SHA1 (numpy-1.16.1.zip) = 49787ce8e31aff103a7b182749abc3c0249b7f72 +RMD160 (numpy-1.16.1.zip) = dd59773e393c7a41c7286b2ca93e13a415c830ec +SHA512 (numpy-1.16.1.zip) = e4adce4f40a3cb6ac482f82db9fcd079179b03b0e878920cfc7d98b9f622adab997c68af892b209f417d5f31b4123a1c5ff5c07cf5b0aaa496d8be6c8354bde8 +Size (numpy-1.16.1.zip) = 5070040 bytes +SHA1 (patch-numpy_distutils_fcompiler_____init____.py) = 49d070da5b48bd9818b37ac3254341fa68503c53 SHA1 (patch-numpy_distutils_fcompiler_g95.py) = be73b64a3e551df998b6a904d6db762bf28a98ed SHA1 (patch-numpy_distutils_fcompiler_gnu.py) = db8d3238c618ecd5900650a2150efb9459e94e96 SHA1 (patch-numpy_distutils_system__info.py) = dfd88a140b65a66c222a95ea4be6f20a33702e3b +SHA1 (patch-numpy_linalg_lapack__litemodule.c) = b421455fdbb666c8075d8bffbeb59533434d23e6 diff --git a/math/py-numpy/patches/patch-aa b/math/py-numpy/patches/patch-aa deleted file mode 100644 index c8f4efde752..00000000000 --- a/math/py-numpy/patches/patch-aa +++ /dev/null @@ -1,52 +0,0 @@ -$NetBSD: patch-aa,v 1.6 2019/01/24 22:27:10 maya Exp $ - -Recognize g95 - -Backport upstream commit (fixes hang): -https://github.com/numpy/numpy/commit/5aa8b84aca5fda0438c4357d7d17ae4fcc926a46 - ---- numpy/distutils/fcompiler/__init__.py.orig 2013-04-07 05:04:05.000000000 +0000 -+++ numpy/distutils/fcompiler/__init__.py -@@ -466,10 +466,8 @@ class FCompiler(CCompiler): - noarch = self.distutils_vars.get('noarch', noopt) - debug = self.distutils_vars.get('debug', False) - -- f77 = shlex.split(self.command_vars.compiler_f77, -- posix=(os.name == 'posix')) -- f90 = shlex.split(self.command_vars.compiler_f90, -- posix=(os.name == 'posix')) -+ f77 = self.command_vars.compiler_f77 -+ f90 = self.command_vars.compiler_f90 - - f77flags = [] - f90flags = [] -@@ -477,8 +475,10 @@ class FCompiler(CCompiler): - fixflags = [] - - if f77: -+ f77 = shlex.split(f77, posix=(os.name == 'posix')) - f77flags = self.flag_vars.f77 - if f90: -+ f90 = shlex.split(f90, posix=(os.name == 'posix')) - f90flags = self.flag_vars.f90 - freeflags = self.flag_vars.free - # XXX Assuming that free format is default for f90 compiler. -@@ -490,8 +490,8 @@ class FCompiler(CCompiler): - # environment variable has been customized by CI or a user - # should perhaps eventually be more throughly tested and more - # robustly handled -- fix = shlex.split(fix, posix=(os.name == 'posix')) - if fix: -+ fix = shlex.split(fix, posix=(os.name == 'posix')) - fixflags = self.flag_vars.fix + f90flags - - oflags, aflags, dflags = [], [], [] -@@ -756,7 +756,7 @@ _default_compilers = ( - ('irix.*', ('mips', 'gnu', 'gnu95',)), - ('aix.*', ('ibm', 'gnu', 'gnu95',)), - # os.name mappings -- ('posix', ('gnu', 'gnu95',)), -+ ('posix', ('gnu', 'gnu95', 'g95',)), - ('nt', ('gnu', 'gnu95',)), - ('mac', ('gnu95', 'gnu', 'pg')), - ) diff --git a/math/py-numpy/patches/patch-numpy_distutils_fcompiler_____init____.py b/math/py-numpy/patches/patch-numpy_distutils_fcompiler_____init____.py new file mode 100644 index 00000000000..43d437eba68 --- /dev/null +++ b/math/py-numpy/patches/patch-numpy_distutils_fcompiler_____init____.py @@ -0,0 +1,15 @@ +$NetBSD: patch-numpy_distutils_fcompiler_____init____.py,v 1.1 2019/02/01 09:24:25 adam Exp $ + +Recognize g95. + +--- numpy/distutils/fcompiler/__init__.py.orig 2013-04-07 05:04:05.000000000 +0000 ++++ numpy/distutils/fcompiler/__init__.py +@@ -756,7 +756,7 @@ _default_compilers = ( + ('irix.*', ('mips', 'gnu', 'gnu95',)), + ('aix.*', ('ibm', 'gnu', 'gnu95',)), + # os.name mappings +- ('posix', ('gnu', 'gnu95',)), ++ ('posix', ('gnu', 'gnu95', 'g95',)), + ('nt', ('gnu', 'gnu95',)), + ('mac', ('gnu95', 'gnu', 'pg')), + ) diff --git a/math/py-numpy/patches/patch-ab b/math/py-numpy/patches/patch-numpy_linalg_lapack__litemodule.c index 5d526c1b41a..90c9a239884 100644 --- a/math/py-numpy/patches/patch-ab +++ b/math/py-numpy/patches/patch-numpy_linalg_lapack__litemodule.c @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.4 2016/07/24 15:25:22 kamil Exp $ +$NetBSD: patch-numpy_linalg_lapack__litemodule.c,v 1.1 2019/02/01 09:24:25 adam Exp $ Add function definition for FNAME(MAIN_). |