From 4ec7a85d51366f8483b8b382f6db23db4bbb7640 Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Sep 16 2021 18:09:46 +0000 Subject: rebuild with git+lookaside --- diff --git a/.python-sphinxcontrib-trio.metadata b/.python-sphinxcontrib-trio.metadata new file mode 100644 index 0000000..56bc281 --- /dev/null +++ b/.python-sphinxcontrib-trio.metadata @@ -0,0 +1 @@ +fd164f1660c9e8bee91941dac19d9bc6a73c772c SOURCES/sphinxcontrib-trio-1.1.2.tar.gz diff --git a/SOURCES/python-sphinxcontrib-trio-1.1.2.patch b/SOURCES/python-sphinxcontrib-trio-1.1.2.patch new file mode 100644 index 0000000..cb0a808 --- /dev/null +++ b/SOURCES/python-sphinxcontrib-trio-1.1.2.patch @@ -0,0 +1,21 @@ +commit 835bb2be9e00c50e5751d271380ac00fe98f8d07 +Author: Karolina Surma <33810531+befeleme@users.noreply.github.com> +Date: Tue Jun 15 18:47:42 2021 + + Replace call to add_stylesheet with add_css_file + + This should prevent documentation build failures with Sphinx 4. + +diff --git a/docs/source/conf.py b/docs/source/conf.py +index c3f6e2f..ab160e1 100644 +--- a/docs/source/conf.py ++++ b/docs/source/conf.py +@@ -38,7 +38,7 @@ extensions = [ + ] + + def setup(app): +- app.add_stylesheet("hack.css") ++ app.add_css_file("hack.css") + + intersphinx_mapping = { + "sphinx": ("http://www.sphinx-doc.org/en/stable/", None), diff --git a/SPECS/python-sphinxcontrib-trio.spec b/SPECS/python-sphinxcontrib-trio.spec new file mode 100644 index 0000000..8df9420 --- /dev/null +++ b/SPECS/python-sphinxcontrib-trio.spec @@ -0,0 +1,123 @@ +%global srcname sphinxcontrib-trio + +Name: python-%{srcname} +Version: 1.1.2 +Release: 8%{?dist} +Summary: Make Sphinx better at documenting Python functions and methods +License: MIT or ASL 2.0 +URL: https://github.com/python-trio/sphinxcontrib-trio +Source0: %{pypi_source} +Patch0: python-sphinxcontrib-trio-1.1.2.patch +BuildArch: noarch + +%global desc \ +This sphinx extension helps you document Python code that uses \ +async/await, or abstract methods, or context managers, or generators, \ +or ... you get the idea. It works by making sphinx's regular \ +directives for documenting Python functions and methods smarter and \ +more powerful. The name is because it was originally written for the \ +Trio project, and I'm not very creative. But don't be put off – \ +there's nothing Trio- or async-specific about this extension; any \ +Python project can benefit. (Though projects using async/await \ +probably benefit the most, since sphinx's built-in tools are \ +especially inadequate in this case.) + +%description +%desc + + +%package -n python3-%{srcname} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-sphinx +BuildRequires: %{_bindir}/rst2html +BuildRequires: make +Summary: %{summary} + +%description -n python3-%{srcname} +%desc + + +%prep +%autosetup -p1 -n %{srcname}-%{version} + + +%build +%py3_build +make -C docs html SPHINXBUILD=%{_bindir}/sphinx-build-3 +rm -f docs/build/html/.buildinfo +rst2html README.rst README.html + +%install +%py3_install + + +%check +%{__python3} setup.py test + + +%files -n python3-%{srcname} +%license LICENSE LICENSE.MIT LICENSE.APACHE2 +%doc README.rst README.html +%doc docs/build/html +%{python3_sitelib}/* + + +%changelog +* Thu Sep 16 2021 Kaleb S. KEITHLEY - 1.1.2-8 +- rebuild with git+lookaside + +* Thu Sep 2 2021 Thomas Moschny - 1.1.2-7 +- Fix FTBFS with Sphinx 4.0. + +* Fri Jul 23 2021 Fedora Release Engineering - 1.1.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jun 02 2021 Python Maint - 1.1.2-5 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.1.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri May 22 2020 Miro Hrončok - 1.1.2-2 +- Rebuilt for Python 3.9 + +* Wed May 6 2020 Thomas Moschny - 1.1.2-1 +- Update to 1.1.2. + +* Fri Apr 10 2020 Thomas Moschny - 1.1.1-1 +- Update to 1.1.1. + +* Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1.1.0-3 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Thu Aug 15 2019 Miro Hrončok - 1.1.0-2 +- Rebuilt for Python 3.8 + +* Wed Aug 14 2019 Thomas Moschny - 1.1.0-1 +- Update to 1.1.0. +- Build docs. + +* Fri Jul 26 2019 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Mon Apr 15 2019 Thomas Moschny - 1.0.2-1 +- Update to 1.0.2. + +* Sat Feb 02 2019 Fedora Release Engineering - 1.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 1.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jun 15 2018 Miro Hrončok - 1.0.1-2 +- Rebuilt for Python 3.7 + +* Wed Apr 25 2018 Thomas Moschny - 1.0.1-1 +- New package.