3 %bcond_with tests # unit tests (failing?)
5 Summary: Sphinx extension which renders HMTL help files
6 Summary(pl.UTF-8): Rozszerzenie Sphinksa tworzące pliki pomocy HTML
7 Name: python3-sphinxcontrib-htmlhelp
11 Group: Libraries/Python
12 #Source0Download: https://pypi.org/simple/sphinxcontrib-htmlhelp/
13 Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-%{version}.tar.gz
14 # Source0-md5: 70765b55395a3c20233631802902c840
15 URL: https://pypi.org/project/sphinxcontrib-htmlhelp/
16 BuildRequires: python3-modules >= 1:3.6
17 BuildRequires: python3-setuptools
19 BuildRequires: python3-Sphinx
20 BuildRequires: python3-html5lib
21 BuildRequires: python3-pytest
23 BuildRequires: rpm-pythonprov
24 BuildRequires: rpmbuild(macros) >= 1.714
25 Requires: python3-modules >= 1:3.6
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 sphinxcontrib-htmlhelp is a Sphinx extension which renders HTML help
33 %description -l pl.UTF-8
34 sphinxcontrib-htmlhelp to rozszerzenie Sphinksa, tworzące pliki pomocy
38 %setup -q -n sphinxcontrib-htmlhelp-%{version}
44 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
45 %{__python3} -m pytest tests
49 rm -rf $RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc CHANGES LICENSE README.rst
59 %{py3_sitescriptdir}/sphinxcontrib/htmlhelp
60 %{py3_sitescriptdir}/sphinxcontrib_htmlhelp-%{version}-py*.egg-info
61 %{py3_sitescriptdir}/sphinxcontrib_htmlhelp-%{version}-py*-nspkg.pth