14
0

6 Commits

Author SHA256 Message Date
0444b2e19c Accepting request 1305595 from devel:languages:python
- Correct BuildRequires for the test flavor.
- No longer skip a test.

OBS-URL: https://build.opensuse.org/request/show/1305595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx_rtd_theme?expand=0&rev=23
2025-09-19 13:33:21 +00:00
0fffbbb611 - Correct BuildRequires for the test flavor.
- No longer skip a test.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx_rtd_theme?expand=0&rev=50
2025-09-18 01:55:21 +00:00
d47d80fb3c Accepting request 1285975 from devel:languages:python
- Switch to pyroject macros.

OBS-URL: https://build.opensuse.org/request/show/1285975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx_rtd_theme?expand=0&rev=22
2025-06-17 16:20:24 +00:00
a23b4e8a8e - Switch to pyroject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx_rtd_theme?expand=0&rev=48
2025-06-16 06:25:12 +00:00
43dd6d7338 Accepting request 1227512 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1227512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx_rtd_theme?expand=0&rev=21
2024-12-02 15:57:55 +00:00
3d5601048a - 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+

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx_rtd_theme?expand=0&rev=46
2024-11-23 11:37:09 +00:00
4 changed files with 36 additions and 15 deletions

View File

@@ -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>

View File

@@ -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)

Binary file not shown.

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

Binary file not shown.