|
|
fc6757 |
%global srcname sortedcontainers
|
|
|
fc6757 |
|
|
|
fc6757 |
Name: python-%{srcname}
|
|
|
fc6757 |
Version: 2.3.0
|
|
|
fc6757 |
Release: 2%{?dist}
|
|
|
fc6757 |
Summary: Pure Python sorted container types
|
|
|
fc6757 |
|
|
|
fc6757 |
License: ASL 2.0
|
|
|
fc6757 |
URL: https://pypi.python.org/pypi/%{srcname}
|
|
|
fc6757 |
# PyPI tarball does not include docs or tests.
|
|
|
fc6757 |
Source0: https://github.com/grantjenks/python-sortedcontainers/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
fc6757 |
|
|
|
fc6757 |
BuildArch: noarch
|
|
|
fc6757 |
|
|
|
fc6757 |
%global _description \
|
|
|
fc6757 |
SortedContainers is an Apache2 licensed sorted collections library, written in \
|
|
|
fc6757 |
pure-Python, and fast as C-extensions.
|
|
|
fc6757 |
|
|
|
fc6757 |
%description %{_description}
|
|
|
fc6757 |
|
|
|
fc6757 |
%package -n python%{python3_pkgversion}-%{srcname}
|
|
|
fc6757 |
Summary: %{summary}
|
|
|
fc6757 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
|
|
fc6757 |
|
|
|
fc6757 |
BuildRequires: make
|
|
|
fc6757 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
fc6757 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
fc6757 |
|
|
|
fc6757 |
%bcond_without tests
|
|
|
fc6757 |
%if %{with tests}
|
|
|
fc6757 |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
fc6757 |
BuildRequires: python%{python3_pkgversion}-matplotlib
|
|
|
fc6757 |
BuildRequires: python%{python3_pkgversion}-numpy
|
|
|
fc6757 |
BuildRequires: python%{python3_pkgversion}-scipy
|
|
|
fc6757 |
%endif
|
|
|
fc6757 |
|
|
|
fc6757 |
%bcond_without docs
|
|
|
fc6757 |
%if %{with docs}
|
|
|
fc6757 |
BuildRequires: python%{python3_pkgversion}-sphinx
|
|
|
fc6757 |
BuildRequires: dvipng
|
|
|
fc6757 |
BuildRequires: tex(anyfontsize.sty)
|
|
|
fc6757 |
BuildRequires: tex(bm.sty)
|
|
|
fc6757 |
%endif
|
|
|
fc6757 |
|
|
|
fc6757 |
%description -n python%{python3_pkgversion}-%{srcname} %{_description}
|
|
|
fc6757 |
|
|
|
fc6757 |
|
|
|
fc6757 |
%package -n python-%{srcname}-doc
|
|
|
fc6757 |
Summary: %{summary}
|
|
|
fc6757 |
|
|
|
fc6757 |
%description -n python-%{srcname}-doc
|
|
|
fc6757 |
Documentation for %{srcname} package.
|
|
|
fc6757 |
|
|
|
fc6757 |
|
|
|
fc6757 |
%prep
|
|
|
fc6757 |
%autosetup
|
|
|
fc6757 |
|
|
|
fc6757 |
|
|
|
fc6757 |
%build
|
|
|
fc6757 |
%py3_build
|
|
|
fc6757 |
|
|
|
fc6757 |
%if %{with docs}
|
|
|
fc6757 |
pushd docs
|
|
|
fc6757 |
make SPHINXBUILD=sphinx-build-%{python3_version} html
|
|
|
fc6757 |
rm _build/html/.buildinfo
|
|
|
fc6757 |
popd
|
|
|
fc6757 |
%endif
|
|
|
fc6757 |
|
|
|
fc6757 |
|
|
|
fc6757 |
%install
|
|
|
fc6757 |
%py3_install
|
|
|
fc6757 |
|
|
|
fc6757 |
|
|
|
fc6757 |
%if %{with tests}
|
|
|
fc6757 |
%check
|
|
|
fc6757 |
pushd tests
|
|
|
fc6757 |
PYTHONPATH="%{buildroot}%{python3_sitelib}" \
|
|
|
fc6757 |
pytest-%{python3_version}
|
|
|
fc6757 |
popd
|
|
|
fc6757 |
%endif
|
|
|
fc6757 |
|
|
|
fc6757 |
|
|
|
fc6757 |
%files -n python%{python3_pkgversion}-%{srcname}
|
|
|
fc6757 |
%license LICENSE
|
|
|
fc6757 |
%doc README.rst
|
|
|
fc6757 |
%{python3_sitelib}/%{srcname}
|
|
|
fc6757 |
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
|
|
|
fc6757 |
|
|
|
fc6757 |
|
|
|
fc6757 |
%if %{with docs}
|
|
|
fc6757 |
%files -n python-%{srcname}-doc
|
|
|
fc6757 |
%license LICENSE
|
|
|
fc6757 |
%doc README.rst docs/_build/html
|
|
|
fc6757 |
%endif
|
|
|
fc6757 |
|
|
|
fc6757 |
|
|
|
fc6757 |
%changelog
|
|
|
fc6757 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
|
|
|
fc6757 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
fc6757 |
|
|
|
fc6757 |
* Mon Nov 09 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.3.0-1
|
|
|
fc6757 |
- Update to latest version (#1895748)
|
|
|
fc6757 |
|
|
|
fc6757 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-2
|
|
|
fc6757 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
fc6757 |
|
|
|
fc6757 |
* Mon Jun 08 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.2-1
|
|
|
fc6757 |
- Update to latest version
|
|
|
fc6757 |
|
|
|
fc6757 |
* Sun Jun 07 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.1-1
|
|
|
fc6757 |
- Update to latest version
|
|
|
fc6757 |
|
|
|
fc6757 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-8
|
|
|
fc6757 |
- Rebuilt for Python 3.9
|
|
|
fc6757 |
|
|
|
fc6757 |
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-7
|
|
|
fc6757 |
- Bootstrap for Python 3.9
|
|
|
fc6757 |
|
|
|
fc6757 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-6
|
|
|
fc6757 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
fc6757 |
|
|
|
fc6757 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-5
|
|
|
fc6757 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
fc6757 |
|
|
|
fc6757 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-4
|
|
|
fc6757 |
- Rebuilt for Python 3.8
|
|
|
fc6757 |
|
|
|
fc6757 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
|
|
|
fc6757 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
fc6757 |
|
|
|
fc6757 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
|
|
|
fc6757 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
fc6757 |
|
|
|
fc6757 |
* Wed Dec 12 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.0-1
|
|
|
fc6757 |
- Update to latest version
|
|
|
fc6757 |
|
|
|
fc6757 |
* Sat Oct 13 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.5-1
|
|
|
fc6757 |
- Update to latest version
|
|
|
fc6757 |
|
|
|
fc6757 |
* Wed Oct 03 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.4-2
|
|
|
fc6757 |
- Drop Python 2 subpackage.
|
|
|
fc6757 |
|
|
|
fc6757 |
* Thu Aug 02 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.4-1
|
|
|
fc6757 |
- Update to latest version.
|
|
|
fc6757 |
|
|
|
fc6757 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-3
|
|
|
fc6757 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
fc6757 |
|
|
|
fc6757 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-2
|
|
|
fc6757 |
- Rebuilt for Python 3.7
|
|
|
fc6757 |
|
|
|
fc6757 |
* Sat May 19 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.1-1
|
|
|
fc6757 |
- Update to latest version.
|
|
|
fc6757 |
|
|
|
fc6757 |
* Sun Apr 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.10-1
|
|
|
fc6757 |
- Update to latest version.
|
|
|
fc6757 |
|
|
|
fc6757 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.9-2
|
|
|
fc6757 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
fc6757 |
|
|
|
fc6757 |
* Fri Dec 08 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.9-1
|
|
|
fc6757 |
- Update to latest version.
|
|
|
fc6757 |
|
|
|
fc6757 |
* Sun Sep 03 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.7-3
|
|
|
fc6757 |
- Split out documentation subpackage.
|
|
|
fc6757 |
|
|
|
fc6757 |
* Sat Sep 02 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.7-2
|
|
|
fc6757 |
- Shorten summary and description.
|
|
|
fc6757 |
- Standardize spec a bit more.
|
|
|
fc6757 |
|
|
|
fc6757 |
* Mon Feb 27 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.7-1
|
|
|
fc6757 |
- Initial package release.
|