Cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-platformdirs?expand=0&rev=2
This commit is contained in:
parent
0c7cfdea3b
commit
049794497a
@ -28,15 +28,14 @@ Source: https://files.pythonhosted.org/packages/source/p/platformdirs/pl
|
||||
# https://github.com/pradyunsg/furo/discussions/148#discussioncomment-1125486
|
||||
# Don't use furo Sphinx theme
|
||||
Patch0: no-furo.patch
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: %{python_module appdirs == 1.4.4}
|
||||
BuildRequires: %{python_module pytest >= 6}
|
||||
BuildRequires: %{python_module pytest-cov >= 2.7}
|
||||
BuildRequires: %{python_module pytest-mock >= 3.6}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-Sphinx >= 4
|
||||
BuildRequires: python3-furo >= 2021.7.5b38
|
||||
BuildRequires: python3-sphinx-autodoc-typehints >= 1.12
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@ -45,11 +44,11 @@ BuildArch: noarch
|
||||
A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".
|
||||
|
||||
%package -n %{name}-doc
|
||||
Summary: Documentation files for %name
|
||||
Summary: Documentation files for %{name}
|
||||
Group: Documentation/Other
|
||||
|
||||
%description -n %{name}-doc
|
||||
HTML Documentation and examples for %name.
|
||||
HTML Documentation and examples for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n platformdirs-%{version}
|
||||
@ -57,6 +56,7 @@ HTML Documentation and examples for %name.
|
||||
%build
|
||||
%python_build
|
||||
PYTHONPATH=src sphinx-build -b html docs/ docs/build/html
|
||||
rm -r docs/build/html/.{buildinfo,doctrees}
|
||||
|
||||
%install
|
||||
%python_install
|
||||
|
Loading…
x
Reference in New Issue
Block a user