diff --git a/false.patch b/false.patch deleted file mode 100644 index 697b4da..0000000 --- a/false.patch +++ /dev/null @@ -1,31 +0,0 @@ -From a1ded30a87c65f3ce59a18497a7fc5099317c2be Mon Sep 17 00:00:00 2001 -From: Marius Gedminas -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(): - - - -- >>> stderr_patcher.stop() -+ >>> _ = stderr_patcher.stop() - - """ - -@@ -718,7 +718,7 @@ def doctest_RestViewer_rest_to_html_pypi_strict_and_error_handling(): - - - -- >>> stderr_patcher.stop() -+ >>> _ = stderr_patcher.stop() - - """ - diff --git a/python-restview.changes b/python-restview.changes index 76b81e3..746d4ed 100644 --- a/python-restview.changes +++ b/python-restview.changes @@ -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 `_, + 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á diff --git a/python-restview.spec b/python-restview.spec index 7b9bb19..da72ddd 100644 --- a/python-restview.spec +++ b/python-restview.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,15 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-restview -Version: 2.9.2 +Version: 3.0.0 Release: 0 Summary: ReStructuredText viewer License: GPL-3.0-only Group: Development/Languages/Python URL: https://mg.pov.lt/restview/ 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: fdupes BuildRequires: python-rpm-macros @@ -34,11 +32,10 @@ Requires: python-docutils Requires: python-pygments Requires: python-readme_renderer Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module docutils} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pygments} BuildRequires: %{python_module pytest} BuildRequires: %{python_module readme_renderer} diff --git a/restview-2.9.2.tar.gz b/restview-2.9.2.tar.gz deleted file mode 100644 index 170cfcb..0000000 --- a/restview-2.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:790097eb587c0465126dde73ca06c7a22c5007ce1be4a1de449a13c0767b32dc -size 47181 diff --git a/restview-3.0.0.tar.gz b/restview-3.0.0.tar.gz new file mode 100644 index 0000000..37dfe82 --- /dev/null +++ b/restview-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b989610aaed2fd42da64f6cdc539cf3ee70ce370bcba872db72421ad515dd1e +size 49774