forked from pool/python-sphinx_rtd_theme
- Switch to pyroject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx_rtd_theme?expand=0&rev=48
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Sat Nov 23 11:35:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-sphinx_rtd_theme
|
# spec file for package python-sphinx_rtd_theme
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@@ -32,7 +32,9 @@ 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
|
||||||
URL: https://github.com/snide/sphinx_rtd_theme/
|
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
|
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 setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -67,11 +69,11 @@ cp -p sphinx_rtd_theme/static/js/theme.js build/lib/%{srcname}/static/js
|
|||||||
sed -i "/'build_py'/d" setup.py
|
sed -i "/'build_py'/d" setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -86,7 +88,7 @@ sed -i "/'build_py'/d" setup.py
|
|||||||
%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
|
%{python_sitelib}/sphinx_rtd_theme-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user