pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-pygments py-pygments: updated to 2.12.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60a6fc0d10e9
branches:  trunk
changeset: 378003:60a6fc0d10e9
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 26 10:53:29 2022 +0000

description:
py-pygments: updated to 2.12.0

Version 2.12.0
--------------
- Added lexers:
  * Cplint
  * Macaulay2
  * Minecraft
  * Qlik
  * ``UnixConfigLexer`` for "colon-separated" config files, like ``/etc/passwd``

- Updated lexers:
  * Agda: Update keyword list
  * C family: Fix identifiers after ``case`` statements
  * Clojure: Highlight ratios
  * Csound: Update to 6.17
  * CSS: Update the list of properties
  * Elpi:
    - Fix catastrophic backtracking
    - Fix handling of ``->``

  * Futhark: Add missing tokens
  * Gherkin: Add ``But``
  * Inform6: Update to 6.36
  * JSON: Support C comments in JSON
  * LilyPond:
    - Fix incorrect lexing of names containing a built-in
    - Fix properties containing dashes

  * PHP: Update builtin function and keyword list
  * Scheme: Various improvements
  * Spice: Update the keyword list, add new types
  * Terraform:
    - Support non-idiomatic comments
    - Fix class name lexing

- Add ``plugins`` argument to ``get_all_lexers()``.
- Bump minimal Python version to 3.6
- Fix multiple lexers marking whitespace as ``Text``
- Remove various redundant uses of ``re.UNICODE``
- Associate ``.resource`` with the Robot framework
- Associate ``.cljc`` with Clojure
- Associate ``.tpp`` with C++
- Remove traces of Python 2 from the documentation
- The ``native`` style was updated to meet the WCAG AAA contrast guidelines
- Fix various typos
- Fix ``Groff`` formatter not inheriting token styles correctly
- Various improvements to the CI
- The Ada lexer has been moved to a separate file
- When ``linenos=table`` is used, the ``<table>`` itself is now wrapped with a ``<div class="highlight">`` tag instead of placing it inside the ``<td class="code">`` cell

diffstat:

 textproc/py-pygments/Makefile |   5 +++--
 textproc/py-pygments/PLIST    |  41 ++++++++++++++++++++++++++++++++++++++++-
 textproc/py-pygments/distinfo |   8 ++++----
 3 files changed, 47 insertions(+), 7 deletions(-)

diffs (158 lines):

diff -r 3b2d5a05ea7a -r 60a6fc0d10e9 textproc/py-pygments/Makefile
--- a/textproc/py-pygments/Makefile     Tue Apr 26 10:52:16 2022 +0000
+++ b/textproc/py-pygments/Makefile     Tue Apr 26 10:53:29 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2022/01/07 12:20:37 adam Exp $
+# $NetBSD: Makefile,v 1.40 2022/04/26 10:53:29 adam Exp $
 
-DISTNAME=      Pygments-2.11.2
+DISTNAME=      Pygments-2.12.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/Pygments/}
@@ -12,6 +12,7 @@
 
 TEST_DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-wcag-contrast-ratio-[0-9]*:../../graphics/py-wcag-contrast-ratio
 
 USE_LANGUAGES= # none
 
diff -r 3b2d5a05ea7a -r 60a6fc0d10e9 textproc/py-pygments/PLIST
--- a/textproc/py-pygments/PLIST        Tue Apr 26 10:52:16 2022 +0000
+++ b/textproc/py-pygments/PLIST        Tue Apr 26 10:53:29 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2021/12/30 17:05:08 adam Exp $
+@comment $NetBSD: PLIST,v 1.21 2022/04/26 10:53:29 adam Exp $
 bin/pygmentize-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -75,6 +75,9 @@
 ${PYSITELIB}/pygments/lexers/__init__.py
 ${PYSITELIB}/pygments/lexers/__init__.pyc
 ${PYSITELIB}/pygments/lexers/__init__.pyo
+${PYSITELIB}/pygments/lexers/_ada_builtins.py
+${PYSITELIB}/pygments/lexers/_ada_builtins.pyc
+${PYSITELIB}/pygments/lexers/_ada_builtins.pyo
 ${PYSITELIB}/pygments/lexers/_asy_builtins.py
 ${PYSITELIB}/pygments/lexers/_asy_builtins.pyc
 ${PYSITELIB}/pygments/lexers/_asy_builtins.pyo
@@ -87,6 +90,9 @@
 ${PYSITELIB}/pygments/lexers/_csound_builtins.py
 ${PYSITELIB}/pygments/lexers/_csound_builtins.pyc
 ${PYSITELIB}/pygments/lexers/_csound_builtins.pyo
+${PYSITELIB}/pygments/lexers/_css_builtins.py
+${PYSITELIB}/pygments/lexers/_css_builtins.pyc
+${PYSITELIB}/pygments/lexers/_css_builtins.pyo
 ${PYSITELIB}/pygments/lexers/_julia_builtins.py
 ${PYSITELIB}/pygments/lexers/_julia_builtins.pyc
 ${PYSITELIB}/pygments/lexers/_julia_builtins.pyo
@@ -117,6 +123,12 @@
 ${PYSITELIB}/pygments/lexers/_postgres_builtins.py
 ${PYSITELIB}/pygments/lexers/_postgres_builtins.pyc
 ${PYSITELIB}/pygments/lexers/_postgres_builtins.pyo
+${PYSITELIB}/pygments/lexers/_qlik_builtins.py
+${PYSITELIB}/pygments/lexers/_qlik_builtins.pyc
+${PYSITELIB}/pygments/lexers/_qlik_builtins.pyo
+${PYSITELIB}/pygments/lexers/_scheme_builtins.py
+${PYSITELIB}/pygments/lexers/_scheme_builtins.pyc
+${PYSITELIB}/pygments/lexers/_scheme_builtins.pyo
 ${PYSITELIB}/pygments/lexers/_scilab_builtins.py
 ${PYSITELIB}/pygments/lexers/_scilab_builtins.pyc
 ${PYSITELIB}/pygments/lexers/_scilab_builtins.pyo
@@ -144,6 +156,9 @@
 ${PYSITELIB}/pygments/lexers/actionscript.py
 ${PYSITELIB}/pygments/lexers/actionscript.pyc
 ${PYSITELIB}/pygments/lexers/actionscript.pyo
+${PYSITELIB}/pygments/lexers/ada.py
+${PYSITELIB}/pygments/lexers/ada.pyc
+${PYSITELIB}/pygments/lexers/ada.pyo
 ${PYSITELIB}/pygments/lexers/agile.py
 ${PYSITELIB}/pygments/lexers/agile.pyc
 ${PYSITELIB}/pygments/lexers/agile.pyo
@@ -189,6 +204,9 @@
 ${PYSITELIB}/pygments/lexers/bdd.py
 ${PYSITELIB}/pygments/lexers/bdd.pyc
 ${PYSITELIB}/pygments/lexers/bdd.pyo
+${PYSITELIB}/pygments/lexers/berry.py
+${PYSITELIB}/pygments/lexers/berry.pyc
+${PYSITELIB}/pygments/lexers/berry.pyo
 ${PYSITELIB}/pygments/lexers/bibtex.py
 ${PYSITELIB}/pygments/lexers/bibtex.pyc
 ${PYSITELIB}/pygments/lexers/bibtex.pyo
@@ -225,6 +243,9 @@
 ${PYSITELIB}/pygments/lexers/console.py
 ${PYSITELIB}/pygments/lexers/console.pyc
 ${PYSITELIB}/pygments/lexers/console.pyo
+${PYSITELIB}/pygments/lexers/cplint.py
+${PYSITELIB}/pygments/lexers/cplint.pyc
+${PYSITELIB}/pygments/lexers/cplint.pyo
 ${PYSITELIB}/pygments/lexers/crystal.py
 ${PYSITELIB}/pygments/lexers/crystal.pyc
 ${PYSITELIB}/pygments/lexers/crystal.pyo
@@ -393,6 +414,9 @@
 ${PYSITELIB}/pygments/lexers/lisp.py
 ${PYSITELIB}/pygments/lexers/lisp.pyc
 ${PYSITELIB}/pygments/lexers/lisp.pyo
+${PYSITELIB}/pygments/lexers/macaulay2.py
+${PYSITELIB}/pygments/lexers/macaulay2.pyc
+${PYSITELIB}/pygments/lexers/macaulay2.pyo
 ${PYSITELIB}/pygments/lexers/make.py
 ${PYSITELIB}/pygments/lexers/make.pyc
 ${PYSITELIB}/pygments/lexers/make.pyo
@@ -408,6 +432,9 @@
 ${PYSITELIB}/pygments/lexers/maxima.py
 ${PYSITELIB}/pygments/lexers/maxima.pyc
 ${PYSITELIB}/pygments/lexers/maxima.pyo
+${PYSITELIB}/pygments/lexers/mcfunction.py
+${PYSITELIB}/pygments/lexers/mcfunction.pyc
+${PYSITELIB}/pygments/lexers/mcfunction.pyo
 ${PYSITELIB}/pygments/lexers/meson.py
 ${PYSITELIB}/pygments/lexers/meson.pyc
 ${PYSITELIB}/pygments/lexers/meson.pyo
@@ -492,6 +519,12 @@
 ${PYSITELIB}/pygments/lexers/python.py
 ${PYSITELIB}/pygments/lexers/python.pyc
 ${PYSITELIB}/pygments/lexers/python.pyo
+${PYSITELIB}/pygments/lexers/q.py
+${PYSITELIB}/pygments/lexers/q.pyc
+${PYSITELIB}/pygments/lexers/q.pyo
+${PYSITELIB}/pygments/lexers/qlik.py
+${PYSITELIB}/pygments/lexers/qlik.pyc
+${PYSITELIB}/pygments/lexers/qlik.pyo
 ${PYSITELIB}/pygments/lexers/qvt.py
 ${PYSITELIB}/pygments/lexers/qvt.pyc
 ${PYSITELIB}/pygments/lexers/qvt.pyo
@@ -588,6 +621,9 @@
 ${PYSITELIB}/pygments/lexers/supercollider.py
 ${PYSITELIB}/pygments/lexers/supercollider.pyc
 ${PYSITELIB}/pygments/lexers/supercollider.pyo
+${PYSITELIB}/pygments/lexers/tal.py
+${PYSITELIB}/pygments/lexers/tal.pyc
+${PYSITELIB}/pygments/lexers/tal.pyo
 ${PYSITELIB}/pygments/lexers/tcl.py
 ${PYSITELIB}/pygments/lexers/tcl.pyc
 ${PYSITELIB}/pygments/lexers/tcl.pyo
@@ -627,6 +663,9 @@
 ${PYSITELIB}/pygments/lexers/typoscript.py
 ${PYSITELIB}/pygments/lexers/typoscript.pyc
 ${PYSITELIB}/pygments/lexers/typoscript.pyo
+${PYSITELIB}/pygments/lexers/ul4.py
+${PYSITELIB}/pygments/lexers/ul4.pyc
+${PYSITELIB}/pygments/lexers/ul4.pyo
 ${PYSITELIB}/pygments/lexers/unicon.py
 ${PYSITELIB}/pygments/lexers/unicon.pyc
 ${PYSITELIB}/pygments/lexers/unicon.pyo
diff -r 3b2d5a05ea7a -r 60a6fc0d10e9 textproc/py-pygments/distinfo
--- a/textproc/py-pygments/distinfo     Tue Apr 26 10:52:16 2022 +0000
+++ b/textproc/py-pygments/distinfo     Tue Apr 26 10:53:29 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.25 2022/01/07 12:20:37 adam Exp $
+$NetBSD: distinfo,v 1.26 2022/04/26 10:53:29 adam Exp $
 
-BLAKE2s (Pygments-2.11.2.tar.gz) = 194b263e457678aab2033007a907a5ee10f7cbc6e41b6a6d8b58ce6465faea70
-SHA512 (Pygments-2.11.2.tar.gz) = 606ff0c35fa47882f4c5c3794827132e1ee6ccbb4895ae858f9c93ea0c92b73163c9f4d630b51a8bb782ba0b4944a66d1059ad5d017d3191a0a5b30c1e5b8f9f
-Size (Pygments-2.11.2.tar.gz) = 4206258 bytes
+BLAKE2s (Pygments-2.12.0.tar.gz) = c2303298bfdcaaf97ed6f333abc4222ef6d648ff795900d858799a8925d653bf
+SHA512 (Pygments-2.12.0.tar.gz) = 70bbfaefeb34f9afb5d74aa924ac3da4a913d1c7f607c0b3f80b6cd25c88a8996e516a689062bf2009c472b29999e309eb044f0f427fa1ea8479bf921b51c524
+Size (Pygments-2.12.0.tar.gz) = 4282017 bytes



Home | Main Index | Thread Index | Old Index