From e58f8b961179d0ed11c8de3780ccfe7c32b569e6 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Wed, 22 Sep 2021 16:40:26 -0600 Subject: [PATCH] Add upstream -docutils patch to fix FTI (bz 2006934). --- python-pydata-sphinx-theme-docutils.patch | 11 +++++++++++ python-pydata-sphinx-theme.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 python-pydata-sphinx-theme-docutils.patch diff --git a/python-pydata-sphinx-theme-docutils.patch b/python-pydata-sphinx-theme-docutils.patch new file mode 100644 index 0000000..8ca825e --- /dev/null +++ b/python-pydata-sphinx-theme-docutils.patch @@ -0,0 +1,11 @@ +--- a/setup.py 2021-04-26 13:04:47.000000000 -0600 ++++ b/setup.py 2021-09-22 16:24:01.861130666 -0600 +@@ -48,7 +48,7 @@ setup( + include_package_data=True, + # See http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package + entry_points={"sphinx.html_themes": ["pydata_sphinx_theme = pydata_sphinx_theme"]}, +- install_requires=["sphinx", "beautifulsoup4", "docutils<0.17"], ++ install_requires=["sphinx", "beautifulsoup4", "docutils!=0.17.0"], + extras_require={ + "test": tests_require, + "coverage": ["pytest-cov", "codecov", *tests_require], diff --git a/python-pydata-sphinx-theme.spec b/python-pydata-sphinx-theme.spec index 662660a..60a7741 100644 --- a/python-pydata-sphinx-theme.spec +++ b/python-pydata-sphinx-theme.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 0.6.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Bootstrap-based Sphinx theme from the PyData community # This project is BSD. @@ -15,6 +15,9 @@ Patch0: %{name}-fontawesome.patch # Adapt to sphinx 4.x # https://github.com/pydata/pydata-sphinx-theme/commit/403f174de953947840e6a20289f6b39814d00bdd Patch1: %{name}-sphinx4.1.patch +# Allow use of docutils 0.17.1 +# https://github.com/pydata/pydata-sphinx-theme/pull/463 +Patch2: %{name}-docutils.patch BuildArch: noarch @@ -99,5 +102,8 @@ rm docs/_build/html/.buildinfo %license LICENSE %changelog +* Wed Sep 22 2021 Jerry James - 0.6.3-2 +- Add upstream -docutils patch to fix FTI (bz 2006934) + * Tue Jul 13 2021 Jerry James - 0.6.3-1 - Initial RPM