Blame SPECS/python-sortedcontainers.spec

aebdb9
%global srcname sortedcontainers
aebdb9
aebdb9
Name:           python-%{srcname}
aebdb9
Version:        2.4.0
aebdb9
Release:        19%{?dist}
aebdb9
Summary:        Pure Python sorted container types
aebdb9
aebdb9
License:        Apache-2.0
aebdb9
URL:            https://pypi.python.org/pypi/%{srcname}
aebdb9
# PyPI tarball does not include docs or tests.
aebdb9
Source0:        https://github.com/grantjenks/python-sortedcontainers/archive/v%{version}/%{name}-%{version}.tar.gz
aebdb9
aebdb9
BuildArch:      noarch
aebdb9
aebdb9
%global _description \
aebdb9
SortedContainers is an Apache2 licensed sorted collections library, written in \
aebdb9
pure-Python, and fast as C-extensions.
aebdb9
aebdb9
%description %{_description}
aebdb9
aebdb9
%package -n python%{python3_pkgversion}-%{srcname}
aebdb9
Summary:        %{summary}
aebdb9
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
aebdb9
aebdb9
BuildRequires: make
aebdb9
BuildRequires:  python%{python3_pkgversion}-devel
aebdb9
BuildRequires:  python%{python3_pkgversion}-setuptools
aebdb9
aebdb9
%bcond_with tests
aebdb9
%if %{with tests}
aebdb9
BuildRequires:  python%{python3_pkgversion}-pytest
aebdb9
BuildRequires:  python%{python3_pkgversion}-matplotlib
aebdb9
BuildRequires:  python%{python3_pkgversion}-numpy
aebdb9
BuildRequires:  python%{python3_pkgversion}-scipy
aebdb9
%endif
aebdb9
aebdb9
%bcond_without docs
aebdb9
%if %{with docs}
aebdb9
BuildRequires:  python%{python3_pkgversion}-sphinx
aebdb9
BuildRequires:  dvipng
aebdb9
BuildRequires:  tex(anyfontsize.sty)
aebdb9
BuildRequires:  tex(bm.sty)
aebdb9
%endif
aebdb9
aebdb9
%description -n python%{python3_pkgversion}-%{srcname} %{_description}
aebdb9
aebdb9
aebdb9
%package -n python-%{srcname}-doc
aebdb9
Summary:        %{summary}
aebdb9
aebdb9
%description -n python-%{srcname}-doc
aebdb9
Documentation for %{srcname} package.
aebdb9
aebdb9
aebdb9
%prep
aebdb9
%autosetup
aebdb9
aebdb9
aebdb9
%build
aebdb9
%py3_build
aebdb9
aebdb9
%if %{with docs}
aebdb9
pushd docs
aebdb9
make SPHINXBUILD=sphinx-build-%{python3_version} html
aebdb9
rm _build/html/.buildinfo
aebdb9
popd
aebdb9
%endif
aebdb9
aebdb9
aebdb9
%install
aebdb9
%py3_install
aebdb9
aebdb9
aebdb9
%if %{with tests}
aebdb9
%check
aebdb9
pushd tests
aebdb9
PYTHONPATH="%{buildroot}%{python3_sitelib}" \
aebdb9
    pytest-%{python3_version}
aebdb9
popd
aebdb9
%endif
aebdb9
aebdb9
aebdb9
%files -n python%{python3_pkgversion}-%{srcname}
aebdb9
%license LICENSE
aebdb9
%doc README.rst
aebdb9
%{python3_sitelib}/%{srcname}/
aebdb9
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
aebdb9
aebdb9
aebdb9
%if %{with docs}
aebdb9
%files -n python-%{srcname}-doc
aebdb9
%license LICENSE
aebdb9
%doc README.rst docs/_build/html
aebdb9
%endif
aebdb9
aebdb9
aebdb9
%changelog
aebdb9
* Tue Sep 3 2024 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 2.4.0-19
aebdb9
- Disable tests, which require python-matplotlib, which in turn have an
aebdb9
extensive list of BRs including tex, xorg-x11-server-Xvfb, inkscape, and
aebdb9
half a dozen pyton-* pkgs. When all the BRs are satisfied we can enable
aebdb9
tests again.
aebdb9
aebdb9
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-18
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
aebdb9
aebdb9
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 2.4.0-17
aebdb9
- Rebuilt for Python 3.13
aebdb9
aebdb9
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 2.4.0-16
aebdb9
- Bootstrap for Python 3.13
aebdb9
aebdb9
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-15
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
aebdb9
aebdb9
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-14
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
aebdb9
aebdb9
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-13
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
aebdb9
aebdb9
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 2.4.0-12
aebdb9
- Rebuilt for Python 3.12
aebdb9
aebdb9
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.4.0-11
aebdb9
- Bootstrap for Python 3.12
aebdb9
aebdb9
* Sat Apr 08 2023 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.4.0-10
aebdb9
- Switch to SPDX license
aebdb9
aebdb9
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-9
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
aebdb9
aebdb9
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-8
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
aebdb9
aebdb9
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 2.4.0-7
aebdb9
- Rebuilt for Python 3.11
aebdb9
aebdb9
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.4.0-6
aebdb9
- Bootstrap for Python 3.11
aebdb9
aebdb9
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-5
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
aebdb9
aebdb9
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-4
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
aebdb9
aebdb9
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.4.0-3
aebdb9
- Rebuilt for Python 3.10
aebdb9
aebdb9
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 2.4.0-2
aebdb9
- Bootstrap for Python 3.10
aebdb9
aebdb9
* Sun May 16 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.4.0-1
aebdb9
- Update to latest version (#1960970)
aebdb9
aebdb9
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
aebdb9
aebdb9
* Mon Nov 09 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.3.0-1
aebdb9
- Update to latest version (#1895748)
aebdb9
aebdb9
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-2
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
aebdb9
aebdb9
* Mon Jun 08 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.2-1
aebdb9
- Update to latest version
aebdb9
aebdb9
* Sun Jun 07 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.1-1
aebdb9
- Update to latest version
aebdb9
aebdb9
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-8
aebdb9
- Rebuilt for Python 3.9
aebdb9
aebdb9
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-7
aebdb9
- Bootstrap for Python 3.9
aebdb9
aebdb9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-6
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
aebdb9
aebdb9
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-5
aebdb9
- Rebuilt for Python 3.8.0rc1 (#1748018)
aebdb9
aebdb9
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.1.0-4
aebdb9
- Rebuilt for Python 3.8
aebdb9
aebdb9
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
aebdb9
aebdb9
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
aebdb9
aebdb9
* Wed Dec 12 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.0-1
aebdb9
- Update to latest version
aebdb9
aebdb9
* Sat Oct 13 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.5-1
aebdb9
- Update to latest version
aebdb9
aebdb9
* Wed Oct 03 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.4-2
aebdb9
- Drop Python 2 subpackage.
aebdb9
aebdb9
* Thu Aug 02 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.4-1
aebdb9
- Update to latest version.
aebdb9
aebdb9
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-3
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
aebdb9
aebdb9
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-2
aebdb9
- Rebuilt for Python 3.7
aebdb9
aebdb9
* Sat May 19 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.1-1
aebdb9
- Update to latest version.
aebdb9
aebdb9
* Sun Apr 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.10-1
aebdb9
- Update to latest version.
aebdb9
aebdb9
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.9-2
aebdb9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
aebdb9
aebdb9
* Fri Dec 08 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.9-1
aebdb9
- Update to latest version.
aebdb9
aebdb9
* Sun Sep 03 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.7-3
aebdb9
- Split out documentation subpackage.
aebdb9
aebdb9
* Sat Sep 02 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.7-2
aebdb9
- Shorten summary and description.
aebdb9
- Standardize spec a bit more.
aebdb9
aebdb9
* Mon Feb 27 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.7-1
aebdb9
- Initial package release.