pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-pygments



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Apr  5 07:30:32 UTC 2026

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

Log Message:
py-pygments: update to 2.20.0.

Version 2.20.0
--------------
(released March 29th, 2026)

- New lexers:

  * Rell (#2914)

- Updated lexers:

  * archetype: Fix catastrophic backtracking in GUID and ID patterns (#3064)
  * ASN.1: Recognize minus sign and fix range operator (#3014, #3060)
  * C++: Add C++26 keywords (#2955), add integer literal suffixes (#2966)
  * ComponentPascal: Fix ``analyse_text`` (#3028, #3032)
  * Coq renamed to Rocq (#2883, #2908)
  * Cython: Various improvements (#2932, #2933)
  * Debian control: Improve architecture parsing (#3052)
  * Devicetree: Add support for overlay/fragments (#3021), add bytestring support (#3022), fix catastrophic backtracking (#3057)
  * Fennel: Various improvements (#2911)
  * Haskell: Handle escape sequences in character literals (#3069, #1795)
  * Java: Add module keywords (#2955)
  * Lean4: Add operators ``]'``, ``]?``, ``]!``  (#2946)
  * LESS: Support single-line comments (#3005)
  * LilyPond: Update to 2.25.29 (#2974)
  * LLVM: Support C-style comments (#3023, #2978)
  * Lua(u): Fix catastrophic backtracking (#3047)
  * Macaulay2: Update to 1.25.05 (#2893), 1.25.11 (#2988)
  * Mathematica: Various improvements (#2957)
  * meson: Add additional operators (#2919)
  * MySQL: Update keywords (#2970)
  * org-Mode: Support both schedule and deadline (#2899)
  * PHP: Add ``__PROPERTY__`` magic constant (#2924), add reserved keywords (#3002)
  * PostgreSQL: Add more keywords (#2985)
  * protobuf: Fix namespace tokenization (#2929)
  * Python: Add ``t``-string support (#2973, #3009, #3010)
  * Tablegen: Fix infinite loop (#2972, #2940)
  * Tera Term macro: Add commands introduced in v5.3 through v5.6 (#2951)
  * TOML: Support TOML 1.1.0 (#3026, #3027)
  * Turtle: Allow empty comment lines (#2980)
  * XML: Added ``.xbrl`` as file ending (#2890, #2891)

- Drop Python 3.8, and add Python 3.14 as a supported version (#2987, #3012)
- Various improvements to ``autopygmentize`` (#2894)
- Update ``onedark`` style to support more token types (#2977)
- Update ``rtt`` style to support more token types (#2895)
- Cache entry points to improve performance (#2979)
- Fix ``xterm-256`` color table (#3043)
- Fix ``kwargs`` dictionary getting mutated on each call (#3044)


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

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-pygments/Makefile
diff -u pkgsrc/textproc/py-pygments/Makefile:1.54 pkgsrc/textproc/py-pygments/Makefile:1.55
--- pkgsrc/textproc/py-pygments/Makefile:1.54   Mon Jun 30 18:56:47 2025
+++ pkgsrc/textproc/py-pygments/Makefile        Sun Apr  5 07:30:32 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.54 2025/06/30 18:56:47 adam Exp $
+# $NetBSD: Makefile,v 1.55 2026/04/05 07:30:32 wiz Exp $
 
-DISTNAME=      pygments-2.19.2
+DISTNAME=      pygments-2.20.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pygments/}
@@ -13,12 +13,13 @@ LICENSE=    2-clause-bsd
 TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
 TEST_DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
 TEST_DEPENDS+= ${PYPKGPREFIX}-wcag-contrast-ratio-[0-9]*:../../graphics/py-wcag-contrast-ratio
+#
+# py-test pulls in py-pygments, so make sure to 'make install'
+# before installing test dependencies
 
 USE_LANGUAGES= # none
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} pygmentize pygmentize-${PYVERSSUFFIX} || ${TRUE}
+PY_RENAME_BINARIES+=   pygmentize
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-pygments/PLIST
diff -u pkgsrc/textproc/py-pygments/PLIST:1.30 pkgsrc/textproc/py-pygments/PLIST:1.31
--- pkgsrc/textproc/py-pygments/PLIST:1.30      Mon Jun 30 18:56:48 2025
+++ pkgsrc/textproc/py-pygments/PLIST   Sun Apr  5 07:30:32 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.30 2025/06/30 18:56:48 adam Exp $
+@comment $NetBSD: PLIST,v 1.31 2026/04/05 07:30:32 wiz Exp $
 bin/pygmentize-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -639,6 +639,9 @@ ${PYSITELIB}/pygments/lexers/rebol.pyo
 ${PYSITELIB}/pygments/lexers/rego.py
 ${PYSITELIB}/pygments/lexers/rego.pyc
 ${PYSITELIB}/pygments/lexers/rego.pyo
+${PYSITELIB}/pygments/lexers/rell.py
+${PYSITELIB}/pygments/lexers/rell.pyc
+${PYSITELIB}/pygments/lexers/rell.pyo
 ${PYSITELIB}/pygments/lexers/resource.py
 ${PYSITELIB}/pygments/lexers/resource.pyc
 ${PYSITELIB}/pygments/lexers/resource.pyo

Index: pkgsrc/textproc/py-pygments/distinfo
diff -u pkgsrc/textproc/py-pygments/distinfo:1.36 pkgsrc/textproc/py-pygments/distinfo:1.37
--- pkgsrc/textproc/py-pygments/distinfo:1.36   Mon Jun 30 18:56:48 2025
+++ pkgsrc/textproc/py-pygments/distinfo        Sun Apr  5 07:30:32 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.36 2025/06/30 18:56:48 adam Exp $
+$NetBSD: distinfo,v 1.37 2026/04/05 07:30:32 wiz Exp $
 
-BLAKE2s (pygments-2.19.2.tar.gz) = 1abfc4e23687e4142c1ef36b566c4e5ac159969c0764b92fe66fd3133097a9ff
-SHA512 (pygments-2.19.2.tar.gz) = 3ead3a1fa4c7d86b415287949099cb0e5667ea71f7f69aa3de359bbb5c2f234d90fa5a41ec9c74cb041593e465b934d54bbb7dc87669683f04b94dd3aa6ca03c
-Size (pygments-2.19.2.tar.gz) = 4968631 bytes
+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



Home | Main Index | Thread Index | Old Index