15
0

- update to 0.14.1

* Document the colon-separated ``node[:port[:compass]]`` format used for ``tail``
  and ``head`` points in the ``edge()``- and ``edges()``-methods'
  * Improve handling of escaped quotes (``\"``). Different from other layout engine
  escapes sequences such as ``\l`` and ``\N`` (which are passed on as is by
  default), there is no use case for backslash-escaping a literal quote character
  because escaping of quotes is done by this library. Therefore, a
  backslash-escaped quote (e.g. in ``label='\\"'``) is now treated the same as a
  plain unescaped quote, i.e. both ``label='"'`` and ``label='\\"'`` produce
  the same DOT source ``[label="\""]`` (a label that renders as a literal quote).
  Before this change, use of ``'\\"'`` could break the quoting mechanism creating
  invalid or unintended DOT, possibly leading to syntax errors from the rendering
  process.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphviz?expand=0&rev=22
This commit is contained in:
2020-08-06 08:30:45 +00:00
committed by Git OBS Bridge
parent b7c6496d96
commit 38e08ea802
4 changed files with 22 additions and 5 deletions

View File

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

3
graphviz-0.14.1.zip Normal file
View File

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

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Aug 6 08:26:39 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 0.14.1
* Document the colon-separated ``node[:port[:compass]]`` format used for ``tail``
and ``head`` points in the ``edge()``- and ``edges()``-methods'
* Improve handling of escaped quotes (``\"``). Different from other layout engine
escapes sequences such as ``\l`` and ``\N`` (which are passed on as is by
default), there is no use case for backslash-escaping a literal quote character
because escaping of quotes is done by this library. Therefore, a
backslash-escaped quote (e.g. in ``label='\\"'``) is now treated the same as a
plain unescaped quote, i.e. both ``label='"'`` and ``label='\\"'`` produce
the same DOT source ``[label="\""]`` (a label that renders as a literal quote).
Before this change, use of ``'\\"'`` could break the quoting mechanism creating
invalid or unintended DOT, possibly leading to syntax errors from the rendering
process.
-------------------------------------------------------------------
Sun Nov 24 17:21:08 UTC 2019 - Arun Persaud <arun@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-graphviz
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-graphviz
Version: 0.13.2
Version: 0.14.1
Release: 0
Summary: Python interface for Graphviz
License: MIT