17
0
Files
python-h5netcdf/python-h5netcdf.spec
Benjamin Greiner 9ceff2b803 Accepting request 1324292 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.7.3
  * Fix empty selection by @kmuehlbauer in #297
- Previous releases since 1.3.0
  * Retrieve format from _root instead of group instance by
    @kmuehlbauer in #294
  * fix writing lists of strings for NETCDF4 by @kmuehlbauer in
    #292
  * fix unintentional changes in test suite by @kmuehlbauer in #277
  * Update test URL for ros3-test, add pytest-asyncio by
    @kmuehlbauer in #284
  * create enums with low-level API to keep order by value, add
    h5dump-tests by @kmuehlbauer in #285
  * FIX: interoperability netcdf4 vs h5netcdf by @kmuehlbauer in
    #286
  * Add partial support for NETCDF4_CLASSIC format by @huard in
    #283
  * do not return padded arrays if slice is exceeding variable
    shape by @kmuehlbauer in #288
  * Add better error messages when operating on a closed file by
    @kmuehlbauer in #275
  * fix invalid string format specifier, match raises/warns with
    messages in test suite by @kmuehlbauer in #270
  * fix hsds/h5pyd test fixture spinup issues by @kmuehlbauer in
    #265
  * Fix and add circular referrer tests for Python 3.14 by
    @kmuehlbauer in #264
  * Avoid opening file with h5pyd just to check if it exists by
    @JonasGronberg and @kmuehlbauer in #266
  * Return None for chunks on scalar variables by @rho-novatron in
    #259

OBS-URL: https://build.opensuse.org/request/show/1324292
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5netcdf?expand=0&rev=23
2025-12-23 15:07:13 +00:00

70 lines
2.1 KiB
RPMSpec

#
# spec file for package python-h5netcdf
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-h5netcdf
Version: 1.7.3
Release: 0
Summary: A Python library to use netCDF4 files via h5py
License: BSD-3-Clause
URL: https://github.com/h5netcdf/h5netcdf
Source: https://files.pythonhosted.org/packages/source/h/h5netcdf/h5netcdf-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 42}
BuildRequires: %{python_module setuptools_scm >= 7}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-h5py
Requires: python-packaging
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module h5py}
BuildRequires: %{python_module netCDF4}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
A Python interface for the netCDF4 file-format that reads and writes
local or remote HDF5 files directly via h5py or h5pyd, without
relying on the Unidata netCDF library.
%prep
%autosetup -p1 -n h5netcdf-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -rs
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/h5netcdf
%{python_sitelib}/h5netcdf-%{version}.dist-info
%changelog