Sync from SUSE:SLFO:Main python-readme_renderer revision 3e96f8bb3f0f47f7fce4bd387c83d758

This commit is contained in:
Adrian Schröter 2024-12-13 12:17:49 +01:00
parent cd0caaeb0c
commit a934c81973
4 changed files with 26 additions and 11 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sat Mar 16 12:54:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 43.0:
* Allow HTML5 picture tag through cleaner
* Test against Python 3.12
-------------------------------------------------------------------
Wed Dec 27 16:45:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 42.0:
* Migrate from ``bleach`` to ``nh3`` (#295)
* Migrate from ``setup.py`` to ``pyproject.toml``
-------------------------------------------------------------------
Thu Sep 7 11:38:42 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-readme_renderer
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,23 +18,24 @@
%{?sle15_python_module_pythons}
Name: python-readme_renderer
Version: 41.0
Version: 43.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.1}
BuildRequires: %{python_module bleach >= 2.1.0}
BuildRequires: %{python_module cmarkgfm >= 0.7.0}
BuildRequires: %{python_module docutils >= 0.13.1}
BuildRequires: %{python_module nh3 >= 0.2.14}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Pygments >= 2.5.1
Requires: python-bleach >= 2.1.0
Requires: python-docutils >= 0.13.1
Requires: python-nh3 >= 0.2.14
Recommends: python-cmarkgfm >= 0.7.0
BuildArch: noarch
%python_subpackages
@ -48,10 +49,10 @@ long_description for packages.
%autosetup -p1 -n readme_renderer-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -62,6 +63,6 @@ export LANG=en_US.UTF-8
%license LICENSE
%doc CHANGES.rst README.rst
%{python_sitelib}/readme_renderer
%{python_sitelib}/readme_renderer-%{version}*-info
%{python_sitelib}/readme_renderer-%{version}.dist-info
%changelog

BIN
readme_renderer-41.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
readme_renderer-43.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.