|
|
4ec7a8 |
%global srcname sphinxcontrib-trio
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
Name: python-%{srcname}
|
|
|
4ec7a8 |
Version: 1.1.2
|
|
|
4ec7a8 |
Release: 8%{?dist}
|
|
|
4ec7a8 |
Summary: Make Sphinx better at documenting Python functions and methods
|
|
|
4ec7a8 |
License: MIT or ASL 2.0
|
|
|
4ec7a8 |
URL: https://github.com/python-trio/sphinxcontrib-trio
|
|
|
4ec7a8 |
Source0: %{pypi_source}
|
|
|
4ec7a8 |
Patch0: python-sphinxcontrib-trio-1.1.2.patch
|
|
|
4ec7a8 |
BuildArch: noarch
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
%global desc \
|
|
|
4ec7a8 |
This sphinx extension helps you document Python code that uses \
|
|
|
4ec7a8 |
async/await, or abstract methods, or context managers, or generators, \
|
|
|
4ec7a8 |
or ... you get the idea. It works by making sphinx's regular \
|
|
|
4ec7a8 |
directives for documenting Python functions and methods smarter and \
|
|
|
4ec7a8 |
more powerful. The name is because it was originally written for the \
|
|
|
4ec7a8 |
Trio project, and I'm not very creative. But don't be put off – \
|
|
|
4ec7a8 |
there's nothing Trio- or async-specific about this extension; any \
|
|
|
4ec7a8 |
Python project can benefit. (Though projects using async/await \
|
|
|
4ec7a8 |
probably benefit the most, since sphinx's built-in tools are \
|
|
|
4ec7a8 |
especially inadequate in this case.)
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
%description
|
|
|
4ec7a8 |
%desc
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
%package -n python3-%{srcname}
|
|
|
4ec7a8 |
BuildRequires: python3-devel
|
|
|
4ec7a8 |
BuildRequires: python3-setuptools
|
|
|
4ec7a8 |
BuildRequires: python3-sphinx
|
|
|
4ec7a8 |
BuildRequires: %{_bindir}/rst2html
|
|
|
4ec7a8 |
BuildRequires: make
|
|
|
4ec7a8 |
Summary: %{summary}
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
%description -n python3-%{srcname}
|
|
|
4ec7a8 |
%desc
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
%prep
|
|
|
4ec7a8 |
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
%build
|
|
|
4ec7a8 |
%py3_build
|
|
|
4ec7a8 |
make -C docs html SPHINXBUILD=%{_bindir}/sphinx-build-3
|
|
|
4ec7a8 |
rm -f docs/build/html/.buildinfo
|
|
|
4ec7a8 |
rst2html README.rst README.html
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
%install
|
|
|
4ec7a8 |
%py3_install
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
%check
|
|
|
4ec7a8 |
%{__python3} setup.py test
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
%files -n python3-%{srcname}
|
|
|
4ec7a8 |
%license LICENSE LICENSE.MIT LICENSE.APACHE2
|
|
|
4ec7a8 |
%doc README.rst README.html
|
|
|
4ec7a8 |
%doc docs/build/html
|
|
|
4ec7a8 |
%{python3_sitelib}/*
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
%changelog
|
|
|
4ec7a8 |
* Thu Sep 16 2021 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 1.1.2-8
|
|
|
4ec7a8 |
- rebuild with git+lookaside
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Thu Sep 2 2021 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.2-7
|
|
|
4ec7a8 |
- Fix FTBFS with Sphinx 4.0.
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-6
|
|
|
4ec7a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1.1.2-5
|
|
|
4ec7a8 |
- Rebuilt for Python 3.10
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-4
|
|
|
4ec7a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
|
|
|
4ec7a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-2
|
|
|
4ec7a8 |
- Rebuilt for Python 3.9
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Wed May 6 2020 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.2-1
|
|
|
4ec7a8 |
- Update to 1.1.2.
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Fri Apr 10 2020 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.1-1
|
|
|
4ec7a8 |
- Update to 1.1.1.
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
|
|
|
4ec7a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-3
|
|
|
4ec7a8 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-2
|
|
|
4ec7a8 |
- Rebuilt for Python 3.8
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Wed Aug 14 2019 Thomas Moschny <thomas.moschny@gmx.de> - 1.1.0-1
|
|
|
4ec7a8 |
- Update to 1.1.0.
|
|
|
4ec7a8 |
- Build docs.
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
|
|
4ec7a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Mon Apr 15 2019 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.2-1
|
|
|
4ec7a8 |
- Update to 1.0.2.
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
|
|
|
4ec7a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
|
|
4ec7a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-2
|
|
|
4ec7a8 |
- Rebuilt for Python 3.7
|
|
|
4ec7a8 |
|
|
|
4ec7a8 |
* Wed Apr 25 2018 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.1-1
|
|
|
4ec7a8 |
- New package.
|