head 1.21; access; symbols pkgsrc-2023Q4:1.20.0.10 pkgsrc-2023Q4-base:1.20 pkgsrc-2023Q3:1.20.0.8 pkgsrc-2023Q3-base:1.20 pkgsrc-2023Q2:1.20.0.6 pkgsrc-2023Q2-base:1.20 pkgsrc-2023Q1:1.20.0.4 pkgsrc-2023Q1-base:1.20 pkgsrc-2022Q4:1.20.0.2 pkgsrc-2022Q4-base:1.20 pkgsrc-2022Q3:1.19.0.6 pkgsrc-2022Q3-base:1.19 pkgsrc-2022Q2:1.19.0.4 pkgsrc-2022Q2-base:1.19 pkgsrc-2022Q1:1.19.0.2 pkgsrc-2022Q1-base:1.19 pkgsrc-2021Q4:1.17.0.2 pkgsrc-2021Q4-base:1.17 pkgsrc-2021Q3:1.16.0.6 pkgsrc-2021Q3-base:1.16 pkgsrc-2021Q2:1.16.0.4 pkgsrc-2021Q2-base:1.16 pkgsrc-2021Q1:1.16.0.2 pkgsrc-2021Q1-base:1.16 pkgsrc-2020Q4:1.15.0.2 pkgsrc-2020Q4-base:1.15 pkgsrc-2020Q3:1.14.0.2 pkgsrc-2020Q3-base:1.14 pkgsrc-2020Q2:1.13.0.2 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.12.0.2 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.12.0.4 pkgsrc-2019Q4-base:1.12 pkgsrc-2019Q3:1.9.0.2 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.7.0.2 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.6.0.4 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.2 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.4.0.2 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.3.0.4 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.2 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.2.0.16 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.14 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.10 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.8 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.6 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.4 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.2 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.1.0.4 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.2 pkgsrc-2015Q4-base:1.1; locks; strict; comment @# @; 1.21 date 2024.03.23.16.34.07; author adam; state Exp; branches; next 1.20; commitid JTdtHHWjtplATi3F; 1.20 date 2022.10.31.15.40.38; author adam; state Exp; branches; next 1.19; commitid fH5JnwPcNWyzXSZD; 1.19 date 2022.01.04.20.54.05; author wiz; state Exp; branches; next 1.18; commitid CYyhdK9qtoffkmnD; 1.18 date 2021.12.30.21.20.13; author adam; state Exp; branches; next 1.17; commitid ASJ1izIPG5FUDImD; 1.17 date 2021.10.06.19.16.45; author adam; state Exp; branches; next 1.16; commitid r9pqmFzEfmiWGMbD; 1.16 date 2021.01.11.13.56.09; author adam; state Exp; branches; next 1.15; commitid yMww8kGva1IZwjDC; 1.15 date 2020.11.16.13.26.08; author adam; state Exp; branches; next 1.14; commitid HJwXWPglbTPoa7wC; 1.14 date 2020.08.03.08.20.20; author adam; state Exp; branches; next 1.13; commitid HeBN7VI2yW1KQAiC; 1.13 date 2020.05.17.18.32.42; author adam; state Exp; branches; next 1.12; commitid u2ViH6nh0IyhKC8C; 1.12 date 2019.11.08.09.24.05; author adam; state Exp; branches; next 1.11; commitid 1uzitVoHVJfJQ1KB; 1.11 date 2019.11.07.10.58.19; author adam; state Exp; branches; next 1.10; commitid YPyQVbha3cl0pUJB; 1.10 date 2019.10.25.10.19.21; author adam; state Exp; branches; next 1.9; commitid pNXg5CS45fjyBeIB; 1.9 date 2019.08.26.13.22.27; author adam; state Exp; branches; next 1.8; commitid rfOnEoTldBeWxxAB; 1.8 date 2019.07.09.12.38.44; author adam; state Exp; branches; next 1.7; commitid HcWJP10Ej2UAQmuB; 1.7 date 2019.06.20.16.31.09; author adam; state Exp; branches; next 1.6; commitid Jzz9jvpbKw3ZJWrB; 1.6 date 2018.11.25.15.10.06; author adam; state Exp; branches; next 1.5; commitid XZnEJnzO4sTTWk1B; 1.5 date 2018.10.11.10.14.47; author adam; state Exp; branches; next 1.4; commitid mXQPmKOqdXMiLwVA; 1.4 date 2018.07.17.13.05.47; author adam; state Exp; branches; next 1.3; commitid IOSrhbhvlYErtuKA; 1.3 date 2018.03.12.11.16.48; author wiz; state Exp; branches; next 1.2; commitid Mv60lx3Uo1UqW9uA; 1.2 date 2016.06.08.17.43.33; author wiz; state Exp; branches; next 1.1; commitid z4yEulWexjFaJG9z; 1.1 date 2015.11.19.07.38.30; author wiz; state Exp; branches; next ; commitid mu0zmCXM1ochSFJy; desc @@ 1.21 log @py-graphviz: updated to 0.20.3 Version 0.20.3 -------------- Revert improvements to the internal ``tools.deprecate_positional_args()`` decorator that caused false positive ``PendingDeprecationWarning: The signature of ... will be reduced`` warnings that have been misinterpreted in the 0.20.2 release process. Version 0.20.2 -------------- Drop Python 3.7 support (end of life 27 Jun 2023). Tag Python 3.11 and 3.12 support. Add caveat about ``labe`` escaping/quoting to ``.node()`` and ``.render()`` API docs. Document that ``doctest_skip_exe()`` lines in doctest should be ignored. Improve internal ``tools.deprecate_positional_args()`` decorator and fix incorect test assertion. Update GitHub actions. Pin ``pytest`` test dependency to ``<8.1`` as a workaround for ``import file mismatch error`` related to ``conftest.py`` files, in ``pytest 8.1.1``, see https://github.com/pytest-dev/pytest/issues/12123. @ text @# $NetBSD: Makefile,v 1.20 2022/10/31 15:40:38 adam Exp $ DISTNAME= graphviz-0.20.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= graphics python MASTER_SITES= ${MASTER_SITE_PYPI:=g/graphviz/} EXTRACT_SUFX= .zip MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/xflr6/graphviz COMMENT= Create and render graph descriptions in DOT language LICENSE= mit TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3:../../devel/py-test-mock USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.20 log @py-graphviz: updated to 0.20.1 Version 0.20.1 -------------- Fix documentation building: upgrade to Sphinx 5.0. Fix broken user guide links in API documentation. Version 0.20 ------------ Add keyword-only ``neato_no_op`` argument to ``.render()``, ``.pipe()``, and stand-alone ``graphviz.render()`` and ``graphviz.pipe()``. When building a ``Graph`` or ``Digraph``, warn about an expected DOT syntax error in rendering when passing a string that ends with an odd number of backslashes (e.g. invalid ``dot.node('spam', label='\\')`` instead of correct ``..., label=r'\\'`` for a node labled as a backslash). Increase visibility of ``graphviz.escape()`` in the documentation. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2022/01/04 20:54:05 wiz Exp $ d3 1 a3 1 DISTNAME= graphviz-0.20.1 d14 2 a17 1 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock d19 1 a19 2 TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=1.8:../../devel/py-test-mock TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner a22 2 PYSETUPTESTTARGET= pytest d25 1 a25 1 .include "../../lang/python/egg.mk" @ 1.19 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2021/12/30 21:20:13 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.19.1 a4 1 PKGREVISION= 1 @ 1.18 log @py-graphviz: updated to 0.19.1 Version 0.19.1 Fix undecoded CalledProcessError.stdout and .stderr when .pipe() call with an encoding different from self.encoding fails. Fix missing project root conftest.py in source distribution. Extend examples/graphviz-escapes.ipynb. Improve test coverage. Increase build scripts verbosity. Version 0.19 Add PendingDeprecationWarning to calls using positional arguments that will be deprecated in a later version. The future API will allow from one to three positional arguments depending on the method or function. Keyword-only arguments where not around when this library was created. This signals dependents and in general users to start updating or pinning to the wanted version (or range). Crucially, this helps new users with a safer API that allows to avoid some common mistakes. Warnings reported in tests. Add keyword-only outfile argument to .render() and stand-alone graphviz.render(). Allows to override the rendered output file name: .render(filename='spam.gv', outfile='spam.pdf') Allows to derive the format and the filename from the rendered outfile name: .render(outfile='spam.svg') Tries to infer default format from the outfile suffix. You can override by setting format explicitly. Warns with a graphviz.FormatSuffixMismatchWarning if there is a mismatch between given format and the inferred format from outfile suffix. Warns with a graphviz.UnknownSuffixWarning if format is given and outfile uses a suffix that cannot be mapped to a supported format. Add graphviz.set_jupyter_format() to set the output format used by the Jupyter visualization of graphviz.Graph, graphviz.Digraph, and graphviz.Source (supported formats: 'svg', 'png', 'jpeg'). Replace _repr_svg_() internally with _repr_mimebundle_(include, exclude) returning a mimebundle {'image/svg+xml', ' ...`` instead of `` ...`` internally (work around `upstream issue Add documentation hint to archived upstream version for Windows. Re-render most documentation graphs with Graphviz 2.44.1. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2020/11/16 13:26:08 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.16 d23 2 @ 1.15 log @py-graphviz: updated to 0.15 Version 0.15 ------------ ``Graph`` and ``Digraph`` instances created via the context-manager returned by ``subgraph()`` now (re)use ``directory``, ``format``, ``engine``, and ``encoding`` from the parent instead of using defaults (behavioral change). Note that these attributes are only relevant when rendering the subgraph independently (i.e. as a stand-alone graph) from within the ``with``-block, which was previously underdocumented. To reflect that the DOT language does not allow subgraph statements to specify ``strict`` (i.e. no way to override the setting of the containing graph), instances created via the context-manager are now ``strict=None`` instead of ``False`` (so they continue to render stand-alone as non-strict by default). Drop Python 3.5 support and tag Python 3.9 support. Add documentation link to new upstream installation procedure for Windows. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2020/08/03 08:20:20 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.15 @ 1.14 log @py-graphviz: updated to 0.14.1 Version 0.14.1 Document the colon-separated ``node[:port[:compass]]`` format used for ``tail`` and ``head`` points in the ``edge()``- and ``edges()``-methods' @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2020/05/17 18:32:42 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.14.1 @ 1.13 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2019/11/08 09:24:05 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.14 @ 1.12 log @py-graphviz: updated to 0.13.2 Version 0.13.2 Fix missing support for four-part versions in ``graphviz.version()``. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2019/11/07 10:58:19 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.13.2 a14 1 TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.4:../../devel/py-test d17 1 d21 1 a21 2 do-test: cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX} @ 1.11 log @py-graphviz: updated to 0.13.1 Version 0.13.1 Tag Python 3.8 support. Fix quoting for non-ASCII numerals. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2019/10/25 10:19:21 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.13.1 @ 1.10 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2019/08/26 13:22:27 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.13 @ 1.9 log @py-graphviz: updated to 0.12 Version 0.12 Fix missing escaping of backslashes, e.g. in labels (pull request DNGros). Add quiet argument to standalone view() function, and quiet_view argument on .render() and .view() methods. Supresses the stderr output of started viewer processes (unavailable on Windows). Add basic debug logging via the stdlib logging module. Reformatted some examples, improved tests by using autospec for mocks. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2019/07/09 12:38:44 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.12 @ 1.8 log @py-graphviz: updated to 0.11.1 Version 0.11.1 Include stderr in str() of raised subprocess.CalledProcessError. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2019/06/20 16:31:09 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.11.1 @ 1.7 log @py-graphviz: updated to 0.11 Version 0.11 Add quiet argument to .render() and .pipe() methods of Graph, Digraph, and Source objects, allowing to suppress stderr of the layout subprocess (parity with stand-alone render() and pipe() functions). The rendering process for render() methods and stand-alone function is now started from the directory of the renderred dot source file. This allows to render graph descriptions that use relative paths inline (e.g. for referring to image files to be included) by using paths relative to the source file location. Previously, such relative paths would need to be given relative to the directory from which render() was started, so this change is backwards incompatible for code that relied on the previous behaviour. Drop Python 3.4 support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2018/11/25 15:10:06 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.11 @ 1.6 log @py-graphviz: updated to 0.10.1 Version 0.10.1 -------------- Fix broken renderer argument in pipe() method and function. Version 0.10 ------------ Add format argument to Graph/Digraph.render(). This follows stand-alone render() function and mirrors the Graph/Digraph.pipe() method (usually, format is set on the instance). Add renderer and formatter arguments to Graph/Digraph.render() and pipe() methods, as well as stand-alone render() and pipe() functions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2018/10/11 10:14:47 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.10.1 @ 1.5 log @py-graphviz: updated to 0.9 Version 0.9 ----------- Use sys.stderr to write stderr output from rendering process to stderr (instead of file descriptor inhertiance). Ensures stderr is passed in special enviroments such as IDLE. Suppress rendering process stdout in render(). Make quiet=True also suppress stderr on success of render() and pipe() (zero exit-status). Include stderr from rendering process in CalledProcessError exception. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2018/07/17 13:05:47 adam Exp $ d3 1 a3 1 DISTNAME= graphviz-0.9 @ 1.4 log @py-graphviz: added version 0.8.4 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2018/03/12 11:16:48 wiz Exp $ d3 1 a3 1 DISTNAME= graphviz-0.8.4 @ 1.3 log @Recursive bumps for fontconfig and libzip dependency changes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2016/06/08 17:43:33 wiz Exp $ d3 5 a7 10 DISTNAME= pygraphviz-1.3.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_PYPI:=p/pygraphviz/} MAINTAINER= helgoman@@users.sourceforge.net HOMEPAGE= http://networkx.lanl.gov/pygraphviz/index.html COMMENT= Python interface to the Graphviz package LICENSE= original-bsd d9 14 a22 1 USE_TOOLS+= pkg-config a23 1 .include "../../graphics/graphviz/buildlink3.mk" @ 1.2 log @Switch to MASTER_SITES_PYPI. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2015/11/19 07:38:30 wiz Exp $ d5 1 @ 1.1 log @Re-import py-graphviz-1.3.1 as graphics/py-graphviz. Was previously in py-pygraphviz. Fixes PKGNAME to match pkgsrc conventions. While here, fix build by adding pkg-config tool and minor cleanup. PyGraphviz is a Python interface to the Graphviz graph layout and visualization package. With PyGraphviz you can create, edit, read, write, and draw graphs using Python to access the Graphviz graph data structure and layout algorithms. PyGraphviz is independent from NetworkX but provides a similar programming interface. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2015/11/18 21:48:19 khorben Exp $ d6 1 a6 1 MASTER_SITES= http://pypi.python.org/packages/source/p/pygraphviz/ @