pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-pandas
Module Name: pkgsrc
Committed By: joerg
Date: Sun Aug 9 19:11:32 UTC 2020
Modified Files:
pkgsrc/math/py-pandas: distinfo
Added Files:
pkgsrc/math/py-pandas/patches:
patch-pandas___libs_src_ujson_python_objToJSON.c
Log Message:
Fix build against numpy 1.19.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/math/py-pandas/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/math/py-pandas/patches/patch-pandas___libs_src_ujson_python_objToJSON.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/py-pandas/distinfo
diff -u pkgsrc/math/py-pandas/distinfo:1.22 pkgsrc/math/py-pandas/distinfo:1.23
--- pkgsrc/math/py-pandas/distinfo:1.22 Fri Feb 14 16:21:55 2020
+++ pkgsrc/math/py-pandas/distinfo Sun Aug 9 19:11:32 2020
@@ -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
Added files:
Index: pkgsrc/math/py-pandas/patches/patch-pandas___libs_src_ujson_python_objToJSON.c
diff -u /dev/null pkgsrc/math/py-pandas/patches/patch-pandas___libs_src_ujson_python_objToJSON.c:1.1
--- /dev/null Sun Aug 9 19:11:32 2020
+++ pkgsrc/math/py-pandas/patches/patch-pandas___libs_src_ujson_python_objToJSON.c Sun Aug 9 19:11:32 2020
@@ -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