]> git.pld-linux.org Git - packages/python3-sphinx_celery.git/blob - python3-sphinx_celery.spec
rebuild with python 3.10
[packages/python3-sphinx_celery.git] / python3-sphinx_celery.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # unit tests (not included in sdist)
4
5 Summary:        Sphinx Celery theme
6 Summary(pl.UTF-8):      Motyw Celery dla Sphinksa
7 Name:           python3-sphinx_celery
8 Version:        2.0.0
9 Release:        3
10 License:        BSD
11 Group:          Libraries/Python
12 #Source0Download: https://pypi.org/simple/sphinx_celery/
13 Source0:        https://files.pythonhosted.org/packages/source/s/sphinx-celery/sphinx_celery-%{version}.tar.gz
14 # Source0-md5:  97aeb7a6be0eabb73ba07f7bdf36a48d
15 URL:            https://pypi.org/project/sphinx-celery/
16 # setup.py says it supports python 2.6+/3.3+, but Sphinx 2 doesn't support python2
17 BuildRequires:  python3-modules >= 1:3.3
18 BuildRequires:  python3-setuptools >= 1:20.6.7
19 %if %{with tests}
20 BuildRequires:  python3-Sphinx >= 2.0.0
21 BuildRequires:  python3-nose
22 %endif
23 BuildRequires:  rpm-pythonprov
24 BuildRequires:  rpmbuild(macros) >= 1.714
25 Requires:       python3-modules >= 1:3.3
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 This project provides the Celery Sphinx theme and common Sphinx
31 utilities.
32
33 %description -l pl.UTF-8
34 Ten projekt zawiera motyw oraz wspólne narzędzia Sphiksa dla projektu
35 Celery.
36
37 %prep
38 %setup -q -n sphinx_celery-%{version}
39
40 %build
41 %py3_build
42
43 %if %{with tests}
44 %{__python3} -m nose sphinx_celery
45 %endif
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %py3_install
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc Changelog LICENSE README.rst
58 %{py3_sitescriptdir}/sphinx_celery
59 %{py3_sitescriptdir}/sphinx_celery-%{version}-py*.egg-info
This page took 0.059924 seconds and 3 git commands to generate.