Compare commits

1 Commits
main ... 1.1

4 changed files with 15 additions and 43 deletions

View File

@@ -1,30 +1,3 @@
-------------------------------------------------------------------
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>

View File

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

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

Binary file not shown.

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

Binary file not shown.