]> git.pld-linux.org Git - packages/python3-sphinxcontrib-htmlhelp.git/blob - python3-sphinxcontrib-htmlhelp.spec
rebuild with python 3.10
[packages/python3-sphinxcontrib-htmlhelp.git] / python3-sphinxcontrib-htmlhelp.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # unit tests (failing?)
4
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
8 Version:        2.0.0
9 Release:        3
10 License:        BSD
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
18 %if %{with tests}
19 BuildRequires:  python3-Sphinx
20 BuildRequires:  python3-html5lib
21 BuildRequires:  python3-pytest
22 %endif
23 BuildRequires:  rpm-pythonprov
24 BuildRequires:  rpmbuild(macros) >= 1.714
25 Requires:       python3-modules >= 1:3.6
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 sphinxcontrib-htmlhelp is a Sphinx extension which renders HTML help
31 files.
32
33 %description -l pl.UTF-8
34 sphinxcontrib-htmlhelp to rozszerzenie Sphinksa, tworzące pliki pomocy
35 HTML.
36
37 %prep
38 %setup -q -n sphinxcontrib-htmlhelp-%{version}
39
40 %build
41 %py3_build
42
43 %if %{with tests}
44 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
45 %{__python3} -m pytest tests
46 %endif
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %py3_install
52
53 %clean
54 rm -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.092224 seconds and 3 git commands to generate.