Blame python-zarr.spec

b1c40d8
%global srcname zarr
b1c40d8
b1c40d8
Name:           python-%{srcname}
7cbedc1
Version:        2.7.1
6d4d6ae
Release:        1%{?dist}
2b27f1f
Summary:        Chunked, compressed, N-dimensional arrays for Python
b1c40d8
b1c40d8
License:        MIT
b1c40d8
URL:            https://github.com/zarr-developers/zarr
b1c40d8
Source0:        %{pypi_source}
b1c40d8
b1c40d8
BuildArch:      noarch
b1c40d8
b1c40d8
BuildRequires:  python3-devel
b1c40d8
BuildRequires:  python3dist(asciitree)
b1c40d8
BuildRequires:  python3dist(bsddb3)
b1c40d8
BuildRequires:  python3dist(fasteners)
b1c40d8
BuildRequires:  python3dist(h5py)
b1c40d8
BuildRequires:  python3dist(lmdb)
b1c40d8
BuildRequires:  python3dist(msgpack)
b1c40d8
BuildRequires:  python3dist(numcodecs) >= 0.5.3
b1c40d8
BuildRequires:  python3dist(numpy) >= 1.7
b1c40d8
BuildRequires:  python3dist(pytest)
b1c40d8
BuildRequires:  python3dist(setuptools)
3a94629
BuildRequires:  python3dist(setuptools) > 18
b1c40d8
BuildRequires:  python3dist(setuptools-scm) > 1.5.4
b1c40d8
b1c40d8
%description
b1c40d8
Zarr is a Python package providing an implementation of compressed, chunked,
b1c40d8
N-dimensional arrays, designed for use in parallel computing.
b1c40d8
b1c40d8
b1c40d8
%package -n     python3-%{srcname}
b1c40d8
Summary:        %{summary}
b1c40d8
%{?python_provide:%python_provide python3-%{srcname}}
b1c40d8
b1c40d8
%description -n python3-%{srcname}
b1c40d8
Zarr is a Python package providing an implementation of compressed, chunked,
b1c40d8
N-dimensional arrays, designed for use in parallel computing.
b1c40d8
b1c40d8
b1c40d8
%package -n python-%{srcname}-doc
b1c40d8
Summary:        zarr documentation
b1c40d8
b1c40d8
BuildArch:      noarch
b1c40d8
b1c40d8
BuildRequires:  python3dist(numpydoc)
b1c40d8
BuildRequires:  python3dist(sphinx)
b1c40d8
BuildRequires:  python3dist(sphinx-issues)
fbbd92c
BuildRequires:  python3dist(sphinx-rtd-theme)
b1c40d8
b1c40d8
%description -n python-%{srcname}-doc
b1c40d8
Documentation for zarr
b1c40d8
b1c40d8
b1c40d8
%prep
b1c40d8
%autosetup -n %{srcname}-%{version} -p1
b1c40d8
b1c40d8
# Remove bundled egg-info
b1c40d8
rm -rf %{srcname}.egg-info
b1c40d8
b1c40d8
b1c40d8
%build
b1c40d8
%py3_build
b1c40d8
b1c40d8
# generate html docs
b1c40d8
PYTHONPATH=${PWD} sphinx-build-3 docs html
e7fcfa6
b1c40d8
# remove the sphinx-build leftovers
e7fcfa6
rm -rf html/.{doctrees,buildinfo,_static/donotdelete}
b1c40d8
b1c40d8
b1c40d8
%install
b1c40d8
%py3_install
b1c40d8
b1c40d8
b1c40d8
%check
9db9643
%{pytest}
b1c40d8
b1c40d8
b1c40d8
%files -n python3-%{srcname}
b1c40d8
%license LICENSE
fbbd92c
%doc README.md
0bfbb68
%{python3_sitelib}/%{srcname}/
0bfbb68
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
b1c40d8
b1c40d8
%files -n python-%{srcname}-doc
b1c40d8
%doc html
b1c40d8
%license LICENSE
b1c40d8
b1c40d8
b1c40d8
%changelog
7cbedc1
* Fri Apr 16 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.7.1-1
7cbedc1
- Update to latest version (#1950334)
7cbedc1
6d4d6ae
* Sun Apr 04 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.7.0-1
6d4d6ae
- Update to latest version (#1942910)
6d4d6ae
41bdc9f
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-2
41bdc9f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
41bdc9f
0bfbb68
* Sat Dec 12 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.6.1-1
0bfbb68
- Update to latest version (#1903794)
0bfbb68
9db9643
* Sat Oct 10 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.5.0-1
9db9643
- Update to latest version (#1885678)
9db9643
15fb4e6
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-3
15fb4e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
15fb4e6
357fd89
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.4.0-2
357fd89
- Rebuilt for Python 3.9
357fd89
5767d81
* Tue Jan 28 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.4.0-1
5767d81
- Update to latest version
5767d81
a328a1c
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.3.2-5
a328a1c
- Rebuilt for Python 3.8.0rc1 (#1748018)
a328a1c
aa18b44
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.3.2-4
aa18b44
- Rebuilt for Python 3.8
aa18b44
19361ab
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-3
19361ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
19361ab
9372a3f
* Wed Jun 05 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.3.2-2
9372a3f
- Fix tests on 32-bit arches
9372a3f
2b27f1f
* Thu May 30 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.3.2-1
2b27f1f
- Update to latest version
2b27f1f
a825e3b
* Tue Apr 02 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.3.1-2
a825e3b
- Fix tests on big-endian arches
a825e3b
8dbddb6
* Mon Apr 01 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.3.1-1
8dbddb6
- Update to latest version
8dbddb6
b1c40d8
* Mon Mar 18 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.0-2
b1c40d8
- Fix test running
b1c40d8
- Make doc subpackage noarch
b1c40d8
b1c40d8
* Sat Mar 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.0-1
b1c40d8
- Initial package.