- 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 <caption>. (#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 <p> 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 ``<a>`` tags without a href.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-readme_renderer?expand=0&rev=2
This commit is contained in:
Thomas Bechtold 2018-12-30 11:32:21 +00:00 committed by Git OBS Bridge
parent 68e81bbb69
commit a4a38f05e5
4 changed files with 45 additions and 9 deletions

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sun Dec 30 11:27:34 UTC 2018 - Thomas Bechtold <tbechtold@suse.com>
- 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 <caption>. (#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 <p> 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 ``<a>`` tags without a href.
- Use %license macro
-------------------------------------------------------------------
Mon Aug 14 01:35:57 UTC 2017 - toddrme2178@gmail.com

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9deab442963a63a71ab494bf581b1c844473995a2357f4b3228a1df1c8cba8da
size 14643

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb16f55b259f27f75f640acf5e00cf897845a8b3e4731b5c1a436e4b8529202f
size 24038