The NetBSD Project

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

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / graphics / py-dot

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Apr 15 15:17:47 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, HEAD
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -2 lines
Fix PLIST after py-setuptools update; bump depends and revision

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Feb 4 12:17:08 2025 UTC (21 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -9 lines
py-dot: updated to 3.0.4

3.0.4 (2025-01-05)

- Fixed capitalized keywords in labels being unquoted.


3.0.3 (2024-11-30)

- Fixed numeric quoting behavior.


3.0.2 (2024-09-25)

Added:
- All `to_string()` methods now accept an `indent` keyword argument, which can be
  either a number or a string. `indentation=4` will indent each level of the
  output with four spaces. `indentation="  "` will indent each level by that many
  spaces. Other whitespace is also valid, e.g. indent="\t" for tab indents.

Changed:
- Fixed quoting of identifiers with dots.
- Fixed quoting of leading-numeral strings (strings starting with a number).
- Fixed pickling/copying of Dot objects.
- Improved handling of temporary files. Temporary files will be cleaned up in
  all cases, even when exceptions are raised or things exit unexpectedly.
- From now on, the license files will be included in the distributed
  release as expected.


3.0.1 (2024-07-16)

This is a bugfix release to correct a critical error introduced in 3.0.0.

Changed:
- Fix quoting in `Edge.to_string()`.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Nov 11 07:28:34 2024 UTC (2 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -2 lines
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Feb 6 21:40:08 2024 UTC (2 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -6 lines
py-dot: updated to 2.0.0

2.0.0 (2023-12-30)
------------------

Changed:
- Broken parsing caused by `pyparsing` updates fixed.
  With this, the pydot project rises from the dead.
- (Internal) CI revived by @ferdnyc.
  Modernized and clarified the development process.
  Testing is done against multiple Python versions.
- Reorganized package/module structure.
  The `pydot` package is installed as a directory now instead of as
  two modules:

      Before (pydot 0.x, 1.x)    After (pydot 2.x)

      site-packages/             site-packages/
      |-- pydot.py               `-- pydot/
      `-- dot_parser.py              |-- __init__.py
                                     |-- core.py
                                     |-- dot_parser.py
                                     `-- exceptions.py

  This is mostly an internal change that should go unnoticed by most
  users, especially those upgrading through `pip` or a software
  distribution. `import pydot` should work as it did before.
  Special cases:
  - `import dot_parser` no longer works. Change it to
    `from pydot import dot_parser` or see if you can use the wrappers
    `pydot.graph_from_dot_data()` or `pydot.graph_from_dot_file()`.

    **USER FEEDBACK REQUESTED**
    We assume pydot users do not often directly `import dot_parser`.
    If you do, please report your reasons, so that we can consider
    making it available again before the final release of pydot 2.0:
    https://github.com/pydot/pydot/issues/230

  - If you use pydot from a (cloned) pydot source tree:
    - The pydot source modules moved from the top directory to
      subdirectory `src/pydot/`.
    - When using a `PYTHONPATH` environment variable: Append `/src`,
      e.g. `PYTHONPATH=~/Development/pydot/src`. If you need to switch
      between pydot 1.x and pydot 2.x, add both, e.g.
      `PYTHONPATH=~/Development/pydot/src:~/Development/pydot`
    - When using an editable install (development mode): Re-run
      `pip install -e .` from the top directory of the source tree to
      update the links.
  - For users of the test suite:
    - The test suite no longer refuses to run from the top of the
      source tree.
    - This makes the test suite option `--no-check` redundant. It has
      no effect except for printing a deprecation warning. It will be
      removed in a future major release (pydot 3 or higher), then
      leading to an error.
- Reorganized exception hierarchy:
  - New base class `PydotException`, derived from Python's `Exception`.
  - Pydot's `Error` exception class is now derived from `PydotException`
    instead of from Python's built-in `Exception` directly. Existing
    handlers should not be affected.
  - Exception class `InvocationException` was removed. It has not been
    raised by pydot since 2016 (v1.2.0).

- API (minor): Renamed the first parameter of the parser functions
  listed below from `str` to `s`. These functions primarily exist for
  internal use and would normally be called using positional arguments,
  so few users should be affected.
      push_top_graph_stmt(s, loc, toks)
      push_graph_stmt(s, loc, toks)
      push_subgraph_stmt(s, loc, toks)
      push_default_stmt(s, loc, toks)
      push_attr_list(s, loc, toks)
      push_edge_stmt(s, loc, toks)

Deprecated:
- Test suite option `--no-check`. See "Reorganized package/module
  structure" above.

Removed:
- Drop support for Python 2 and Python < 3.7.
  **USER FEEDBACK REQUESTED**
  ~~We are considering if pydot 2.0 should drop support for Python 3.5
  and 3.6 as well. If this would affect you, please leave a comment in
  https://github.com/pydot/pydot/issues/268.~~
  EDIT: This was decided to be done, with a lot of time passed since this entry.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Jul 20 22:16:56 2022 UTC (4 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
py-dot: restrict to python3

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:54:05 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
*: bump PKGREVISION for egg.mk users

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

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Nov 1 18:58:33 2021 UTC (5 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -2 lines
*: convert dependencies of py-pyparsing to versioned_dependencies.mk

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Mar 8 07:07:42 2021 UTC (5 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
py-dot: updated to 1.4.2

1.4.2

Added:
- Documentation: Basic usage examples in `README.md`.

Changed:
- More detailed error message in case of Graphviz errors.
- More detailed warning message in case of failure to import the DOT
  parser module.

Deprecated:
- A future pydot 2.0.0 will drop support for Python 2, 3.4 and
  possibly other Python versions that are end-of-life at that time.
  Pydot does not emit any deprecation warnings about this. Further
  pydot 1.x.x releases are currently not foreseen, but if there are
  any, should still support the mentioned Python versions.

Fixed:
- On Python 2, non-equality comparison (`!=`) between two separate, but
  equal `Edge` instances will now correctly return `False`, as it
  already did on Python 3.
- Prevent `TypeError` in handling of DOT parser error.
- Prevent `TypeError` in `graph_from_adjacency_matrix()` and
  `graph_from_incidence_matrix()`.
- Prevent `TypeError` when creating an edge with a `Subgraph` or
  `Cluster` object (as opposed to name string) as an edge point.
- Windows only: Fixed most failures to find Graphviz when a conda or
  Anaconda installation exists, but Graphviz was installed manually or
  through pip (`.bat`/`.exe` suffix problem).
- Windows only: Fixed failure to run Graphviz related to side-by-side
  assembly (SxS) by now propagating the `SYSTEMROOT` environment
  variable.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Dec 16 14:19:16 2018 UTC (7 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
py-dot: updated to 1.4.1

1.4.1:
- Make graph, edge, node attributes order deterministic
- Fix string formatting after catching error

1.4.0:
- Installation of pydot in conda env on Windows directly supported
- Fixed comparing of SHA hash in regression tests (which fail now)

1.3.0:
- Dropped Python 2.6 support
- Move errno from os to builtin.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Jan 14 11:30:46 2018 UTC (8 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
py-dot: updated to 1.2.4

1.2.4:
- ENH: propagate LD_LIBRARY_PATH when calling GraphViz
- API: raise OSError when a GraphViz executable is not found
- API: add method __str__ to classes Node, Edge, Graph
- API: add arg encoding to Dot methods create, write
- API: quote cluster names when necessary
- API: give source and destination nodes as separate args to Edge.__init__
- API: never ignore src, dst, overwrite if points defined in obj_dict

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Sep 4 18:55:08 2017 UTC (9 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
Update some URLs.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jul 14 15:33:19 2017 UTC (9 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -6 lines
1.2.3:
- support Python 2.6
- several corrections
- quote empty strings to avoid graphviz errors

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Aug 17 12:37:34 2016 UTC (10 years, 3 months ago) by richard
Branches: MAIN
CVS tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -8 lines
update to pydot-1.2.2

# `pydot` changelog


## 1.2.0 (2016-07-01)

- Python 3 compatibility
- bumped dependency to `pyparsing >= 2.1.4`
- tests running on Travis CI
- tests require `chardet`
- detect character encoding for most test files
  using the package `chardet`

API:

- on all operating systems, search GraphViz
  executables in environment `$PATH`,
  using `subprocess.Popen`.
  No paths hard-coded due to security and privacy issues.

- add option to pass GraphViz executable name
  or absolute path as `prog` to `pydot.Dot.write_*` methods.
  This provides an alternative to
  adding GraphViz to the `$PATH`.

- the functions:
    - `pydot.graph_from_dot_data`
    - `pydot.graph_from_dot_file`
    - `dot_parser.parse_dot_data`
  changed to always return a `list` of graphs,
  instead of behaving differently for singletons.

- require that the user explicitly give an encoding to
  the function `pydot.graph_from_dot_file`,
  with default encoding same as `io.open`.

- decode to unicode at program boundaries, and
  treat binary images as bytes,
  for more compatibility with python 3.
  Use `io.open`, instead of the built-in `open`.

- rm function `pydot.set_graphviz_executables`

- rm attribute `pydot.Dot.progs`


## 1.1.0 (2016-05-23)

- compatibility with `pyparsing >= 1.5.7`

API:

- `pydot.Graph.to_string`: hide `subgraph` keyword only if so requested
- produce `warnings.warn` if `pydot.dot_parser` fails to import,
  instead of `print`


## 1.0.29 (2016-05-16)

- Maintenance release that keeps the same API
- pin `pyparsing == 1.5.7`
- update version number in source code
- update `setup.py`

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jul 9 13:03:51 2016 UTC (10 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Remove python33: adapt all packages that refer to it.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Dec 5 21:25:45 2015 UTC (10 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35

Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri May 9 07:37:07 2014 UTC (12 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Jan 19 20:15:43 2014 UTC (12 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Readd py-dot package in proper dir.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>