|
|
|
@@ -1,117 +1,163 @@
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
%global with_python3 1
|
|
|
|
|
%endif
|
|
|
|
|
%bcond_without optional_tests
|
|
|
|
|
|
|
|
|
|
%global commit 88d4fdd163efdeaab91a105b7980c42078ed3417
|
|
|
|
|
%global pypi_name sphinxcontrib-websupport
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 1.0.1
|
|
|
|
|
Release: 5.20171013git%{?dist}
|
|
|
|
|
Name: python-sphinxcontrib-websupport
|
|
|
|
|
Version: 1.2.7
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Sphinx API for Web Apps
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://sphinx-doc.org/
|
|
|
|
|
#Source0: https://files.pythonhosted.org/packages/source/s/%{pypi_name}/%{pypi_name}-%{version}.%{commit}.tar.gz
|
|
|
|
|
Source0: https://github.com/sphinx-doc/sphinxcontrib-websupport/archive/%{commit}.tar.gz
|
|
|
|
|
License: BSD-2-Clause
|
|
|
|
|
URL: https://github.com/sphinx-doc/sphinxcontrib-websupport
|
|
|
|
|
Source: %{pypi_source sphinxcontrib_websupport}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
|
|
|
|
|
documentation into your Web application.
|
|
|
|
|
|
|
|
|
|
%package -n python2-%{pypi_name}
|
|
|
|
|
%package -n python3-sphinxcontrib-websupport
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python-docutils
|
|
|
|
|
BuildRequires: python-jinja2
|
|
|
|
|
BuildRequires: python-mock
|
|
|
|
|
BuildRequires: python-pytest
|
|
|
|
|
BuildRequires: python-setuptools
|
|
|
|
|
BuildRequires: python-six
|
|
|
|
|
BuildRequires: python-sphinx
|
|
|
|
|
BuildRequires: python-sqlalchemy
|
|
|
|
|
BuildRequires: python-whoosh
|
|
|
|
|
BuildRequires: xapian-bindings-python
|
|
|
|
|
Requires: python-docutils
|
|
|
|
|
Requires: python-jinja2
|
|
|
|
|
Requires: python-six
|
|
|
|
|
Requires: python-sphinx
|
|
|
|
|
Requires: python-sqlalchemy
|
|
|
|
|
Requires: python-whoosh
|
|
|
|
|
|
|
|
|
|
%description -n python2-%{pypi_name}
|
|
|
|
|
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
|
|
|
|
|
documentation into your Web application.
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%package -n python3-%{pypi_name}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-docutils
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-jinja2
|
|
|
|
|
BuildRequires: python3-mock
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
BuildRequires: python3-six
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: python3-sqlalchemy
|
|
|
|
|
BuildRequires: python3-whoosh
|
|
|
|
|
BuildRequires: python3-xapian
|
|
|
|
|
Requires: python3-docutils
|
|
|
|
|
Requires: python3-jinja2
|
|
|
|
|
Requires: python3-six
|
|
|
|
|
Requires: python3-sphinx
|
|
|
|
|
Requires: python3-sqlalchemy
|
|
|
|
|
Requires: python3-whoosh
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{pypi_name}
|
|
|
|
|
%if %{with optional_tests}
|
|
|
|
|
# Optional tests dep, undeclared upstream, can be skipped if needed
|
|
|
|
|
BuildRequires: python3-xapian
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description -n python3-sphinxcontrib-websupport
|
|
|
|
|
sphinxcontrib-websupport provides a Python API to easily integrate Sphinx
|
|
|
|
|
documentation into your Web application.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%pyproject_extras_subpkg -n python3-sphinxcontrib-websupport whoosh
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{pypi_name}-%{commit}
|
|
|
|
|
# Remove bundled egg-info
|
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
|
%autosetup -n sphinxcontrib_websupport-%{version}
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires -t
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%py3_build
|
|
|
|
|
%endif
|
|
|
|
|
%py2_build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%py3_install
|
|
|
|
|
%endif
|
|
|
|
|
%py2_install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
%pyproject_save_files sphinxcontrib
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
PYTHONPATH=. py.test tests/
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
PYTHONPATH=. py.test-3 tests/
|
|
|
|
|
%endif
|
|
|
|
|
%tox
|
|
|
|
|
|
|
|
|
|
%files -n python2-%{pypi_name}
|
|
|
|
|
%files -n python3-sphinxcontrib-websupport -f %{pyproject_files}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{python2_sitelib}/sphinxcontrib/websupport
|
|
|
|
|
%{python2_sitelib}/sphinxcontrib_websupport-*.pth
|
|
|
|
|
%{python2_sitelib}/sphinxcontrib_websupport-*.egg-info
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{python3_sitelib}/sphinxcontrib/websupport
|
|
|
|
|
%{python3_sitelib}/sphinxcontrib_websupport-*.pth
|
|
|
|
|
%{python3_sitelib}/sphinxcontrib_websupport-*.egg-info
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jan 30 2024 Karolina Surma <ksurma@redhat.com> - 1.2.7-1
|
|
|
|
|
- Update to 1.2.7
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-16
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-15
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-14
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 03 2023 Python Maint <python-maint@redhat.com> - 1.2.4-13
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.2.4-12
|
|
|
|
|
- Bootstrap for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 1.2.4-9
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.2.4-8
|
|
|
|
|
- Bootstrap for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.4-5
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.2.4-4
|
|
|
|
|
- Bootstrap for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Wed Mar 10 2021 Miro Hrončok <mhroncok@redhat.com> - 1.2.4-3
|
|
|
|
|
- Update runtime and buildtime dependencies
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Aug 18 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.4-1
|
|
|
|
|
- Update to 1.2.4
|
|
|
|
|
- Fixes rhbz#1800626
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-2
|
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
|
|
|
|
|
* Tue Apr 14 2020 Javier Peña <jpena@redhat.com> - 1.2.1-1
|
|
|
|
|
- Update to upstream 1.2.1 (bz#1823520)
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-4
|
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
|
|
|
|
|
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-3
|
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 20 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-1
|
|
|
|
|
- Update to 1.1.2 (#1711650)
|
|
|
|
|
|
|
|
|
|
* Wed Mar 27 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.1~dev20190321-1
|
|
|
|
|
- Update to 1.1.1.dev20190321 (#1691429)
|
|
|
|
|
- Support Sphinx 2.0 (#1690793)
|
|
|
|
|
|
|
|
|
|
* Wed Mar 06 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-1
|
|
|
|
|
- Update to 1.1.0
|
|
|
|
|
- Subpackage python2-sphinxcontrib-websupport has been removed
|
|
|
|
|
See https://fedoraproject.org/wiki/Changes/Sphinx2
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-12.20180316git
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 16 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-11.20180316git
|
|
|
|
|
- Remove unused dependency on xapian
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-10.20180316git
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-9.20180316git
|
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
|
|
|
|
* Wed May 16 2018 Javier Peña <jpena@redhat.com> - 1.0.1-8.20180316git
|
|
|
|
|
- Update to commit ebe84efc1a869da8d5689c706cdcf6ea864f0d9b
|
|
|
|
|
- Fix build with Sphinx 1.7 (bz#1578132)
|
|
|
|
|
|
|
|
|
|
* Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.1-7.20171013git
|
|
|
|
|
- Update Python 2 dependency declarations to new packaging standards
|
|
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6.20171013git
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 18 2017 Javier Peña <jpena@redhat.com> - 1.0.1-5.20171013git
|
|
|
|
|
- Fixed Source0 URL (bz#1526646)
|
|
|
|
|
|
|
|
|
|