From ce169533b6285befcae878b81898b6014127d6f7 Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 25 Oct 2019 10:19:21 +0000 Subject: py-graphviz: updated to 0.13 Version 0.13 Add explicit support for layout engine escape sequences such as ``\l`` and ``\N``. These already worked implicitly before but where broken by backslash escaping in ``0.12``, which is reverted by this release. Escaping now resembles the stdlib ``re`` module: literal backslashes need to be escaped (doubled), which is most conveniently done by using raw string literals for strings that use escape sequences (including escaped backslashes), e.g. ``label=r'\\'``. Add ``escape()`` function (resembling ``re.escape()``) for disabling all meta-characters in a string for rendering. Use ``logging`` in example notebook, add notebooks demonstrating layout engines and escape sequence usage, improve tests with parametrization. --- graphics/py-graphviz/Makefile | 4 ++-- graphics/py-graphviz/distinfo | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'graphics/py-graphviz') diff --git a/graphics/py-graphviz/Makefile b/graphics/py-graphviz/Makefile index 1c23c098a52..594a282cefc 100644 --- a/graphics/py-graphviz/Makefile +++ b/graphics/py-graphviz/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.9 2019/08/26 13:22:27 adam Exp $ +# $NetBSD: Makefile,v 1.10 2019/10/25 10:19:21 adam Exp $ -DISTNAME= graphviz-0.12 +DISTNAME= graphviz-0.13 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= graphics python MASTER_SITES= ${MASTER_SITE_PYPI:=g/graphviz/} diff --git a/graphics/py-graphviz/distinfo b/graphics/py-graphviz/distinfo index 5ec7819f5df..0b5906cce2b 100644 --- a/graphics/py-graphviz/distinfo +++ b/graphics/py-graphviz/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.8 2019/08/26 13:22:27 adam Exp $ +$NetBSD: distinfo,v 1.9 2019/10/25 10:19:21 adam Exp $ -SHA1 (graphviz-0.12.zip) = a108de5be2e41813804f65cca2aac573bffb3c20 -RMD160 (graphviz-0.12.zip) = 90c05689815c3b99354fbbead5af740cb12b0327 -SHA512 (graphviz-0.12.zip) = c4b721f66232cfbb137aa6d5bb186648e41d34e9e1fcb32e2bd32bf42aa28b386f336ec4d3cb5a505fb203bfea5e3d64ee3a6d826e1e2f8b0dccd57fb9cb5e40 -Size (graphviz-0.12.zip) = 173452 bytes +SHA1 (graphviz-0.13.zip) = d0adb09ed2cb538aa091a395a0f7875cd0b365d8 +RMD160 (graphviz-0.13.zip) = a002017e6719daf23de0bf4e4127faf75df10d85 +SHA512 (graphviz-0.13.zip) = 3401aeebd6b19f487998aeb4cffcf9598ed31a861b6d335fc76295474512068692371b061a83fb001098010813c0ab61a06c3f2c410c9c9d108000a6b2ab6631 +Size (graphviz-0.13.zip) = 181039 bytes -- cgit v1.2.3