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 May  5 10:34:33 UTC 2024

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

Log Message:
py-pygments: update to 2.18.0.

Version 2.18.0
--------------
(released May 4th, 2024)

- New lexers:

  * Janet (#2557)
  * Lean 4 (#2618, #2626)
  * Luau (#2605)
  * Mojo (#2691, #2515)
  * org-mode (#2628, #2636)
  * Promela (#2620)
  * Soong / ``Android.bp`` (#2659)
  * Tact (#2571)
  * Typst (#2596)

- Updated lexers:

  * Awk: recognize ternary operator (#2687)
  * Bash: add ``openrc`` alias (#2599, #2371)
  * Coq: add keywords, lex more vernacular command arguments, produce
    fewer tokens on heading comments (#2678)
  * DNS zone files: Fix comment parsing (#2595)
  * Hy: Support unicode literals (#1126)
  * Inform6: Update to Inform 6.42 (#2644)
  * lean: Fix name handling (#2614)
  * Logtalk: add ``uninstantiation`` keyword and recognize
    escape sequences (#2619)
  * Macaulay2: Update to 1.23 (#2655)
  * Python: fix highlighting of soft keywords before ``None``/``True``/``False``
  * reStructuredText: use ``Token.Comment`` for comments instead of
    ``Comment.Preproc`` (#2598)
  * Rust: highlight ``:``, ``::`` and ``->`` as ``Punctuation``
    and whitespace as ``Whitespace``, instead of ``Text``
    in both cases (#2631)
  * Spice: Add keywords (#2621)
  * SQL Explain: allow negative numbers (#2610)
  * Swift: Support multiline strings (#2681)
  * ThingsDB: add constants and new functions; support template
    strings (#2624)
  * UL4: support nested ``<?doc?>`` and ``<?note?>`` tags (#2597)
  * VHDL: support multi-line comments of VHDL-2008 (#2622)
  * Wikitext: Remove ``kk-*`` in ``variant_langs`` (#2647)
  * Xtend: Add ``val`` and ``var`` (#2602)

- New styles:

  * Coffee (#2609)

- Make background colors in the image formatter work with Pillow 10.0 (#2623)
- Require Python 3.8. As a result, the ``importlib-metadata`` package
  is no longer needed for fast plugin discovery on Python 3.7.
  The ``plugins`` extra (used as, e.g., ``pip install pygments[plugins]``)
  is kept for backwards compatibility but now has no effect. (#2601)
- Require the ``url`` attribute for lexers inside Pygments, add
  it to many lexers (#2588)
- Replace Pyflakes linter with Ruff (#2592)
- Add macOS CI (#2594)
- Built-in lexers now declare the version of Pygments in which they were
  added in a required ``version_added`` lexer attribute, instead of a
  ``.. versionadded::`` directive in the docstring (#2589, #2634)
- The ``url`` attribute is now required for built-in lexers and
  has been added to all existing lexers (#2588)
- The RTF formatter supports line number and line highlighting now (#1217, #2654)
- Add ``\sa0`` keyword in the RTF formatter (#1111, #2607)
- Register ``pycon`` as an alias for the Python console lexer (#2697)
- Add MIME-Type for ``DesktopLexer`` (#2613)
- Fix native style to meet WCAG AA guidelines (#2600)
- Fix typo in documentation (#2672)
- Use format strings consistently (#2661)
- Add ``__class_getitem__`` to ``Formatter`` to improve typing support (#2665)


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/textproc/py-pygments/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/textproc/py-pygments/PLIST
cvs rdiff -u -r1.33 -r1.34 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.51 pkgsrc/textproc/py-pygments/Makefile:1.52
--- pkgsrc/textproc/py-pygments/Makefile:1.51   Wed Nov 22 10:07:37 2023
+++ pkgsrc/textproc/py-pygments/Makefile        Sun May  5 10:34:32 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.51 2023/11/22 10:07:37 adam Exp $
+# $NetBSD: Makefile,v 1.52 2024/05/05 10:34:32 wiz Exp $
 
-DISTNAME=      pygments-2.17.2
+DISTNAME=      pygments-2.18.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.27 pkgsrc/textproc/py-pygments/PLIST:1.28
--- pkgsrc/textproc/py-pygments/PLIST:1.27      Sun Nov 19 16:17:50 2023
+++ pkgsrc/textproc/py-pygments/PLIST   Sun May  5 10:34:33 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2023/11/19 16:17:50 wiz Exp $
+@comment $NetBSD: PLIST,v 1.28 2024/05/05 10:34:33 wiz Exp $
 bin/pygmentize-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -105,6 +105,9 @@ ${PYSITELIB}/pygments/lexers/_lilypond_b
 ${PYSITELIB}/pygments/lexers/_lua_builtins.py
 ${PYSITELIB}/pygments/lexers/_lua_builtins.pyc
 ${PYSITELIB}/pygments/lexers/_lua_builtins.pyo
+${PYSITELIB}/pygments/lexers/_luau_builtins.py
+${PYSITELIB}/pygments/lexers/_luau_builtins.pyc
+${PYSITELIB}/pygments/lexers/_luau_builtins.pyo
 ${PYSITELIB}/pygments/lexers/_mapping.py
 ${PYSITELIB}/pygments/lexers/_mapping.pyc
 ${PYSITELIB}/pygments/lexers/_mapping.pyo
@@ -504,6 +507,9 @@ ${PYSITELIB}/pygments/lexers/modeling.py
 ${PYSITELIB}/pygments/lexers/modula2.py
 ${PYSITELIB}/pygments/lexers/modula2.pyc
 ${PYSITELIB}/pygments/lexers/modula2.pyo
+${PYSITELIB}/pygments/lexers/mojo.py
+${PYSITELIB}/pygments/lexers/mojo.pyc
+${PYSITELIB}/pygments/lexers/mojo.pyo
 ${PYSITELIB}/pygments/lexers/monte.py
 ${PYSITELIB}/pygments/lexers/monte.pyc
 ${PYSITELIB}/pygments/lexers/monte.pyo
@@ -666,6 +672,9 @@ ${PYSITELIB}/pygments/lexers/snobol.pyo
 ${PYSITELIB}/pygments/lexers/solidity.py
 ${PYSITELIB}/pygments/lexers/solidity.pyc
 ${PYSITELIB}/pygments/lexers/solidity.pyo
+${PYSITELIB}/pygments/lexers/soong.py
+${PYSITELIB}/pygments/lexers/soong.pyc
+${PYSITELIB}/pygments/lexers/soong.pyo
 ${PYSITELIB}/pygments/lexers/sophia.py
 ${PYSITELIB}/pygments/lexers/sophia.pyc
 ${PYSITELIB}/pygments/lexers/sophia.pyo
@@ -687,6 +696,9 @@ ${PYSITELIB}/pygments/lexers/stata.pyo
 ${PYSITELIB}/pygments/lexers/supercollider.py
 ${PYSITELIB}/pygments/lexers/supercollider.pyc
 ${PYSITELIB}/pygments/lexers/supercollider.pyo
+${PYSITELIB}/pygments/lexers/tact.py
+${PYSITELIB}/pygments/lexers/tact.pyc
+${PYSITELIB}/pygments/lexers/tact.pyo
 ${PYSITELIB}/pygments/lexers/tal.py
 ${PYSITELIB}/pygments/lexers/tal.pyc
 ${PYSITELIB}/pygments/lexers/tal.pyo
@@ -735,6 +747,9 @@ ${PYSITELIB}/pygments/lexers/trafficscri
 ${PYSITELIB}/pygments/lexers/typoscript.py
 ${PYSITELIB}/pygments/lexers/typoscript.pyc
 ${PYSITELIB}/pygments/lexers/typoscript.pyo
+${PYSITELIB}/pygments/lexers/typst.py
+${PYSITELIB}/pygments/lexers/typst.pyc
+${PYSITELIB}/pygments/lexers/typst.pyo
 ${PYSITELIB}/pygments/lexers/ul4.py
 ${PYSITELIB}/pygments/lexers/ul4.pyc
 ${PYSITELIB}/pygments/lexers/ul4.pyo
@@ -846,6 +861,9 @@ ${PYSITELIB}/pygments/styles/borland.pyo
 ${PYSITELIB}/pygments/styles/bw.py
 ${PYSITELIB}/pygments/styles/bw.pyc
 ${PYSITELIB}/pygments/styles/bw.pyo
+${PYSITELIB}/pygments/styles/coffee.py
+${PYSITELIB}/pygments/styles/coffee.pyc
+${PYSITELIB}/pygments/styles/coffee.pyo
 ${PYSITELIB}/pygments/styles/colorful.py
 ${PYSITELIB}/pygments/styles/colorful.pyc
 ${PYSITELIB}/pygments/styles/colorful.pyo

Index: pkgsrc/textproc/py-pygments/distinfo
diff -u pkgsrc/textproc/py-pygments/distinfo:1.33 pkgsrc/textproc/py-pygments/distinfo:1.34
--- pkgsrc/textproc/py-pygments/distinfo:1.33   Wed Nov 22 10:07:37 2023
+++ pkgsrc/textproc/py-pygments/distinfo        Sun May  5 10:34:33 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.33 2023/11/22 10:07:37 adam Exp $
+$NetBSD: distinfo,v 1.34 2024/05/05 10:34:33 wiz Exp $
 
-BLAKE2s (pygments-2.17.2.tar.gz) = 19f3c7c1dc9c907f66e949d1a1106a30eef3952ad5f551f6ba504abc4a7ceabf
-SHA512 (pygments-2.17.2.tar.gz) = a3408a21f4c0a9f1a81d4fae5c2924f66f1f17daf98a52c4379d6953625354f47bb8db3005e6ab09407627f592843efde12afb14e1271c1e685973eb4c238d89
-Size (pygments-2.17.2.tar.gz) = 4827772 bytes
+BLAKE2s (pygments-2.18.0.tar.gz) = 9c3f78598fed7fedf2ecd784be38a1480f7b7d11016231cfc0008d6b58e78704
+SHA512 (pygments-2.18.0.tar.gz) = 2f696fed7f2120f9e3bd5f3d2837a5d6b883434b8d0f68d039c2620213508638cedf1517375019809720d56fc52f07e3bddd0defc4707703ace5d707908c00fb
+Size (pygments-2.18.0.tar.gz) = 4891905 bytes



Home | Main Index | Thread Index | Old Index