]> git.pld-linux.org Git - packages/python3-sphinxcontrib-htmlhelp.git/blame - python3-sphinxcontrib-htmlhelp.spec
rebuild with python 3.10
[packages/python3-sphinxcontrib-htmlhelp.git] / python3-sphinxcontrib-htmlhelp.spec
CommitLineData
a5222088
JB
1#
2# Conditional build:
3%bcond_with tests # unit tests (failing?)
4
5Summary: Sphinx extension which renders HMTL help files
6Summary(pl.UTF-8): Rozszerzenie Sphinksa tworzące pliki pomocy HTML
7Name: python3-sphinxcontrib-htmlhelp
f86568e1 8Version: 2.0.0
1b858f35 9Release: 3
a5222088
JB
10License: BSD
11Group: Libraries/Python
12#Source0Download: https://pypi.org/simple/sphinxcontrib-htmlhelp/
13Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-%{version}.tar.gz
f86568e1 14# Source0-md5: 70765b55395a3c20233631802902c840
a5222088 15URL: https://pypi.org/project/sphinxcontrib-htmlhelp/
f86568e1 16BuildRequires: python3-modules >= 1:3.6
a5222088
JB
17BuildRequires: python3-setuptools
18%if %{with tests}
19BuildRequires: python3-Sphinx
20BuildRequires: python3-html5lib
21BuildRequires: python3-pytest
22%endif
23BuildRequires: rpm-pythonprov
24BuildRequires: rpmbuild(macros) >= 1.714
f86568e1 25Requires: python3-modules >= 1:3.6
a5222088
JB
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30sphinxcontrib-htmlhelp is a Sphinx extension which renders HTML help
31files.
32
33%description -l pl.UTF-8
34sphinxcontrib-htmlhelp to rozszerzenie Sphinksa, tworzące pliki pomocy
35HTML.
36
37%prep
38%setup -q -n sphinxcontrib-htmlhelp-%{version}
39
40%build
41%py3_build
42
43%if %{with tests}
f86568e1 44PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
a5222088
JB
45%{__python3} -m pytest tests
46%endif
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%py3_install
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
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
This page took 0.147141 seconds and 4 git commands to generate.