Sync from SUSE:SLFO:Main python-sphinx_rtd_theme revision 7b9834ffba799cff4544a6ff94e607ea

This commit is contained in:
Adrian Schröter 2024-12-13 12:25:38 +01:00
parent 75120f49fb
commit 4d0144fabe
4 changed files with 43 additions and 15 deletions

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Tue Jul 2 20:49:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
- skip test_basic as it no longer works with sphinx 7.3
-------------------------------------------------------------------
Fri Dec 29 10:06:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.0.0:
* Fix #1522: fix 'str' object has no attribute 'attributes'
* Increment for next potential release
* Fix AttributeError when one of css_files is a string
* Add support for docutils==0.20.x
* Use css_tag helper to inject CSS files
-------------------------------------------------------------------
Tue Aug 29 21:32:58 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Clean up the SPEC file
-------------------------------------------------------------------
Mon Aug 28 12:00:48 UTC 2023 - Markéta Machová <mmachova@suse.com>
- Update to 1.3.0
* Load jQuery correctly when using latest sphinxcontrib-jquery release
* Relaxed requirements to include Sphinx release 7.0
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 5 14:19:59 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri May 5 14:19:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -6,14 +33,14 @@ Fri May 5 14:19:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 5 06:15:47 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> Fri May 5 06:15:47 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing BuildRequires on sphinxcontrib-jquery. - Add missing BuildRequires on sphinxcontrib-jquery.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 20:34:59 UTC 2023 - Dirk Müller <dmueller@suse.com> Thu May 4 20:34:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.2.0: - update to 1.2.0:
* python 3.11 support * python 3.11 support
* translation updates * translation updates
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:34:31 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:34:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -47,7 +74,7 @@ Mon Nov 8 15:47:35 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.0.0: - update to 1.0.0:
* compatibility with docutils 0.17 * compatibility with docutils 0.17
* sphinx 4.1+ support * sphinx 4.1+ support
- drop sphinx41.patch: upstream - drop sphinx41.patch: upstream
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 13 06:56:38 UTC 2021 - Markéta Machová <mmachova@suse.com> Tue Jul 13 06:56:38 UTC 2021 - Markéta Machová <mmachova@suse.com>
@ -68,7 +95,7 @@ Mon Apr 19 09:32:44 UTC 2021 - Matthias Fehring <buschmann23@opensuse.org>
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 2 00:35:37 UTC 2021 - Dirk Müller <dmueller@suse.com> Tue Mar 2 00:35:37 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 0.5.1 - update to 0.5.1
* no upstream changelog available * no upstream changelog available
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file for package python-sphinx_rtd_theme
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,7 +16,6 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test" %if "%{flavor}" == "test"
%define psuffix -test %define psuffix -test
@ -27,7 +26,7 @@
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-sphinx_rtd_theme%{psuffix} Name: python-sphinx_rtd_theme%{psuffix}
Version: 1.2.0 Version: 2.0.0
Release: 0 Release: 0
Summary: ReadTheDocs.org theme for Sphinx Summary: ReadTheDocs.org theme for Sphinx
License: Apache-2.0 AND MIT AND OFL-1.1 License: Apache-2.0 AND MIT AND OFL-1.1
@ -39,14 +38,14 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Sphinx >= 1.6 Requires: python-Sphinx >= 1.6
Requires: python-docutils Requires: python-docutils
Requires: python-sphinxcontrib-jquery >= 2.0.0 Requires: python-sphinxcontrib-jquery >= 4.0
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module Sphinx}
# as per https://github.com/readthedocs/sphinx_rtd_theme/pull/1336 no changes are needed for the new docutils to work
BuildRequires: %{python_module docutils} BuildRequires: %{python_module docutils}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module readthedocs-sphinx-ext} BuildRequires: %{python_module readthedocs-sphinx-ext}
BuildRequires: %{python_module sphinxcontrib-jquery >= 4.0}
%endif %endif
%python_subpackages %python_subpackages
@ -78,14 +77,16 @@ sed -i "/'build_py'/d" setup.py
%if %{with test} %if %{with test}
%check %check
%pytest # https://github.com/readthedocs/sphinx_rtd_theme/issues/1558
%pytest -k "not test_basic"
%endif %endif
%if !%{with test} %if !%{with test}
%files %{python_files} %files %{python_files}
%license LICENSE OFL-License.txt Apache-License-2.0.txt %license LICENSE OFL-License.txt Apache-License-2.0.txt
%doc README.rst %doc README.rst
%{python_sitelib}/sphinx_rtd_theme* %{python_sitelib}/sphinx_rtd_theme
%{python_sitelib}/sphinx_rtd_theme-%{version}*-info
%endif %endif
%changelog %changelog

BIN
sphinx_rtd_theme-1.2.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
sphinx_rtd_theme-2.0.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.