From d4553cdb70023a35e8a79604647b759ad167aaf5162368bda9eef1e21ee34784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 4 Jun 2019 12:12:21 +0000 Subject: [PATCH] Accepting request 707466 from home:mcalabkova:branches:devel:languages:python:numeric - Update to 1.5.1.2 * fix for issue #919 (assigning 2d array to 3d variable with singleton first dimension with v[:] = a). * minimum numpy changed from 1.9.0 to 1.10.0. * fix issue #908 by adding workaround for incorrect value returned by nc_inq_var_fill for netcdf-c < 4.5.1. * fix bug writing slice to unlimited dimension that is not the first (leftmost). Issue #906. * make sure data gets converted to type of scale_factor when add_offset=0 and scale_factor=1 (issue #913). * fix for reading empty (NIL) string attributes (issue #915). * add read-shared mode (mode='rs'). Significantly speeds up reads of NETCDF3 files (pull request #902). * added support for parallel IO in the classic netcdf-3 formats through the pnetcdf library (pull request #897). OBS-URL: https://build.opensuse.org/request/show/707466 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-netCDF4?expand=0&rev=5 --- netCDF4-1.4.3.2.tar.gz | 3 --- netCDF4-1.5.1.2.tar.gz | 3 +++ python-netCDF4.changes | 19 +++++++++++++++++++ python-netCDF4.spec | 14 +++++++------- 4 files changed, 29 insertions(+), 10 deletions(-) delete mode 100644 netCDF4-1.4.3.2.tar.gz create mode 100644 netCDF4-1.5.1.2.tar.gz diff --git a/netCDF4-1.4.3.2.tar.gz b/netCDF4-1.4.3.2.tar.gz deleted file mode 100644 index 3e0f3f2..0000000 --- a/netCDF4-1.4.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ae0ea8658a83c4c62a76af5a764aad3b4608d7376f07deb143d00817901da9a -size 766901 diff --git a/netCDF4-1.5.1.2.tar.gz b/netCDF4-1.5.1.2.tar.gz new file mode 100644 index 0000000..db118bc --- /dev/null +++ b/netCDF4-1.5.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f34b3152d089d59b1dee29189c5df0c8ec6f18f2f49a6b6903d226d6cfc23798 +size 808430 diff --git a/python-netCDF4.changes b/python-netCDF4.changes index 663a491..dd442b9 100644 --- a/python-netCDF4.changes +++ b/python-netCDF4.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Tue Jun 4 11:44:56 UTC 2019 - Marketa Calabkova + +- Update to 1.5.1.2 + * fix for issue #919 (assigning 2d array to 3d variable with singleton + first dimension with v[:] = a). + * minimum numpy changed from 1.9.0 to 1.10.0. + * fix issue #908 by adding workaround for incorrect value returned + by nc_inq_var_fill for netcdf-c < 4.5.1. + * fix bug writing slice to unlimited dimension that is not the first + (leftmost). Issue #906. + * make sure data gets converted to type of scale_factor when add_offset=0 + and scale_factor=1 (issue #913). + * fix for reading empty (NIL) string attributes (issue #915). + * add read-shared mode (mode='rs'). Significantly speeds up reads of NETCDF3 + files (pull request #902). + * added support for parallel IO in the classic netcdf-3 formats through the + pnetcdf library (pull request #897). + ------------------------------------------------------------------- Wed Mar 20 16:36:46 CET 2019 - Matej Cepl diff --git a/python-netCDF4.spec b/python-netCDF4.spec index ea7adb2..8480d35 100644 --- a/python-netCDF4.spec +++ b/python-netCDF4.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-netCDF4 -Version: 1.4.3.2 +Version: 1.5.1.2 Release: 0 Summary: Python interface to netCDF 3 and 4 License: HPND AND MIT @@ -29,20 +29,20 @@ Patch0: netcdf-disable-broken-test.patch BuildRequires: %{python_module Cython >= 0.21} BuildRequires: %{python_module cftime} BuildRequires: %{python_module devel} -BuildRequires: %{python_module numpy-devel >= 1.9.0} +BuildRequires: %{python_module numpy-devel >= 1.10.0} BuildRequires: %{python_module setuptools >= 18.0} BuildRequires: fdupes BuildRequires: hdf-devel -BuildRequires: hdf5-devel +BuildRequires: hdf5-devel >= 1.8.4 BuildRequires: libcurl-devel BuildRequires: libjpeg-devel -BuildRequires: netcdf-devel +BuildRequires: netcdf-devel >= 4.2 BuildRequires: python-rpm-macros Requires: hdf -Requires: hdf5 -Requires: netcdf +Requires: hdf5 >= 1.8.4 +Requires: netcdf >= 4.2 Requires: python-cftime -Requires: python-numpy >= 1.9.0 +Requires: python-numpy >= 1.10.0 # SECTION tests BuildRequires: %{python_module pytest} BuildRequires: netcdf