[MacPorts] #50222: py-netcdf4: update to version 1.2.2, add support for Yython 3.5
MacPorts
noreply at macports.org
Tue Jan 5 01:51:10 PST 2016
#50222: py-netcdf4: update to version 1.2.2, add support for Yython 3.5
----------------------+------------------------
Reporter: mojca@… | Owner: sean@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: py-netcdf4
----------------------+------------------------
I'm attaching a patch for an update of py-netcdf4 to version 1.2.2, also
adding support for python 3.5.
Some warnings show up that might be worth looking into:
{{{
In file included from netCDF4/_netCDF4.c:269:
In file included from
/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from
/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
/site-packages/numpy/core/include/numpy/ndarrayobject.h:18:
In file included from
/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:
/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
warning: "Using deprecated NumPy API, disable it by " "#defining
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it by " \
^
netCDF4/_netCDF4.c:6459:86: warning: passing 'char **' to parameter of
type 'const char **' discards qualifiers in nested pointer types
[-Wincompatible-pointer-types]
__pyx_v_ierr = nc_put_att_string(__pyx_t_6, __pyx_v_varid,
__pyx_v_attname, 1, (&__pyx_v_datstring));
^~~~~~~~~~~~~~~~~~~~
/opt/local/include/netcdf.h:1041:30: note: passing argument to parameter
'op' here
size_t len, const char **op);
^
2 warnings generated.
}}}
but I'm not sure where it comes from and it might not be relevant at all.
--
Ticket URL: <https://trac.macports.org/ticket/50222>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list