Accepting request 1110158 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.6.4 * set path to SSL certificates internally, so https DAP URLs work with wheels (issue #1246, requires nc_rc_set function available starting with netcdf-c 4.9.1, plus bugfix in netcdf-c PR #2690). * Added certifi as a dependency. * Added `isopen` method to `MFDataset` object to check if underlying files are open. - Version 1.6.3 * Use ``nc_put_vars`` for strided writes for netcdf-c >= 4.6.2 (issue #1222). * _Unsigned="false" should be same as not having _Unsigned set (issue #1232). _Unsigned now must be set to "true" or "True" for variable to be interpreted as unsigned, instead of just having _Unsigned be set (to anything). OBS-URL: https://build.opensuse.org/request/show/1110158 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-netCDF4?expand=0&rev=28
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0382b02ff6a288419f6ffec85dec40f451f41b8755547154c575ddd9f0f4ae53
|
||||
size 777254
|
3
netCDF4-1.6.4.tar.gz
Normal file
3
netCDF4-1.6.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:66da6542cbc7a6045cd1d979397dfd5a3f6c880c76d52b8f98bb108c82ee8c6e
|
||||
size 778542
|
@@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 10 17:08:14 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 1.6.4
|
||||
* set path to SSL certificates internally, so https DAP URLs work
|
||||
with wheels (issue #1246, requires nc_rc_set function available
|
||||
starting with netcdf-c 4.9.1, plus bugfix in netcdf-c PR #2690).
|
||||
* Added certifi as a dependency.
|
||||
* Added `isopen` method to `MFDataset` object to check if
|
||||
underlying files are open.
|
||||
- Version 1.6.3
|
||||
* Use ``nc_put_vars`` for strided writes for netcdf-c >= 4.6.2
|
||||
(issue #1222).
|
||||
* _Unsigned="false" should be same as not having _Unsigned set
|
||||
(issue #1232). _Unsigned now must be set to "true" or "True" for
|
||||
variable to be interpreted as unsigned, instead of just having
|
||||
_Unsigned be set (to anything).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 7 12:25:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
1
python-netCDF4.rpmlintrc
Normal file
1
python-netCDF4.rpmlintrc
Normal file
@@ -0,0 +1 @@
|
||||
addFilter("zero-length .*site-packages/netCDF4/plugins/empty.txt")
|
@@ -16,20 +16,22 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
Name: python-netCDF4
|
||||
Version: 1.6.2
|
||||
Version: 1.6.4
|
||||
Release: 0
|
||||
Summary: Python interface to netCDF 3 and 4
|
||||
License: HPND AND MIT
|
||||
URL: https://github.com/Unidata/netcdf4-python
|
||||
Source: https://files.pythonhosted.org/packages/source/n/netCDF4/netCDF4-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Cython >= 0.21}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
Source99: python-netCDF4.rpmlintrc
|
||||
BuildRequires: %{python_module Cython >= 0.29 with %python-Cython < 3}
|
||||
BuildRequires: %{python_module certifi}
|
||||
BuildRequires: %{python_module cftime}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module devel >= 3.7}
|
||||
BuildRequires: %{python_module numpy-devel >= 1.10.0}
|
||||
BuildRequires: %{python_module setuptools >= 18.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 61}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: hdf5-devel >= 1.8.4
|
||||
BuildRequires: libcurl-devel
|
||||
@@ -38,6 +40,7 @@ BuildRequires: netcdf-devel >= 4.2
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: hdf5 >= 1.8.4
|
||||
Requires: netcdf >= 4.2
|
||||
Requires: python-certifi
|
||||
Requires: python-cftime
|
||||
Requires: python-numpy >= 1.10.0
|
||||
Requires(post): update-alternatives
|
||||
@@ -68,10 +71,10 @@ containing vlens, and vlens containing compound types) are not supported.
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/ncinfo
|
||||
%python_clone -a %{buildroot}%{_bindir}/nc4tonc3
|
||||
%python_clone -a %{buildroot}%{_bindir}/nc3tonc4
|
||||
@@ -101,6 +104,7 @@ popd
|
||||
%python_alternative %{_bindir}/nc3tonc4
|
||||
%python_alternative %{_bindir}/nc4tonc3
|
||||
%python_alternative %{_bindir}/ncinfo
|
||||
%{python_sitearch}/*
|
||||
%{python_sitearch}/netCDF4
|
||||
%{python_sitearch}/netCDF4-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user