Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-pandas Fix build against numpy 1.19.
details: https://anonhg.NetBSD.org/pkgsrc/rev/6855f38d22d7
branches: trunk
changeset: 436841:6855f38d22d7
user: joerg <joerg%pkgsrc.org@localhost>
date: Sun Aug 09 19:11:32 2020 +0000
description:
Fix build against numpy 1.19.
diffstat:
math/py-pandas/distinfo | 3 +-
math/py-pandas/patches/patch-pandas___libs_src_ujson_python_objToJSON.c | 15 ++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 36441a204d5e -r 6855f38d22d7 math/py-pandas/distinfo
--- a/math/py-pandas/distinfo Sun Aug 09 19:03:57 2020 +0000
+++ b/math/py-pandas/distinfo Sun Aug 09 19:11:32 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.22 2020/02/14 16:21:55 minskim Exp $
+$NetBSD: distinfo,v 1.23 2020/08/09 19:11:32 joerg Exp $
SHA1 (pandas-0.25.3.tar.gz) = 4123c7452df2662a99ae70821c119f4035f217ba
RMD160 (pandas-0.25.3.tar.gz) = cb526595c8b38bd4973a49ebebb61c165421628b
SHA512 (pandas-0.25.3.tar.gz) = ab282e4d3145daafa68d5e3a2e82d692385eb62720d6503ddb3a4f76cf380591cbd32ba3e15fa5ba93725a221d3f74062012ca13a0df8e08c324e706ca35ccf6
Size (pandas-0.25.3.tar.gz) = 12632585 bytes
+SHA1 (patch-pandas___libs_src_ujson_python_objToJSON.c) = 691a76fae9b28310d08db30c87213b0c5fbf0ad6
diff -r 36441a204d5e -r 6855f38d22d7 math/py-pandas/patches/patch-pandas___libs_src_ujson_python_objToJSON.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-pandas/patches/patch-pandas___libs_src_ujson_python_objToJSON.c Sun Aug 09 19:11:32 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-pandas___libs_src_ujson_python_objToJSON.c,v 1.1 2020/08/09 19:11:32 joerg Exp $
+
+Fix build with NumPy 1.19.
+
+--- pandas/_libs/src/ujson/python/objToJSON.c.orig 2019-10-31 20:16:52.000000000 +0000
++++ pandas/_libs/src/ujson/python/objToJSON.c
+@@ -178,7 +178,7 @@ void *initObjToJSON(void)
+
+ /* Initialise numpy API and use 2/3 compatible return */
+ import_array();
+- return NUMPY_IMPORT_ARRAY_RETVAL;
++ return NULL;
+ }
+
+ static TypeContext *createTypeContext(void) {
Home |
Main Index |
Thread Index |
Old Index