forked from pool/python-sphinxcontrib-fulltoc
Accepting request 1285164 from devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1285164 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinxcontrib-fulltoc?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 12 12:49:39 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 29 14:15:55 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sphinxcontrib-fulltoc
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,17 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-sphinxcontrib-fulltoc
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
Summary: Include a full table of contents in your Sphinx HTML sidebar
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: http://sphinxcontrib-fulltoc.readthedocs.org
|
||||
URL: https://sphinxcontrib-fulltoc.readthedocs.org
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-fulltoc/sphinxcontrib-fulltoc-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pbr}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -48,18 +49,23 @@ are also included in the appropriate place within the document.
|
||||
sed -i 's/version = subprocess.*/version = "%{version}"/' docs/source/conf.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
#pushd docs
|
||||
#LANG=C.UTF-8 READTHEDOCS=True PYTHONPATH=.. make html
|
||||
#rm build/html/.buildinfo
|
||||
#popd
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/*
|
||||
%dir %{python_sitelib}/sphinxcontrib
|
||||
%pycache_only %dir %{python_sitelib}/sphinxcontrib/__pycache__
|
||||
%{python_sitelib}/sphinxcontrib/fulltoc.py
|
||||
%pycache_only %{python_sitelib}/sphinxcontrib/__pycache__/fulltoc*
|
||||
%{python_sitelib}/sphinxcontrib[-_]fulltoc-%{version}*-info
|
||||
%{python_sitelib}/sphinxcontrib[-_]fulltoc-%{version}*-nspkg.pth
|
||||
%license LICENSE
|
||||
%doc ChangeLog README.rst
|
||||
#docs/build/html
|
||||
|
||||
Reference in New Issue
Block a user