]> git.pld-linux.org Git - packages/python3-sphinx_celery.git/blame - python3-sphinx_celery.spec
rebuild with python 3.10
[packages/python3-sphinx_celery.git] / python3-sphinx_celery.spec
CommitLineData
3146ebf6
JB
1#
2# Conditional build:
3%bcond_with tests # unit tests (not included in sdist)
4
5Summary: Sphinx Celery theme
6Summary(pl.UTF-8): Motyw Celery dla Sphinksa
7Name: python3-sphinx_celery
8Version: 2.0.0
e2aed5f0 9Release: 3
3146ebf6
JB
10License: BSD
11Group: Libraries/Python
12#Source0Download: https://pypi.org/simple/sphinx_celery/
13Source0: https://files.pythonhosted.org/packages/source/s/sphinx-celery/sphinx_celery-%{version}.tar.gz
14# Source0-md5: 97aeb7a6be0eabb73ba07f7bdf36a48d
15URL: https://pypi.org/project/sphinx-celery/
16# setup.py says it supports python 2.6+/3.3+, but Sphinx 2 doesn't support python2
17BuildRequires: python3-modules >= 1:3.3
8b1ceade 18BuildRequires: python3-setuptools >= 1:20.6.7
3146ebf6
JB
19%if %{with tests}
20BuildRequires: python3-Sphinx >= 2.0.0
21BuildRequires: python3-nose
22%endif
23BuildRequires: rpm-pythonprov
24BuildRequires: rpmbuild(macros) >= 1.714
25Requires: python3-modules >= 1:3.3
26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30This project provides the Celery Sphinx theme and common Sphinx
31utilities.
32
33%description -l pl.UTF-8
34Ten projekt zawiera motyw oraz wspólne narzędzia Sphiksa dla projektu
35Celery.
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
48rm -rf $RPM_BUILD_ROOT
49
50%py3_install
51
52%clean
53rm -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.078452 seconds and 4 git commands to generate.