forked from pool/python-restview
Accepting request 970084 from home:pgajdos:python
- version update to 3.0.0 3.0.0 (2022-01-12) - Drop support for Python 2.7. 2.9.3 (2021-11-29) - Fix incompatibility with docutils 0.18.1 that resulted in "Cannot embed stylesheet" errors (`issue 61 <https://github.com/mgedmin/restview/pull/61>`_, contributed by Sébastien Besson). - Add support for Python 3.8, 3.9, and 3.10. - Drop support for Python 3.5. - deleted patches - false.patch (upstreamed) OBS-URL: https://build.opensuse.org/request/show/970084 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-restview?expand=0&rev=11
This commit is contained in:
31
false.patch
31
false.patch
@@ -1,31 +0,0 @@
|
|||||||
From a1ded30a87c65f3ce59a18497a7fc5099317c2be Mon Sep 17 00:00:00 2001
|
|
||||||
From: Marius Gedminas <marius@gedmin.as>
|
|
||||||
Date: Sat, 12 Dec 2020 13:21:04 +0200
|
|
||||||
Subject: [PATCH] New mock release returns False from patcher.stop()
|
|
||||||
|
|
||||||
---
|
|
||||||
src/restview/tests.py | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/restview/tests.py b/src/restview/tests.py
|
|
||||||
index c868c57..2b33ce2 100644
|
|
||||||
--- a/src/restview/tests.py
|
|
||||||
+++ b/src/restview/tests.py
|
|
||||||
@@ -669,7 +669,7 @@ def doctest_RestViewer_rest_to_html_strict_and_error_handling():
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
- >>> stderr_patcher.stop()
|
|
||||||
+ >>> _ = stderr_patcher.stop()
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
@@ -718,7 +718,7 @@ def doctest_RestViewer_rest_to_html_pypi_strict_and_error_handling():
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
||||||
- >>> stderr_patcher.stop()
|
|
||||||
+ >>> _ = stderr_patcher.stop()
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
@@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 14 07:20:58 UTC 2022 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- version update to 3.0.0
|
||||||
|
3.0.0 (2022-01-12)
|
||||||
|
- Drop support for Python 2.7.
|
||||||
|
2.9.3 (2021-11-29)
|
||||||
|
- Fix incompatibility with docutils 0.18.1 that resulted in "Cannot embed
|
||||||
|
stylesheet" errors (`issue 61 <https://github.com/mgedmin/restview/pull/61>`_,
|
||||||
|
contributed by Sébastien Besson).
|
||||||
|
- Add support for Python 3.8, 3.9, and 3.10.
|
||||||
|
- Drop support for Python 3.5.
|
||||||
|
- deleted patches
|
||||||
|
- false.patch (upstreamed)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 1 12:58:17 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
Thu Apr 1 12:58:17 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-restview
|
# spec file for package python-restview
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,15 +18,13 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-restview
|
Name: python-restview
|
||||||
Version: 2.9.2
|
Version: 3.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: ReStructuredText viewer
|
Summary: ReStructuredText viewer
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://mg.pov.lt/restview/
|
URL: https://mg.pov.lt/restview/
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/restview/restview-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/restview/restview-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/mgedmin/restview/commit/a1ded30a87c65f3ce59a18497a7fc5099317c2be New mock release returns False from patcher.stop()
|
|
||||||
Patch0: false.patch
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -34,11 +32,10 @@ Requires: python-docutils
|
|||||||
Requires: python-pygments
|
Requires: python-pygments
|
||||||
Requires: python-readme_renderer
|
Requires: python-readme_renderer
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module docutils}
|
BuildRequires: %{python_module docutils}
|
||||||
BuildRequires: %{python_module mock}
|
|
||||||
BuildRequires: %{python_module pygments}
|
BuildRequires: %{python_module pygments}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module readme_renderer}
|
BuildRequires: %{python_module readme_renderer}
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:790097eb587c0465126dde73ca06c7a22c5007ce1be4a1de449a13c0767b32dc
|
|
||||||
size 47181
|
|
3
restview-3.0.0.tar.gz
Normal file
3
restview-3.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2b989610aaed2fd42da64f6cdc539cf3ee70ce370bcba872db72421ad515dd1e
|
||||||
|
size 49774
|
Reference in New Issue
Block a user