]> git.pld-linux.org Git - packages/python3-doxypypy.git/blob - python3-doxypypy.spec
b4d3d52de97ee1686f7caa0e41ebb6d3cf027fb6
[packages/python3-doxypypy.git] / python3-doxypypy.spec
1 %define         module  doxypypy
2 Summary:        Doxygen filter for Python
3 Summary(pl.UTF-8):      Filtr Doxygena dla Pythona
4 # Name must match the python module/package name (as on pypi or in 'import' statement)
5 Name:           python3-%{module}
6 Version:        0.8.8.6
7 Release:        4
8 License:        GPL v2
9 Group:          Libraries/Python
10 # git version from 2021-08-02
11 Source0:        doxypypy.tar.xz
12 # Source0-md5:  d411db113b779e34b26bc5178819ed16
13 Source1:        py_filter
14 URL:            https://github.com/Feneric/doxypypy
15 BuildRequires:  python3-modules >= 1:3.2
16 BuildRequires:  python3-setuptools
17 BuildRequires:  rpm-pythonprov
18 BuildRequires:  rpmbuild(macros) >= 1.714
19 Requires:       python3-modules >= 1:3.2
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 A more Pythonic version of doxypy, a Doxygen filter for Python.
25
26 %description -l pl.UTF-8
27 Bardziej Pythonowa wersja doxypy, filtra Doxygena dla Pythona.
28
29 %package apidocs
30 Summary:        API documentation for Python %{module} module
31 Summary(pl.UTF-8):      Dokumentacja API modułu Pythona %{module}
32 Group:          Documentation
33
34 %description apidocs
35 API documentation for Python %{module} module.
36
37 %description apidocs -l pl.UTF-8
38 Dokumentacja API modułu Pythona %{module}.
39
40 %prep
41 %setup -q -n %{module}
42
43 %build
44 %py3_build
45
46 %if %{with tests}
47 %{__python3} setup.py test
48 %endif
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %py3_install
54
55 install %SOURCE1 $RPM_BUILD_ROOT%{_bindir}/
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc README.rst
63 %{_bindir}/doxypypy
64 %{_bindir}/py_filter
65 %dir %{py3_sitescriptdir}/%{module}
66 %{py3_sitescriptdir}/%{module}/*.py
67 %{py3_sitescriptdir}/%{module}/__pycache__
68 %{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
This page took 0.082697 seconds and 2 git commands to generate.