The NetBSD Project

CVS log for pkgsrc/graphics/py-graphviz/Makefile

[BACK] Up to [] / pkgsrc / graphics / py-graphviz

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.20 / (download) - annotate - [select for diffs], Mon Oct 31 15:40:38 2022 UTC (13 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.19: +2 -3 lines
Diff to previous 1.19 (colored)

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.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jan 4 20:54:05 2022 UTC (23 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

*: bump PKGREVISION for users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 30 21:20:13 2021 UTC (23 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.17: +4 -2 lines
Diff to previous 1.17 (colored)

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 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', '<?xml version=...'} by default. Adds support for IPython.display.display_png(). Adds support for IPython.display.display_jpeg().

Add keyword-only raise_if_result_exists argument to .render() and stand-alone graphviz.render(). Raises graphviz.FileExistsError if the rendered file already exists.

Add support to for .render() and stand-alone .render() to overwrite the input source file with the rendered output when using the outfile keyword-only argument. This probably only makes sense for text-based Graphviz formats such as dot or plain. You need to specify overwrite_filepath=True to enable this.

Add graphviz.CalledProcessError derived from subprocess.CalledProcessError so users can choose either one in their excepts.

Add graphviz.FileExistsError derived from FileExistsError so users can choose either one in their excepts.

Add --only-exe flag to (overrides --skip-exe).

Add --no-open and --open flags to

Add and use in build job.

Increase doctest coverage.

Extend type annotations. Accept path-like objects for filename, directory, and filepath.

Extend and improve documentation.

Improve build tests.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 6 19:16:45 2021 UTC (2 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.16: +4 -2 lines
Diff to previous 1.16 (colored)

py-graphviz: updated to 0.17

Version 0.17

Drop Python 2 support. Tag Python 3.10 support.

Migrate CI to GitHub actions. Add ``pypy3`` to matrix.

Tests: implement ``--skip-exe`` via custom ``pytest`` marker.

Documentation: point Anaconda users to ``conda-forge/python-graphviz``.

Move type hints from docstrings to type annotations. Improve doctests.

Examples: standardize import convention and modernize.

Re-render example notebooks with Graphviz 2.46.1.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 11 13:56:09 2021 UTC (2 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

py-graphviz: updated to 0.16

Version 0.16

Add ``.unflatten()`` method to ``Graph``, ``Digraph``, and ``Source``. Add
standalone ``unflatten()``.

Make ``Source.__str__()`` return the ``.source`` instead of the ``repr()``
(like ``Graph`` and ``Digraph``).

Render with ``dot -K<engine> ...`` instead of ``<engine> ...`` internally
(work around `upstream issue

Add documentation hint to archived upstream version for Windows.

Re-render most documentation graphs with Graphviz 2.44.1.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Nov 16 13:26:08 2020 UTC (3 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

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.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 3 08:20:20 2020 UTC (3 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

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'

Revision 1.13 / (download) - annotate - [select for diffs], Sun May 17 18:32:42 2020 UTC (3 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.12: +4 -5 lines
Diff to previous 1.12 (colored)

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

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

Improve test and doc building config.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 8 09:24:05 2019 UTC (4 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

py-graphviz: updated to 0.13.2

Version 0.13.2
Fix missing support for four-part versions in ``graphviz.version()``.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 7 10:58:19 2019 UTC (4 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

py-graphviz: updated to 0.13.1

Version 0.13.1
Tag Python 3.8 support.
Fix quoting for non-ASCII numerals.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 25 10:19:21 2019 UTC (4 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

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.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Aug 26 13:22:27 2019 UTC (4 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

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.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 9 12:38:44 2019 UTC (4 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

py-graphviz: updated to 0.11.1

Version 0.11.1
Include stderr in str() of raised subprocess.CalledProcessError.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 20 16:31:09 2019 UTC (4 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

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()

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.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 25 15:10:06 2018 UTC (5 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

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.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 11 10:14:47 2018 UTC (5 years, 1 month ago) by adam
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

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

Include stderr from rendering process in CalledProcessError exception.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 17 13:05:47 2018 UTC (5 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.3: +20 -13 lines
Diff to previous 1.3 (colored)

py-graphviz: added version 0.8.4

Revision 1.3 / (download) - annotate - [select for diffs], Mon Mar 12 11:16:48 2018 UTC (5 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Recursive bumps for fontconfig and libzip dependency changes.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 8 17:43:33 2016 UTC (7 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)


Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 19 07:38:30 2015 UTC (8 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4

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

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>