Source-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.14



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a34e6c346158
branches:  trunk
changeset: 431943:a34e6c346158
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun May 17 18:32:42 2020 +0000

description:
py-graphviz: updated to 0.14

Version 0.14
------------

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.

Add notebook section to documentation.

Add ``sphinx.ext.viewcode`` to docs (note that this currently lacks links for
methods, so that not all of the code is linked; use the source repo for reading
on).

Improve test and doc building config.

diffstat:

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

diffs (44 lines):

diff -r 93b81582aabe -r a34e6c346158 graphics/py-graphviz/Makefile
--- a/graphics/py-graphviz/Makefile     Sun May 17 18:30:27 2020 +0000
+++ b/graphics/py-graphviz/Makefile     Sun May 17 18:32:42 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2019/11/08 09:24:05 adam Exp $
+# $NetBSD: Makefile,v 1.13 2020/05/17 18:32:42 adam Exp $
 
-DISTNAME=      graphviz-0.13.2
+DISTNAME=      graphviz-0.14
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/graphviz/}
@@ -12,14 +12,13 @@
 LICENSE=       mit
 
 DEPENDS+=      graphviz-[0-9]*:../../graphics/graphviz
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.4:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=1.8:../../devel/py-test-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
 USE_LANGUAGES= # none
 
-do-test:
-       cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
+PYSETUPTESTTARGET=     pytest
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 93b81582aabe -r a34e6c346158 graphics/py-graphviz/distinfo
--- a/graphics/py-graphviz/distinfo     Sun May 17 18:30:27 2020 +0000
+++ b/graphics/py-graphviz/distinfo     Sun May 17 18:32:42 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.11 2019/11/08 09:24:05 adam Exp $
+$NetBSD: distinfo,v 1.12 2020/05/17 18:32:42 adam Exp $
 
-SHA1 (graphviz-0.13.2.zip) = 49ac902dbf6600714d79ea0d79bf24e2f9030c5b
-RMD160 (graphviz-0.13.2.zip) = 42cb0e19798cb408bafb1e27e43224f6440f9571
-SHA512 (graphviz-0.13.2.zip) = 81aa8a4afa6a1895b7f933a4a591fedb58f364cc77b0cd65707ec980efb7fadc8f4b8aeab2eba53d64e21209b236d5bae4d8b38f5256cfb26276c6e56145ee94
-Size (graphviz-0.13.2.zip) = 181657 bytes
+SHA1 (graphviz-0.14.zip) = b5d85a0919d2e5d5f5d160c98b1ff034bc1aef97
+RMD160 (graphviz-0.14.zip) = e4f40d7fec7276fc8ab2af44885637c79a8ee152
+SHA512 (graphviz-0.14.zip) = 4f1b50e1756e1c0c5c9c80d2e5c4a900bce7b6c825fe541b19d4fc19f3cab3e2921bc0f4398b3c0ed2f1326b4c4b65f178b6bf0aadc6086dccb780cf969fbf32
+Size (graphviz-0.14.zip) = 183001 bytes



Home | Main Index | Thread Index | Old Index