14
0

Accepting request 880504 from home:bnavigator:branches:devel:languages:python

- Update to 29.0
  * Support cmarkgfm>=0.5.0 (#180)
  * Drop support for Python 2 and 3.5 (#188)
- Release 28.0
  * Support Python 3.9 (#176)
- Release 27.0
  * Add support for align attribute rendering Markdown headers
    (#173)
- Add remove-mock.patch and remove-six.patch to reduce outdated
  dependecies -- gh#pypa/readme_renderer#192
-

OBS-URL: https://build.opensuse.org/request/show/880504
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-readme_renderer?expand=0&rev=13
This commit is contained in:
2021-03-22 22:13:51 +00:00
committed by Git OBS Bridge
parent e5de9cad1f
commit d49c45c547
6 changed files with 237 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-readme_renderer
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,29 +19,28 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-readme_renderer
Version: 26.0
Version: 29.0
Release: 0
Summary: A library for rendering "readme" descriptions
License: Apache-2.0
URL: https://github.com/pypa/readme_renderer
Source: https://files.pythonhosted.org/packages/source/r/readme_renderer/readme_renderer-%{version}.tar.gz
BuildRequires: %{python_module Pygments >= 2.5.2}
BuildRequires: %{python_module bleach >= 3.0.0}
BuildRequires: %{python_module check-manifest}
BuildRequires: %{python_module cmarkgfm >= 0.2.0}
BuildRequires: %{python_module devel}
# PATCH-FIX-UPSTREAM remove-mock.patch -- part of gh#pypa/readme_renderer#192
Patch0: https://github.com/pypa/readme_renderer/commit/091bcd6.patch#/remove-mock.patch
# PATCH-FIX-UPSTREAM remove-six.patch -- part of gh#pypa/readme_renderer#192
Patch1: https://github.com/pypa/readme_renderer/commit/690e524.patch#/remove-six.patch
BuildRequires: %{python_module Pygments >= 2.5.1}
BuildRequires: %{python_module bleach >= 2.1.0}
BuildRequires: %{python_module cmarkgfm >= 0.5.0}
BuildRequires: %{python_module docutils >= 0.13.1}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Pygments
Requires: python-bleach >= 3.0.0
Requires: python-Pygments >= 2.5.1
Requires: python-bleach >= 2.1.0
Requires: python-docutils >= 0.13.1
Requires: python-six
Recommends: python-cmarkgfm >= 0.2.0
Recommends: python-cmarkgfm >= 0.5.0
BuildArch: noarch
%python_subpackages
@@ -51,7 +50,7 @@ into HTML. It is designed to be used in Warehouse to render the
long_description for packages.
%prep
%setup -q -n readme_renderer-%{version}
%autosetup -p1 -n readme_renderer-%{version}
%build
%python_build