pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-numpy py-numpy: updated to 1.16.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/4aa80325dd85
branches: trunk
changeset: 318903:4aa80325dd85
user: adam <adam%pkgsrc.org@localhost>
date: Fri Feb 01 09:24:24 2019 +0000
description:
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:
math/py-numpy/Makefile | 4 +-
math/py-numpy/PLIST | 3 +-
math/py-numpy/distinfo | 14 +-
math/py-numpy/patches/patch-aa | 52 ----------
math/py-numpy/patches/patch-ab | 15 --
math/py-numpy/patches/patch-numpy_distutils_fcompiler_____init____.py | 15 ++
math/py-numpy/patches/patch-numpy_linalg_lapack__litemodule.c | 15 ++
7 files changed, 41 insertions(+), 77 deletions(-)
diffs (164 lines):
diff -r ce15bee984c8 -r 4aa80325dd85 math/py-numpy/Makefile
--- a/math/py-numpy/Makefile Fri Feb 01 09:22:33 2019 +0000
+++ b/math/py-numpy/Makefile Fri Feb 01 09:24:24 2019 +0000
@@ -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 -r ce15bee984c8 -r 4aa80325dd85 math/py-numpy/PLIST
--- a/math/py-numpy/PLIST Fri Feb 01 09:22:33 2019 +0000
+++ b/math/py-numpy/PLIST Fri Feb 01 09:24:24 2019 +0000
@@ -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/_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 -r ce15bee984c8 -r 4aa80325dd85 math/py-numpy/distinfo
--- a/math/py-numpy/distinfo Fri Feb 01 09:22:33 2019 +0000
+++ b/math/py-numpy/distinfo Fri Feb 01 09:24:24 2019 +0000
@@ -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 -r ce15bee984c8 -r 4aa80325dd85 math/py-numpy/patches/patch-aa
--- a/math/py-numpy/patches/patch-aa Fri Feb 01 09:22:33 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r ce15bee984c8 -r 4aa80325dd85 math/py-numpy/patches/patch-ab
--- a/math/py-numpy/patches/patch-ab Fri Feb 01 09:22:33 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2016/07/24 15:25:22 kamil Exp $
-
-Add function definition for FNAME(MAIN_).
-
---- numpy/linalg/lapack_litemodule.c.orig 2015-04-16 14:14:55.000000000 +0000
-+++ numpy/linalg/lapack_litemodule.c
-@@ -17,6 +17,8 @@ typedef struct { float r, i; } f2c_compl
- typedef struct { double r, i; } f2c_doublecomplex;
- /* typedef long int (*L_fp)(); */
-
-+int FNAME(MAIN_)() { return 0; }
-+
- extern int FNAME(dgelsd)(int *m, int *n, int *nrhs,
- double a[], int *lda, double b[], int *ldb,
- double s[], double *rcond, int *rank,
diff -r ce15bee984c8 -r 4aa80325dd85 math/py-numpy/patches/patch-numpy_distutils_fcompiler_____init____.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-numpy/patches/patch-numpy_distutils_fcompiler_____init____.py Fri Feb 01 09:24:24 2019 +0000
@@ -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 -r ce15bee984c8 -r 4aa80325dd85 math/py-numpy/patches/patch-numpy_linalg_lapack__litemodule.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-numpy/patches/patch-numpy_linalg_lapack__litemodule.c Fri Feb 01 09:24:24 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-numpy_linalg_lapack__litemodule.c,v 1.1 2019/02/01 09:24:25 adam Exp $
+
+Add function definition for FNAME(MAIN_).
+
+--- numpy/linalg/lapack_litemodule.c.orig 2015-04-16 14:14:55.000000000 +0000
++++ numpy/linalg/lapack_litemodule.c
+@@ -17,6 +17,8 @@ typedef struct { float r, i; } f2c_compl
+ typedef struct { double r, i; } f2c_doublecomplex;
+ /* typedef long int (*L_fp)(); */
+
++int FNAME(MAIN_)() { return 0; }
++
+ extern int FNAME(dgelsd)(int *m, int *n, int *nrhs,
+ double a[], int *lda, double b[], int *ldb,
+ double s[], double *rcond, int *rank,
Home |
Main Index |
Thread Index |
Old Index