From a4a38f05e505502ffd99d4478fcc6e205904409a0813fa8ec27acacd06d0b2a7 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Sun, 30 Dec 2018 11:32:21 +0000 Subject: [PATCH] - update to 24.0: * Remove dependency on ``future``. (#134) * Breaking change: Move the cmarkgfm dependency into an extra (#130). Users that want to render Markdown will need to install readme_render[md] instead. * Unify handling of SVG and other images in RST. (#113) * Support width and alignment of images in RST (#114) * Allow . (#105) * Add specific tests for the raw directive. (#103) * Include docinfo when rendering rst. (#99) * Make Python 3 the default lexer for highlighting Python code in Markdown (#97) * Allow align attribute on

tags (#98) * Reformat docutils messages into more human-friendly output. (#92) * Fix incorrect escaping of html entities in pre tags when using markdown. (#89) * Allow width, height, alt, and align attributes on img tags. (#91) * Fix check to not report success when there is invalid RST. (#90) * Allow details and summary tags. (#77) * Add .pytest_cache to .gitignore. (#85) * Warn about Markdown content type when checking RST. (#83) * Update pep8 tox env to use py3.6. (#84) * Add Pygments-based syntax highlighting for Markdown. (#82) * Update docs about check to talk about Markdown. (#80) * Change Github-flavored Markdown identifier from ``gfm`` to ``GFM``. * Add support for GitHub-flavored Markdown. (#67) * Switch to cmarkgfm completely for rendering Markdown. (#68) * Warn about missing long description. (#69) * Make Github-Flavored Markdown the default variant (#73) * All renderers now accept arbitrary ``kwargs`` for future-proofing. * Gracefully handle new exceptions from bleach. * Fix an issue cleaning plaintext values. * Fix an issue attempting to clean data that had ```` tags without a href. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-readme_renderer?expand=0&rev=2 --- python-readme_renderer.changes | 35 ++++++++++++++++++++++++++++++++++ python-readme_renderer.spec | 13 +++++++------ readme_renderer-17.2.tar.gz | 3 --- readme_renderer-24.0.tar.gz | 3 +++ 4 files changed, 45 insertions(+), 9 deletions(-) delete mode 100644 readme_renderer-17.2.tar.gz create mode 100644 readme_renderer-24.0.tar.gz diff --git a/python-readme_renderer.changes b/python-readme_renderer.changes index 7e93e34..d59c5ca 100644 --- a/python-readme_renderer.changes +++ b/python-readme_renderer.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Sun Dec 30 11:27:34 UTC 2018 - Thomas Bechtold + +- update to 24.0: + * Remove dependency on ``future``. (#134) + * Breaking change: Move the cmarkgfm dependency into an extra (#130). Users + that want to render Markdown will need to install readme_render[md] instead. + * Unify handling of SVG and other images in RST. (#113) + * Support width and alignment of images in RST (#114) + * Allow . (#105) + * Add specific tests for the raw directive. (#103) + * Include docinfo when rendering rst. (#99) + * Make Python 3 the default lexer for highlighting Python code in Markdown (#97) + * Allow align attribute on

tags (#98) + * Reformat docutils messages into more human-friendly output. (#92) + * Fix incorrect escaping of html entities in pre tags when using markdown. (#89) + * Allow width, height, alt, and align attributes on img tags. (#91) + * Fix check to not report success when there is invalid RST. (#90) + * Allow details and summary tags. (#77) + * Add .pytest_cache to .gitignore. (#85) + * Warn about Markdown content type when checking RST. (#83) + * Update pep8 tox env to use py3.6. (#84) + * Add Pygments-based syntax highlighting for Markdown. (#82) + * Update docs about check to talk about Markdown. (#80) + * Change Github-flavored Markdown identifier from ``gfm`` to ``GFM``. + * Add support for GitHub-flavored Markdown. (#67) + * Switch to cmarkgfm completely for rendering Markdown. (#68) + * Warn about missing long description. (#69) + * Make Github-Flavored Markdown the default variant (#73) + * All renderers now accept arbitrary ``kwargs`` for future-proofing. + * Gracefully handle new exceptions from bleach. + * Fix an issue cleaning plaintext values. + * Fix an issue attempting to clean data that had ```` tags without a href. +- Use %license macro + ------------------------------------------------------------------- Mon Aug 14 01:35:57 UTC 2017 - toddrme2178@gmail.com diff --git a/python-readme_renderer.spec b/python-readme_renderer.spec index 3adec29..f9ce783 100644 --- a/python-readme_renderer.spec +++ b/python-readme_renderer.spec @@ -1,7 +1,7 @@ # # spec file for package python-readme_renderer # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,14 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-readme_renderer -Version: 17.2 +Version: 24.0 Release: 0 Summary: A library for rendering "readme" descriptions License: Apache-2.0 @@ -32,7 +32,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module Pygments} -BuildRequires: %{python_module bleach >= 2.0.0} +BuildRequires: %{python_module bleach >= 2.1.0} BuildRequires: %{python_module check-manifest} BuildRequires: %{python_module docutils >= 0.13.1} BuildRequires: %{python_module flake8} @@ -41,7 +41,7 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module six} %endif Requires: python-Pygments -Requires: python-bleach >= 2.0.0 +Requires: python-bleach >= 2.1.0 Requires: python-docutils >= 0.13.1 Requires: python-six BuildArch: noarch @@ -73,7 +73,8 @@ py.test-%{$python_bin_suffix} %files %{python_files} %defattr(-,root,root,-) -%doc CHANGES.rst LICENSE README.rst +%license LICENSE +%doc CHANGES.rst README.rst %{python_sitelib}/* %changelog diff --git a/readme_renderer-17.2.tar.gz b/readme_renderer-17.2.tar.gz deleted file mode 100644 index 36c78a5..0000000 --- a/readme_renderer-17.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9deab442963a63a71ab494bf581b1c844473995a2357f4b3228a1df1c8cba8da -size 14643 diff --git a/readme_renderer-24.0.tar.gz b/readme_renderer-24.0.tar.gz new file mode 100644 index 0000000..d944689 --- /dev/null +++ b/readme_renderer-24.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb16f55b259f27f75f640acf5e00cf897845a8b3e4731b5c1a436e4b8529202f +size 24038