CVS commit: pkgsrc/textproc/py-pygments

"Thomas Klausner" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	wiz
Date:		Sun Aug 23 08:13:35 UTC 2026

Modified Files:
	pkgsrc/textproc/py-pygments: Makefile PLIST distinfo

Log Message:
py-pygments: update to 2.21.0.

Version 2.21.0
---------------
(released August 17th, 2026)

- New lexers:

  * BitBake (#3103)
  * Caddyfile (#3225)
  * CEL (#3048)
  * PureScript (#1077, #3054)

- Updated lexers:

  * Bash: Fix coloured keyword at the beginning of a name (#2926)
  * Boogie: Add missing Boogie and Civl Verifier keywords (#3156)
  * C#:
    - Recognize interpolated verbatim strings with either ``$@`` or ``@$``
      prefixes (#2685)
    - Support dollar-prefixed and multi-quote raw strings (#3129, #2897)
    - Recognize ``union`` (#3182)
  * C/C++:
    - Add C23/C++26 attributes (#3084)
    - Add more C2Y keywords (#3092)
    - Highlight a function following a namespace body (#2928)
    - Fix C/C++ lexer support for multiline pre-processor comments (#3051)
    - Add ``.ipp`` as a file extension (#3141, #1008)
  * Clojure: Recognize named, octal and unicode character literals such as
    ``\space`` and ``\o377`` as a single token (#979)
  * Csound: Add missing opcode parameter type letter (#3161)
  * CUDA: Derive from the C++ lexer instead of C to highlight C++
    constructs such as ``template``, ``class`` and ``namespace`` (#3127)
  * D: Allow non-ASCII (Unicode) identifiers (#1088)
  * Fish: Fix single quote backslash escape (#3138, #2821)
  * Go: Various lexer improvements (#3199)
  * GoogleSQL: Require a word break after ``SET`` (#3167)
  * Hexdump: Only match valid digits (#3200, #2847)
  * JavaScript: Highlight the ``arguments`` object (#3146)
  * Jsonnet: Recognize colons in array slice expressions (#2828)
  * JSX: Allow apostrophes in element text (#2816)
  * Julia: Fix rstrings backslash (#3140, #2537)
  * Kotlin: Support companion objects without an explicit name (#2525)
  * Kotlin: Don't let a nullable type marker (``?``) consume the following
    character, so ``Foo?,`` and ``a?:b`` tokenize correctly (#2964)
  * Kusto: Recognize member-access dots in dynamic objects (#2779)
  * Lua: Various improvements (#3143)
  * Macaulay2: Update symbols to 1.26.05 (#3120)
  * Markdown:
    - Highlight bold-italics (``***...***`` and ``___...___``) (#3067)
    - Fix mention regex to support hyphens in usernames (#3139, #3135)
  * Markdown, reStructuredText, TiddlyWiki5: Fix wrong token offsets for
    embedded code blocks (#3133)
  * Mathematica: Recognize ``\[Name]`` named-character escapes such as
    ``\[Nu]`` instead of emitting an ``Error`` token (#3097)
  * MATLAB, Octave, Scilab: Allow ``...`` line continuations in function
    definition signatures (#659)
  * MySQL: Require a word break after ``SET`` (#3110)
  * PostgreSQL: Add more keywords (#3066)
  * Python:
    - Recognize ``sentinel`` (#3114)
    - Recognize ``frozendict`` (#3119)
    - Recognize lazy imports (#3115)
  * reStructuredText: Allow ``.`` and ``+`` in directive/role names (#3085)
  * Ruby: Don't duplicate the body of an unterminated heredoc (#2998)
  * Ruby: Treat ``<<`` after ``)``, ``]`` or ``}`` as the shift operator
    rather than the start of a heredoc (#760)
  * SCSS: Recognize variable references in property values (#2818)
  * Shell: Recognize chevron prompts (#3096)
  * Smithy: Fix text blocks and add missing syntax (#3168)
  * Swift: Keep ``func`` a keyword in ``class func`` type methods (#1125)
  * Tcl: Stop ``$name`` variable references at a dash (#1720)
  * TeX: Recognize LaTeX math environments as math (#3034)
  * Twig: Allow uppercase letters at the start of identifiers (#3159, #2965)
  * TypeScript: Only treat ``module`` as a keyword when followed by
    whitespace, so identifiers like ``modules`` and ``module.exports``
    are highlighted correctly (#2823)
  * Vala: Recognize verbatim strings before ordinary quoted strings (#2861)
  * Vala: Recognize conditional compilation directives (#2858)
  * Vim:
    - Bump the syntax file to vim 9.2 (#3183, #3174)
    - Small improvements to the VimScript lexer (#3173)
  * YAML: Add ``yml`` alias (#3169), recognize non-breaking spaces as valid
    scalar content (#2827)
  * WebAssembly: Recognize sign-extension operators (#2991, #3160)
  * XML: Mark SVG files as XML (#3093)

- New styles:

  * Night Owl (#3132)

- Fix catastrophic backtracking in ``looks_like_xml`` (#2931, #3112)
- Improve monokai theme colors (#3100)
- Improve handling of non-string types in ``html_escape`` to fix broken clients (#3090, #3086)
- LaTeX formatter: honor the wrapped lexer's ``stripnl`` and other input
  options when ``escapeinside`` is set, so blank lines are no longer stripped
  under ``stripnl=false`` (#2975)
- RawTokenFormatter: fix a crash when ``error_color`` is set (#3215)
- Groff formatter: don't duplicate a character when word-wrapping (``wrap``)
  a token that is not at the end of a line (#3201)
- Add support for Python 3.15 (#3099)
- Fix invalid ``-L`` values report success (#3217)
- Allow ``transparent`` as a color style definition (#3180, #3170)
- HtmlFormatter: ``"`` and ``'`` now render literally (#3185)


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/textproc/py-pygments/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/textproc/py-pygments/PLIST
cvs rdiff -u -r1.37 -r1.38 pkgsrc/textproc/py-pygments/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 3.7 KB)
Modified files:

Index: pkgsrc/textproc/py-pygments/Makefile
diff -u pkgsrc/textproc/py-pygments/Makefile:1.55 pkgsrc/textproc/py-pygments/Makefile:1.56
--- pkgsrc/textproc/py-pygments/Makefile:1.55	Sun Apr  5 07:30:32 2026
+++ pkgsrc/textproc/py-pygments/Makefile	Sun Aug 23 08:13:35 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2026/04/05 07:30:32 wiz Exp $
+# $NetBSD: Makefile,v 1.56 2026/08/23 08:13:35 wiz Exp $
 
-DISTNAME=	pygments-2.20.0
+DISTNAME=	pygments-2.21.0
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	textproc python
 MASTER_SITES=	${MASTER_SITE_PYPI:=p/pygments/}

Index: pkgsrc/textproc/py-pygments/PLIST
diff -u pkgsrc/textproc/py-pygments/PLIST:1.31 pkgsrc/textproc/py-pygments/PLIST:1.32
--- pkgsrc/textproc/py-pygments/PLIST:1.31	Sun Apr  5 07:30:32 2026
+++ pkgsrc/textproc/py-pygments/PLIST	Sun Aug 23 08:13:35 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.31 2026/04/05 07:30:32 wiz Exp $
+@comment $NetBSD: PLIST,v 1.32 2026/08/23 08:13:35 wiz Exp $
 bin/pygmentize-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -225,6 +225,9 @@ ${PYSITELIB}/pygments/lexers/berry.pyo
 ${PYSITELIB}/pygments/lexers/bibtex.py
 ${PYSITELIB}/pygments/lexers/bibtex.pyc
 ${PYSITELIB}/pygments/lexers/bibtex.pyo
+${PYSITELIB}/pygments/lexers/bitbake.py
+${PYSITELIB}/pygments/lexers/bitbake.pyc
+${PYSITELIB}/pygments/lexers/bitbake.pyo
 ${PYSITELIB}/pygments/lexers/blueprint.py
 ${PYSITELIB}/pygments/lexers/blueprint.pyc
 ${PYSITELIB}/pygments/lexers/blueprint.pyo
@@ -252,6 +255,9 @@ ${PYSITELIB}/pygments/lexers/carbon.pyo
 ${PYSITELIB}/pygments/lexers/cddl.py
 ${PYSITELIB}/pygments/lexers/cddl.pyc
 ${PYSITELIB}/pygments/lexers/cddl.pyo
+${PYSITELIB}/pygments/lexers/cel.py
+${PYSITELIB}/pygments/lexers/cel.pyc
+${PYSITELIB}/pygments/lexers/cel.pyo
 ${PYSITELIB}/pygments/lexers/chapel.py
 ${PYSITELIB}/pygments/lexers/chapel.pyc
 ${PYSITELIB}/pygments/lexers/chapel.pyo
@@ -615,6 +621,9 @@ ${PYSITELIB}/pygments/lexers/prql.pyo
 ${PYSITELIB}/pygments/lexers/ptx.py
 ${PYSITELIB}/pygments/lexers/ptx.pyc
 ${PYSITELIB}/pygments/lexers/ptx.pyo
+${PYSITELIB}/pygments/lexers/purescript.py
+${PYSITELIB}/pygments/lexers/purescript.pyc
+${PYSITELIB}/pygments/lexers/purescript.pyo
 ${PYSITELIB}/pygments/lexers/python.py
 ${PYSITELIB}/pygments/lexers/python.pyc
 ${PYSITELIB}/pygments/lexers/python.pyo
@@ -957,6 +966,9 @@ ${PYSITELIB}/pygments/styles/murphy.pyo
 ${PYSITELIB}/pygments/styles/native.py
 ${PYSITELIB}/pygments/styles/native.pyc
 ${PYSITELIB}/pygments/styles/native.pyo
+${PYSITELIB}/pygments/styles/night_owl.py
+${PYSITELIB}/pygments/styles/night_owl.pyc
+${PYSITELIB}/pygments/styles/night_owl.pyo
 ${PYSITELIB}/pygments/styles/nord.py
 ${PYSITELIB}/pygments/styles/nord.pyc
 ${PYSITELIB}/pygments/styles/nord.pyo

Index: pkgsrc/textproc/py-pygments/distinfo
diff -u pkgsrc/textproc/py-pygments/distinfo:1.37 pkgsrc/textproc/py-pygments/distinfo:1.38
--- pkgsrc/textproc/py-pygments/distinfo:1.37	Sun Apr  5 07:30:32 2026
+++ pkgsrc/textproc/py-pygments/distinfo	Sun Aug 23 08:13:35 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.37 2026/04/05 07:30:32 wiz Exp $
+$NetBSD: distinfo,v 1.38 2026/08/23 08:13:35 wiz Exp $
 
-BLAKE2s (pygments-2.20.0.tar.gz) = 2f22b7feec323783a25147cc2a8e704f013c521c3d7f476d7f50f8e893c32649
-SHA512 (pygments-2.20.0.tar.gz) = 7d073ead03b1722f862a72a962346f2d76bafb472f58fd5038061ca09675483f3b427bec700fe4ef49da9cace9e65b0d5414cda5ee20ebc056759e0c422f4547
-Size (pygments-2.20.0.tar.gz) = 4955991 bytes
+BLAKE2s (pygments-2.21.0.tar.gz) = 7923b9111e00a0896b2e8976d86cb2a9bc2a4fac030d5699b99b6820f07aa093
+SHA512 (pygments-2.21.0.tar.gz) = c2d2e48556be345378004463d8f0f357b6b0652a6af0f33fa255b9f749f7ab42e4bdde0fd6870619bfe225b83d13dbb1cb891c989cf43d12a2cdaf6f89ab8279
+Size (pygments-2.21.0.tar.gz) = 5005329 bytes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.