forked from pool/python-sphinxcontrib-websupport
- update to 1.2.6:
* Fix tests for Sphinx 7.1 and below * Drop support for Python 3.5, 3.6, 3.7, and 3.8 * Raise minimum required Sphinx version to 5.0 - drop python-sphinxcontrib-websupport-no-six.patch (upstream) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-websupport?expand=0&rev=36
This commit is contained in:
parent
cc42a77729
commit
31151fd3b6
@ -1,14 +0,0 @@
|
||||
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,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 7 11:22:53 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.2.6:
|
||||
* Fix tests for Sphinx 7.1 and below
|
||||
* Drop support for Python 3.5, 3.6, 3.7, and 3.8
|
||||
* Raise minimum required Sphinx version to 5.0
|
||||
- drop python-sphinxcontrib-websupport-no-six.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 20:08:33 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
|
@ -26,14 +26,13 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-sphinxcontrib-websupport%{psuffix}
|
||||
Version: 1.2.4
|
||||
Version: 1.2.6
|
||||
Release: 0
|
||||
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
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-websupport/sphinxcontrib_websupport-%{version}.tar.gz
|
||||
BuildRequires: %{python_module flit-core}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
@ -44,14 +43,14 @@ BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module SQLAlchemy}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module Sphinx >= 5.0}
|
||||
BuildRequires: %{python_module Whoosh}
|
||||
BuildRequires: %{python_module docutils}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module sphinxcontrib-websupport >= %{version}}
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
|
||||
Recommends: python-Sphinx
|
||||
Recommends: python-Sphinx >= 5.0
|
||||
Suggests: python-SQLAlchemy
|
||||
Suggests: python-Whoosh
|
||||
Suggests: python-xapian
|
||||
@ -63,7 +62,7 @@ sphinxcontrib-webuspport provides a Python API to integrate Sphinx
|
||||
documentation into your Web application.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n sphinxcontrib-websupport-%{version}
|
||||
%autosetup -p1 -n sphinxcontrib_websupport-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@ -85,7 +84,6 @@ documentation into your Web application.
|
||||
%doc CHANGES README.rst
|
||||
%dir %{python_sitelib}/sphinxcontrib/
|
||||
%{python_sitelib}/sphinxcontrib/websupport
|
||||
%{python_sitelib}/sphinxcontrib_websupport-%{version}*-nspkg.pth
|
||||
%{python_sitelib}/sphinxcontrib_websupport-%{version}*-info
|
||||
%endif
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4edf0223a0685a7c485ae5a156b6f529ba1ee481a1417817935b20bde1956232
|
||||
size 602360
|
BIN
sphinxcontrib_websupport-1.2.6.tar.gz
(Stored with Git LFS)
Normal file
BIN
sphinxcontrib_websupport-1.2.6.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user