14
0

Accepting request 1112224 from home:mcalabkova:branches:devel:languages:python

- Add sphinx71.patch and sphinx72.patch to fix tests with Sphinx 7.2

OBS-URL: https://build.opensuse.org/request/show/1112224
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-tabs?expand=0&rev=9
This commit is contained in:
2023-09-19 11:16:54 +00:00
committed by Git OBS Bridge
parent bd34755d3e
commit a08663dbbc
4 changed files with 452 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-sphinx-tabs
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -39,6 +39,10 @@ Group: Development/Languages/Python
URL: https://github.com/executablebooks/sphinx-tabs
# Use the github tag instead of the pythonhosted.org to get the tests folder
Source: https://github.com/executablebooks/sphinx-tabs/archive/refs/tags/v%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/executablebooks/sphinx-tabs/commit/f60a10e13b3a6a8d1d27f285d9942b57ab07d0a8 Make the tests pass with Sphinx 7.1
Patch: sphinx71.patch
# PATCH-FIX-UPSTREAM https://github.com/executablebooks/sphinx-tabs/pull/179 Fix tests for Sphinx 7.2
Patch: sphinx72.patch
BuildRequires: %{python_module Pygments}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module docutils}
@@ -60,7 +64,7 @@ BuildRequires: %{python_module sphinx-tabs = %{version}}
Create tabbed content in Sphinx documentation when building HTML.
%prep
%setup -q -n sphinx-tabs-%{version}
%autosetup -p1 -n sphinx-tabs-%{version}
%build
%python_build