diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-07-14 23:48:06 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-07-15 00:09:35 +0800 |
commit | 3482259da6b939bedcde374ce94d3833a333a748 (patch) | |
tree | d1ed56ddecafbc3508b64b6839ee0c7d6a339ca6 /math/py-pyreadr/files/patch-pyreadr-librdata.c | |
parent | devel/py-poetry2setup: Add py-poetry2setup 1.0.0 (diff) |
math/py-pyreadr: Add py-pyreadr 0.4.2
pyreadr is a python package to read and write R RData and Rds files into/from
pandas dataframes. It does not need to have R or other external dependencies
installed.
WWW: https://github.com/ofajardo/pyreadr
Diffstat (limited to '')
-rw-r--r-- | math/py-pyreadr/files/patch-pyreadr-librdata.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/math/py-pyreadr/files/patch-pyreadr-librdata.c b/math/py-pyreadr/files/patch-pyreadr-librdata.c new file mode 100644 index 000000000000..d708f7f8dadb --- /dev/null +++ b/math/py-pyreadr/files/patch-pyreadr-librdata.c @@ -0,0 +1,36 @@ +--- pyreadr/librdata.c.orig 2021-06-07 07:39:42 UTC ++++ pyreadr/librdata.c +@@ -4,8 +4,6 @@ + { + "distutils": { + "depends": [ +- "pyreadr/libs/librdata/src/rdata.h", +- "pyreadr/libs/librdata/src/rdata_io_unistd.h" + ], + "extra_compile_args": [ + "-DHAVE_ZLIB", +@@ -23,13 +21,6 @@ + "name": "pyreadr.librdata", + "sources": [ + "pyreadr/librdata.pyx", +- "pyreadr/libs/librdata/src/CKHashTable.c", +- "pyreadr/libs/librdata/src/rdata_bits.c", +- "pyreadr/libs/librdata/src/rdata_error.c", +- "pyreadr/libs/librdata/src/rdata_io_unistd.c", +- "pyreadr/libs/librdata/src/rdata_parser.c", +- "pyreadr/libs/librdata/src/rdata_read.c", +- "pyreadr/libs/librdata/src/rdata_write.c" + ] + }, + "module_name": "pyreadr.librdata" +@@ -645,8 +636,8 @@ static CYTHON_INLINE float __PYX_NAN() { + #include <time.h> + #include <stdint.h> + #include <sys/types.h> +-#include "libs/librdata/src/rdata.h" +-#include "libs/librdata/src/rdata_io_unistd.h" ++#include <rdata.h> ++#include <rdata_io_unistd.h> + #include <sys/stat.h> + #include <unistd.h> + #include <fcntl.h> |