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.diff -r1.12 -r1.13 pkgsrc/graphics/py-graphviz/Makefile
(adam)
@@ -1,25 +1,24 @@ | @@ -1,25 +1,24 @@ | |||
1 | # $NetBSD: Makefile,v 1.12 2019/11/08 09:24:05 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.13 2020/05/17 18:32:42 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= graphviz-0.13.2 | 3 | DISTNAME= graphviz-0.14 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | |
5 | CATEGORIES= graphics python | 5 | CATEGORIES= graphics python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=g/graphviz/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=g/graphviz/} | |
7 | EXTRACT_SUFX= .zip | 7 | EXTRACT_SUFX= .zip | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://github.com/xflr6/graphviz | 10 | HOMEPAGE= https://github.com/xflr6/graphviz | |
11 | COMMENT= Create and render graph descriptions in DOT language | 11 | COMMENT= Create and render graph descriptions in DOT language | |
12 | LICENSE= mit | 12 | LICENSE= mit | |
13 | 13 | |||
14 | DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz | 14 | DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz | |
15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.4:../../devel/py-test | |||
16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | 15 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | |
17 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=1.8:../../devel/py-test-mock | 16 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=1.8:../../devel/py-test-mock | |
17 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | |||
18 | 18 | |||
19 | USE_LANGUAGES= # none | 19 | USE_LANGUAGES= # none | |
20 | 20 | |||
21 | do-test: | 21 | PYSETUPTESTTARGET= pytest | |
22 | cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX} | |||
23 | 22 | |||
24 | .include "../../lang/python/egg.mk" | 23 | .include "../../lang/python/egg.mk" | |
25 | .include "../../mk/bsd.pkg.mk" | 24 | .include "../../mk/bsd.pkg.mk" |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.11 2019/11/08 09:24:05 adam Exp $ | 1 | $NetBSD: distinfo,v 1.12 2020/05/17 18:32:42 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (graphviz-0.13.2.zip) = 49ac902dbf6600714d79ea0d79bf24e2f9030c5b | 3 | SHA1 (graphviz-0.14.zip) = b5d85a0919d2e5d5f5d160c98b1ff034bc1aef97 | |
4 | RMD160 (graphviz-0.13.2.zip) = 42cb0e19798cb408bafb1e27e43224f6440f9571 | 4 | RMD160 (graphviz-0.14.zip) = e4f40d7fec7276fc8ab2af44885637c79a8ee152 | |
5 | SHA512 (graphviz-0.13.2.zip) = 81aa8a4afa6a1895b7f933a4a591fedb58f364cc77b0cd65707ec980efb7fadc8f4b8aeab2eba53d64e21209b236d5bae4d8b38f5256cfb26276c6e56145ee94 | 5 | SHA512 (graphviz-0.14.zip) = 4f1b50e1756e1c0c5c9c80d2e5c4a900bce7b6c825fe541b19d4fc19f3cab3e2921bc0f4398b3c0ed2f1326b4c4b65f178b6bf0aadc6086dccb780cf969fbf32 | |
6 | Size (graphviz-0.13.2.zip) = 181657 bytes | 6 | Size (graphviz-0.14.zip) = 183001 bytes |