forked from pool/python-sphinx_rtd_theme
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 0444b2e19c | |||
| 0fffbbb611 | |||
| d47d80fb3c | |||
| a23b4e8a8e | |||
| 43dd6d7338 | |||
| 3d5601048a |
@@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 18 01:55:03 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Correct BuildRequires for the test flavor.
|
||||
- No longer skip a test.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 06:12:24 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyroject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 23 11:35:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.0.2:
|
||||
* Attached flyout: show the current translation
|
||||
* Allow disabling selectors
|
||||
* Use black color for switcher options
|
||||
* Trigger search modal on "Search docs" input focus
|
||||
* Theme option flyout to enable/disable theme's flyout
|
||||
* Remove html5shiv
|
||||
* Adjust the expected test_basic output to match Sphinx 7.3+
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 20:49:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sphinx_rtd_theme
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,26 +26,25 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-sphinx_rtd_theme%{psuffix}
|
||||
Version: 2.0.0
|
||||
Version: 3.0.2
|
||||
Release: 0
|
||||
Summary: ReadTheDocs.org theme for Sphinx
|
||||
License: Apache-2.0 AND MIT AND OFL-1.1
|
||||
URL: https://github.com/snide/sphinx_rtd_theme/
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Sphinx >= 1.6
|
||||
Requires: python-Sphinx >= 6
|
||||
Requires: python-docutils
|
||||
Requires: python-sphinxcontrib-jquery >= 4.0
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module docutils}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module readthedocs-sphinx-ext}
|
||||
BuildRequires: %{python_module sphinxcontrib-jquery >= 4.0}
|
||||
BuildRequires: %{python_module sphinx_rtd_theme = %{version}}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
@@ -67,18 +66,17 @@ cp -p sphinx_rtd_theme/static/js/theme.js build/lib/%{srcname}/static/js
|
||||
sed -i "/'build_py'/d" setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
# https://github.com/readthedocs/sphinx_rtd_theme/issues/1558
|
||||
%pytest -k "not test_basic"
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
@@ -86,7 +84,7 @@ sed -i "/'build_py'/d" setup.py
|
||||
%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-%{version}.dist-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
||||
BIN
sphinx_rtd_theme-2.0.0.tar.gz
(Stored with Git LFS)
BIN
sphinx_rtd_theme-2.0.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
sphinx_rtd_theme-3.0.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
sphinx_rtd_theme-3.0.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user