14
0

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:
2022-04-14 08:59:50 +00:00
committed by Git OBS Bridge
parent d7b367e228
commit 5d1777cab5
5 changed files with 21 additions and 40 deletions

View File

@@ -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}