forked from pool/python-sphinxcontrib-websupport
		
	Accepting request 1077667 from home:pgajdos:python
- do not require six
- added patches
  fix a249f8f962
  + python-sphinxcontrib-websupport-no-six.patch
OBS-URL: https://build.opensuse.org/request/show/1077667
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-websupport?expand=0&rev=32
			
			
This commit is contained in:
		
							
								
								
									
										14
									
								
								python-sphinxcontrib-websupport-no-six.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								python-sphinxcontrib-websupport-no-six.patch
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| Index: sphinxcontrib-websupport-1.2.4/tests/test_searchadapters.py | ||||
| =================================================================== | ||||
| --- sphinxcontrib-websupport-1.2.4.orig/tests/test_searchadapters.py | ||||
| +++ sphinxcontrib-websupport-1.2.4/tests/test_searchadapters.py | ||||
| @@ -9,7 +9,8 @@ | ||||
|      :license: BSD, see LICENSE for details. | ||||
|  """ | ||||
|   | ||||
| -from six import StringIO | ||||
| +from io import StringIO | ||||
| + | ||||
|  import pytest | ||||
|   | ||||
|  from sphinxcontrib.websupport import WebSupport | ||||
| @@ -1,3 +1,11 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Thu Apr  6 07:11:53 UTC 2023 - pgajdos@suse.com | ||||
|  | ||||
| - do not require six | ||||
| - added patches | ||||
|   fix https://github.com/sphinx-doc/sphinxcontrib-websupport/commit/a249f8f962bb4687b780482c6c5a1cc3dc60629f | ||||
|   + python-sphinxcontrib-websupport-no-six.patch | ||||
|  | ||||
| ------------------------------------------------------------------- | ||||
| Thu Feb 16 18:15:05 UTC 2023 - Matej Cepl <mcepl@suse.com> | ||||
|  | ||||
|   | ||||
| @@ -32,13 +32,14 @@ Summary:        Sphinx API for Web Apps | ||||
| License:        BSD-2-Clause | ||||
| URL:            https://github.com/sphinx-doc/sphinxcontrib-websupport | ||||
| Source:         https://files.pythonhosted.org/packages/source/s/sphinxcontrib-websupport/sphinxcontrib-websupport-%{version}.tar.gz | ||||
| # https://github.com/sphinx-doc/sphinxcontrib-websupport/commit/a249f8f962bb4687b780482c6c5a1cc3dc60629f | ||||
| Patch0:         python-sphinxcontrib-websupport-no-six.patch | ||||
| BuildRequires:  %{python_module pip} | ||||
| BuildRequires:  %{python_module wheel} | ||||
| BuildRequires:  fdupes | ||||
| BuildRequires:  python-rpm-macros | ||||
| Requires:       python-Jinja2 | ||||
| Requires:       python-docutils | ||||
| Requires:       python-six | ||||
| BuildArch:      noarch | ||||
| %if %{with test} | ||||
| BuildRequires:  %{python_module Jinja2} | ||||
| @@ -47,7 +48,6 @@ BuildRequires:  %{python_module Sphinx} | ||||
| BuildRequires:  %{python_module Whoosh} | ||||
| BuildRequires:  %{python_module docutils} | ||||
| BuildRequires:  %{python_module pytest} | ||||
| BuildRequires:  %{python_module six} | ||||
| BuildRequires:  %{python_module sphinxcontrib-websupport >= %{version}} | ||||
| %endif | ||||
| %if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user