From c72be04135be4dfe81ba54e5f784faeb8ccc15b8700cb1783b8cf77134f59d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 8 Oct 2019 09:15:13 +0000 Subject: [PATCH] - Update to 1.5.2: * fix for scaling bug when _Unsigned attribute is set and byteorder of data does not match native byteorder (issue #930). * revise documentation for Python 3 (issue #946). * establish support for Python 2.7, 3.5, 3.6 and 3.7 (issue #948). * use dict built-in instead of OrderedDict for Python 3.7+ (pull request #955). * remove underline ANSI in Dataset string representation (pull request #956). * remove newlines from string representation (pull request #960). * fix for issue #957 (size of scalar var is a float since numpy.prod(())=1.0). * make sure Variable.setncattr fails to set _FillValue (issue #959). * fix detection of parallel HDF5 support with netcdf-c 4.6.1 (issue #964). - Remove not needed netcdf-disable-broken-test.patch as the bug was fixed in netcdf itself OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-netCDF4?expand=0&rev=7 --- netCDF4-1.5.1.2.tar.gz | 3 --- netCDF4-1.5.2.tar.gz | 3 +++ netcdf-disable-broken-test.patch | 11 ----------- python-netCDF4.changes | 18 ++++++++++++++++++ python-netCDF4.spec | 4 +--- 5 files changed, 22 insertions(+), 17 deletions(-) delete mode 100644 netCDF4-1.5.1.2.tar.gz create mode 100644 netCDF4-1.5.2.tar.gz delete mode 100644 netcdf-disable-broken-test.patch diff --git a/netCDF4-1.5.1.2.tar.gz b/netCDF4-1.5.1.2.tar.gz deleted file mode 100644 index db118bc..0000000 --- a/netCDF4-1.5.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f34b3152d089d59b1dee29189c5df0c8ec6f18f2f49a6b6903d226d6cfc23798 -size 808430 diff --git a/netCDF4-1.5.2.tar.gz b/netCDF4-1.5.2.tar.gz new file mode 100644 index 0000000..d372d8e --- /dev/null +++ b/netCDF4-1.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e075e1937ae5b297292c22adb72d7fdf557ba7509e6fd967fec133f1be178922 +size 801015 diff --git a/netcdf-disable-broken-test.patch b/netcdf-disable-broken-test.patch deleted file mode 100644 index c8535e5..0000000 --- a/netcdf-disable-broken-test.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/test/run_all.py -+++ b/test/run_all.py -@@ -25,7 +25,7 @@ if not __has_nc_inq_path__: - if not __has_nc_create_mem__: - test_files.remove('tst_create_mem.py') - sys.stdout.write('not running tst_create_mem.py ...\n') --if not __has_cdf5_format__ or struct.calcsize("P") < 8: -+if True: - test_files.remove('tst_cdf5.py') - sys.stdout.write('not running tst_cdf5.py ...\n') - diff --git a/python-netCDF4.changes b/python-netCDF4.changes index dd442b9..f44aaf3 100644 --- a/python-netCDF4.changes +++ b/python-netCDF4.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Tue Oct 8 09:09:31 UTC 2019 - Tomáš Chvátal + +- Update to 1.5.2: + * fix for scaling bug when _Unsigned attribute is set and byteorder of data + does not match native byteorder (issue #930). + * revise documentation for Python 3 (issue #946). + * establish support for Python 2.7, 3.5, 3.6 and 3.7 (issue #948). + * use dict built-in instead of OrderedDict for Python 3.7+ + (pull request #955). + * remove underline ANSI in Dataset string representation (pull request #956). + * remove newlines from string representation (pull request #960). + * fix for issue #957 (size of scalar var is a float since numpy.prod(())=1.0). + * make sure Variable.setncattr fails to set _FillValue (issue #959). + * fix detection of parallel HDF5 support with netcdf-c 4.6.1 (issue #964). +- Remove not needed netcdf-disable-broken-test.patch as the bug was + fixed in netcdf itself + ------------------------------------------------------------------- Tue Jun 4 11:44:56 UTC 2019 - Marketa Calabkova diff --git a/python-netCDF4.spec b/python-netCDF4.spec index 8480d35..8df873b 100644 --- a/python-netCDF4.spec +++ b/python-netCDF4.spec @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-netCDF4 -Version: 1.5.1.2 +Version: 1.5.2 Release: 0 Summary: Python interface to netCDF 3 and 4 License: HPND AND MIT Group: Development/Languages/Python URL: https://github.com/Unidata/netcdf4-python Source: https://files.pythonhosted.org/packages/source/n/netCDF4/netCDF4-%{version}.tar.gz -Patch0: netcdf-disable-broken-test.patch BuildRequires: %{python_module Cython >= 0.21} BuildRequires: %{python_module cftime} BuildRequires: %{python_module devel} @@ -66,7 +65,6 @@ containing vlens, and vlens containing compound types) are not supported. %prep %setup -q -n netCDF4-%{version} -%patch0 -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing"