From a934c81973f8f5ee8ed7f49241c2c605cd87c5067742777b974afd08395bda59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Dec 2024 12:17:49 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-readme_renderer revision 3e96f8bb3f0f47f7fce4bd387c83d758 --- python-readme_renderer.changes | 14 ++++++++++++++ python-readme_renderer.spec | 17 +++++++++-------- readme_renderer-41.0.tar.gz | 3 --- readme_renderer-43.0.tar.gz | 3 +++ 4 files changed, 26 insertions(+), 11 deletions(-) delete mode 100644 readme_renderer-41.0.tar.gz create mode 100644 readme_renderer-43.0.tar.gz diff --git a/python-readme_renderer.changes b/python-readme_renderer.changes index 7335a59..b3415fa 100644 --- a/python-readme_renderer.changes +++ b/python-readme_renderer.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sat Mar 16 12:54:36 UTC 2024 - Dirk Müller + +- 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 + +- 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 diff --git a/python-readme_renderer.spec b/python-readme_renderer.spec index b47b0cc..1cd54c8 100644 --- a/python-readme_renderer.spec +++ b/python-readme_renderer.spec @@ -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 diff --git a/readme_renderer-41.0.tar.gz b/readme_renderer-41.0.tar.gz deleted file mode 100644 index ad74f55..0000000 --- a/readme_renderer-41.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f4b11e5893f5a5d725f592c5a343e0dc74f5f273cb3dcf8c42d9703a27073f7 -size 32420 diff --git a/readme_renderer-43.0.tar.gz b/readme_renderer-43.0.tar.gz new file mode 100644 index 0000000..8c3c30c --- /dev/null +++ b/readme_renderer-43.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1818dd28140813509eeed8d62687f7cd4f7bad90d4db586001c5dc09d4fde311 +size 31768