# Created by pyp2rpm-3.3.2 %global pypi_name h5netcdf Name: python-%{pypi_name} Version: 0.8.0 Release: 1%{?dist} Summary: netCDF4 via h5py License: BSD URL: https://github.com/shoyer/h5netcdf Source0: https://files.pythonhosted.org/packages/source/h/%{pypi_name}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(h5py) BuildRequires: python3dist(netcdf4) BuildRequires: python3dist(pytest) BuildRequires: python3dist(setuptools) %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... _netCDF4: .. _h5py: .. _h5pyd: h5netcdf? -- We've seen occasional reports of better performance with h5py than %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(h5py) %description -n python3-%{pypi_name} 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... _netCDF4: .. _h5py: .. _h5pyd: h5netcdf? -- We've seen occasional reports of better performance with h5py than %prep %autosetup -n %{pypi_name}-%{version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install %check %{__python3} setup.py test %files -n python3-%{pypi_name} %license LICENSE %doc README.rst %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog * Wed May 06 2020 mockbuilder - 0.8.0-1 - Initial package.