14
0

- update to 41.0:

* Allow HTML5 `figcaption` tag through cleaner (#291)
  * Test `README.rst` from this project (#288)
  * Add CLI option to render package README. (#271)
  * Adapt tests to pygments 2.14.0 (#272)
  * Update release process to use Trusted Publishing (#276)
  * Replace usage of deprecated `pkg_resources` with
    `importlib.metadata` (#281)
  * Drop support for Python 3.7 (#282), Test against Python 3.11
    (#280)
- drop fix-tests-pygments-2.14.0.patch (upstream)
  pygments gh#pypa/readme_renderer#272
 * Preserve lang attribute in pre (#247)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-readme_renderer?expand=0&rev=27
This commit is contained in:
2023-09-07 11:39:59 +00:00
committed by Git OBS Bridge
parent cf9b531b2b
commit 68d8d2201b
5 changed files with 21 additions and 119 deletions

View File

@@ -16,17 +16,14 @@
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-readme_renderer
Version: 37.3
Version: 41.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
# PATCH-FIX-UPSTREAM fix-tests-pygments-2.14.0.patch gh#pypa/readme_renderer#272
Patch0: fix-tests-pygments-2.14.0.patch
BuildRequires: %{python_module Pygments >= 2.5.1}
BuildRequires: %{python_module bleach >= 2.1.0}
BuildRequires: %{python_module cmarkgfm >= 0.7.0}