Subject: CVS commit: pkgsrc/textproc/py-pygments
From: Adam Ciarcinski
Date: 2021-12-30 18:05:08
Message id: 20211230170508.F0DBDFAEC@cvs.NetBSD.org

Log Message:
py-pygments: updated to 2.11.0

Version 2.11.0
--------------

- Added lexers:

  * BDD
  * Elpi
  * LilyPond
  * Maxima
  * Rita
  * Savi
  * Sed
  * Sophia contracts
  * Spice
  * ``.SRCINFO``

- Updated lexers:

  * ABNF: Allow one-character rules
  * Assembly: Fix incorrect token endings
  * Bibtex: Distinguish between ``comment`` and ``commentary``
  * C family: Support unicode identifiers
  * CDDL: Fix slow lexing speed
  * Debian control: Add missing fields
  * Devicetree: Recognize hexadecimal addresses for nodes
  * GDScript: Add ``void`` data type
  * GSQL

    - Fix comment handling
    - Fix catastrophic backtracking

  * HTML, XML: Improve comment handling
  * Java: Add ``yield``
  * Makefiles
  * objdump-nasm: Improve handling of ``--no-show-raw-insn`` dumps
  * Prolog: Support escaped ``\`` inside quoted strings
  * Python:

    - Support ``~`` in tracebacks
    - Support the pattern matching keywords

  * RobotFramework: Improve empty brace handling
  * Terraform

    - Add the 'set' type
    - Support heredocs

- Added styles:

  * Dracula
  * Friendly Grayscale
  * LilyPond
  * One-Dark

.. note::

  All of the new styles unfortunately do not conform to WCAG recommendations.

- There is new infrastructure in place to improve style accessibility. The \ 
default style has been updated to conform to WCAG recommendations. All styles \ 
are now checked for sufficient contrast by default to prevent regressions.
- Clean up unused imports
- Fix multiple lexers producing repeated single-character tokens
- Fix multiple lexers marking whitespace as ``Text``
- Remove duplicated assignments in the Paraiso style
- ``pygmentize`` supports JSON output for the various list functions now, making \ 
it easier to consume them from scripts.
- Use the ``shell`` lexer for ``kshrc`` files
- Use the ``ruby`` lexer for ``Vagrantfile`` files
- Use the C lexer for ``.xbm`` and ``.xpm`` files
- Add a ``groff`` formatter
- Update documentation
- Line anchors now link to themselves
- Add official support for Python 3.10
- Fix several missing colors in dark styles: Gruvbox dark, Monokai, Rrt, Sas, \ 
Strata dark
- Associate more file types with ``man`` pages
- The ``HtmlFormatter`` can now emit tooltips for each token to ease debugging \ 
of lexers
- Add ``f90`` as an alias for ``fortran``

Files:
RevisionActionfile
1.36modifypkgsrc/textproc/py-pygments/Makefile
1.20modifypkgsrc/textproc/py-pygments/PLIST
1.24modifypkgsrc/textproc/py-pygments/distinfo