pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/py-graphviz py-graphviz: updated to 0.13



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9b1dcd9ae724
branches:  trunk
changeset: 416436:9b1dcd9ae724
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Oct 25 10:19:21 2019 +0000

description:
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.

diffstat:

 graphics/py-graphviz/Makefile |   4 ++--
 graphics/py-graphviz/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 2c59abb42e74 -r 9b1dcd9ae724 graphics/py-graphviz/Makefile
--- a/graphics/py-graphviz/Makefile     Fri Oct 25 10:18:03 2019 +0000
+++ b/graphics/py-graphviz/Makefile     Fri Oct 25 10:19:21 2019 +0000
@@ -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 -r 2c59abb42e74 -r 9b1dcd9ae724 graphics/py-graphviz/distinfo
--- a/graphics/py-graphviz/distinfo     Fri Oct 25 10:18:03 2019 +0000
+++ b/graphics/py-graphviz/distinfo     Fri Oct 25 10:19:21 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index