pkgsrc/textproc/py-pygments/distinfo
adam 1ca2a4304d py-pygments: updated to 2.13.0
Version 2.13.0
--------------

- Added lexers:

  * COMAL-80
  * JMESPath
  * Sql+Jinja

- Updated lexers:

  * Ada: support Ada 2022
    because it disturbs lexing of aspects
  * Agda: allow straight quotes in module names
  * C family (C, C++ and many others): allow comments between
    elements of function headers, e.g. between the arguments and
    the opening brace for the body
  * C++: Resolve several cases of ``Error`` tokens
  * Coq: add some common keywords, improve recognition of ``Set``
    and qualified identifiers
  * F*: Allow C-style comments anywhere in a line
  * Fortran: fix catastrophic backtracking with backslashes in strings

  * Go: add support for generics
  * Inform: update for version 6.40
  * Isabelle: recognize cartouches
  * Java: support multiline strings aka. text blocks
  * Kotlin: add ``value`` modifier
  * LilyPond: add some missing builtins
  * Macaulay2: update builtins
  * Matlab session: fix traceback when a line continuation ellipsis
    appears in the output
  * .NET: add aliases for LibreOffice Basic, OpenOfficeBasic and
    StarOffice Basic
  * Nim: use ``Name.Builtin`` instead of ``Keyword.Type``
  * PHP: fix `\"$var\"` inside strings
  * Python: only recognize ``\N``, ``\u`` and ``\U`` escape sequences
    in string literals, but not in bytes literals where they are
    not supported
  * Tcl: support ``${name}`` variables
  * Terraform: accept leading whitespace for `<<` heredoc
    delimiters
  * Teraterm: Various improvements
  * Spice: add support for the recently added features including more
    builtin functions and bin, oct, hex number formats

- Added styles:

  * GitHub dark
  * StarOffice
  * Nord (`nord` and `nord-darker`)

- Pygments now tries to use the ``importlib.metadata`` module to
  discover plugins instead of the slower ``pkg_resources``
  particular, this largely speeds up the ``pygmentize`` script when
  the lexer is not specified.

  ``importlib.metadata`` is only available in the Python standard
  library since Python 3.8. For older versions, there exists an
  ``importlib_metadata`` backport on PyPI. For this reason, Pygments
  now defines a packaging extra ``plugins``, which adds a requirement
  on ``importlib_metadata`` if the Python version is older than
  3.8. Thus, in order to install Pygments with optimal plugin
  support even for old Python versions, you should do::

     pip install pygments[plugins]

  Pygments still falls back on ``pkg_resources`` if neither
  ``importlib.metadata`` nor ``importlib_metadata`` is found, but it
  will be slower.

- Silently ignore ``BrokenPipeError`` in the command-line interface

- The ``HtmlFormatter`` now uses the ``linespans`` attribute for
  ``anchorlinenos`` if the ``lineanchors`` attribute is unset
- The ``highlight``, ``lex`` and ``format`` functions no longer
  wrongly report "argument must be a lexer/formatter instance, not a
  class" in some cases where this is not the actual problem
- Fix warnings in doc build
- The ``codetagify`` filter now recognizes ``FIXME`` tags by default
- The ``pygmentize`` command now recognizes if the ``COLORTERM``
  environment variable is set to a value indicating that true-color
  support is available.  In that case, it uses the ``TerminalTrueColorFormatter``
  by default
- Remove redundant caches for filename patterns
- Use new non-deprecated Pillow API for text bounding box in ``ImageFormatter``

- Remove ``default_style``
- Stop treating ``DeprecationWarnings`` as errors in the unit tests
2022-08-16 14:01:18 +00:00

5 lines
366 B
Text

$NetBSD: distinfo,v 1.27 2022/08/16 14:01:18 adam Exp $
BLAKE2s (Pygments-2.13.0.tar.gz) = 910784f6e02dfb96265984ce4493c34e3941a5a92139134b2623faf4ce1ae259
SHA512 (Pygments-2.13.0.tar.gz) = d492acf112423fa997f35d6d3cae18b89bf11619c696879c6df49697dca933b6d54d7cb22907e06812e0a562f03e8ed5ccefde5247bc1c51cf2d3d69e7d65422
Size (Pygments-2.13.0.tar.gz) = 4324285 bytes