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:   adam
Date:           Tue Jan 24 12:50:34 UTC 2023

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

Log Message:
py-pygments: updated to 2.14.0

Version 2.14.0
--------------
- Added lexers:
  * Arturo
  * GAP session
  * Fift
  * func
  * Jsonnet
  * Minecraft schema
  * MIPS
  * Phix
  * Portugol
  * TL-b
  * World of Warcraft TOC format
  * Wren

- Updated lexers:
  * Abap: Update keywords
  * Alloy: Update for Alloy 6
  * C family (C, C++ and many others):
    - Fix an issue where a chunk would be wrongly recognized as a function
      definition due to braces in comments
    - Improve parantheses handling for function definitions

  * C#: Fix number and operator recognition
  * CSound: Updated builtins
  * F#: Add ``.fsx`` file extension
  * gas (GNU assembler): recognize braces as punctuation
  * HTTP: Add `CONNECT` keyword
  * Inform 6: Fix lexing of properties and doubles
  * INI: Allow comments that are not their own line
  * Java properties: Fix issue with whitespace-delimited keys, support
    comments starting with `!` and escapes, no longer support undocumented
    `;` and `//` comments
  * LilyPond: Improve heuristics, add ``\maxima`` duration
  * LLVM: Add opaque pointer type
  * Macaulay2: Update keywords
  * Minecraft-related lexers (SNB and Minecraft function) moved to
    ``pygments.lexers.minecraft``
  * Nim: General improvements
  * Nix: Fix single quotes inside indented strings
  * Objective J: Fix catastrophic backtracking
  * NASM: Add support for SSE/AVX/AVX-512 registers as well as 'rel'
    and 'abs' address operators
  * Powershell:
    - Add ``local:`` keyword
    - Allow continuations without markers

  * Solidity: Add boolean operators
  * Spice: Add ``enum`` keyword and fix a bug regarding binary,
    hexadecimal and octal number tokens
  * YAML: Accept colons in key names

- Fix `make mapfiles` when Pygments is not installed in editable mode
- Support more filetypes and compression types in `autopygmentize`
- Merge consecutive tokens in Autohotkey, Clay
- Add ``.nasm`` as a recognized file type for NASM
- Add ``*Spec.hs`` as a recognized file type for ``HSpec``
- Add ``*.pyi`` (for typing stub files) as a recognized file type for
  Python
- The HTML lexer no longer emits empty spans for whitespace
- Fix ``IRCFormatter`` inserting linenumbers incorrectly


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/textproc/py-pygments/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/textproc/py-pygments/PLIST
cvs rdiff -u -r1.27 -r1.28 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.44 pkgsrc/textproc/py-pygments/Makefile:1.45
--- pkgsrc/textproc/py-pygments/Makefile:1.44   Mon Nov 28 20:54:40 2022
+++ pkgsrc/textproc/py-pygments/Makefile        Tue Jan 24 12:50:34 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2022/11/28 20:54:40 abs Exp $
+# $NetBSD: Makefile,v 1.45 2023/01/24 12:50:34 adam Exp $
 
-DISTNAME=      Pygments-2.13.0
+DISTNAME=      Pygments-2.14.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=P/Pygments/}
@@ -16,15 +16,10 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-wcag-contr
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 37
-DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
-.endif
-
 USE_PKG_RESOURCES=     yes
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} pygmentize pygmentize-${PYVERSSUFFIX} || ${TRUE}

Index: pkgsrc/textproc/py-pygments/PLIST
diff -u pkgsrc/textproc/py-pygments/PLIST:1.22 pkgsrc/textproc/py-pygments/PLIST:1.23
--- pkgsrc/textproc/py-pygments/PLIST:1.22      Tue Aug 16 14:01:18 2022
+++ pkgsrc/textproc/py-pygments/PLIST   Tue Jan 24 12:50:34 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.22 2022/08/16 14:01:18 adam Exp $
+@comment $NetBSD: PLIST,v 1.23 2023/01/24 12:50:34 adam Exp $
 bin/pygmentize-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -187,6 +187,9 @@ ${PYSITELIB}/pygments/lexers/archetype.p
 ${PYSITELIB}/pygments/lexers/arrow.py
 ${PYSITELIB}/pygments/lexers/arrow.pyc
 ${PYSITELIB}/pygments/lexers/arrow.pyo
+${PYSITELIB}/pygments/lexers/arturo.py
+${PYSITELIB}/pygments/lexers/arturo.pyc
+${PYSITELIB}/pygments/lexers/arturo.pyo
 ${PYSITELIB}/pygments/lexers/asc.py
 ${PYSITELIB}/pygments/lexers/asc.pyc
 ${PYSITELIB}/pygments/lexers/asc.pyo
@@ -316,6 +319,9 @@ ${PYSITELIB}/pygments/lexers/fantom.pyo
 ${PYSITELIB}/pygments/lexers/felix.py
 ${PYSITELIB}/pygments/lexers/felix.pyc
 ${PYSITELIB}/pygments/lexers/felix.pyo
+${PYSITELIB}/pygments/lexers/fift.py
+${PYSITELIB}/pygments/lexers/fift.pyc
+${PYSITELIB}/pygments/lexers/fift.pyo
 ${PYSITELIB}/pygments/lexers/floscript.py
 ${PYSITELIB}/pygments/lexers/floscript.pyc
 ${PYSITELIB}/pygments/lexers/floscript.pyo
@@ -331,6 +337,9 @@ ${PYSITELIB}/pygments/lexers/foxpro.pyo
 ${PYSITELIB}/pygments/lexers/freefem.py
 ${PYSITELIB}/pygments/lexers/freefem.pyc
 ${PYSITELIB}/pygments/lexers/freefem.pyo
+${PYSITELIB}/pygments/lexers/func.py
+${PYSITELIB}/pygments/lexers/func.pyc
+${PYSITELIB}/pygments/lexers/func.pyo
 ${PYSITELIB}/pygments/lexers/functional.py
 ${PYSITELIB}/pygments/lexers/functional.pyc
 ${PYSITELIB}/pygments/lexers/functional.pyo
@@ -406,6 +415,9 @@ ${PYSITELIB}/pygments/lexers/jmespath.py
 ${PYSITELIB}/pygments/lexers/jslt.py
 ${PYSITELIB}/pygments/lexers/jslt.pyc
 ${PYSITELIB}/pygments/lexers/jslt.pyo
+${PYSITELIB}/pygments/lexers/jsonnet.py
+${PYSITELIB}/pygments/lexers/jsonnet.pyc
+${PYSITELIB}/pygments/lexers/jsonnet.pyo
 ${PYSITELIB}/pygments/lexers/julia.py
 ${PYSITELIB}/pygments/lexers/julia.pyc
 ${PYSITELIB}/pygments/lexers/julia.pyo
@@ -439,15 +451,18 @@ ${PYSITELIB}/pygments/lexers/matlab.pyo
 ${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
 ${PYSITELIB}/pygments/lexers/mime.py
 ${PYSITELIB}/pygments/lexers/mime.pyc
 ${PYSITELIB}/pygments/lexers/mime.pyo
+${PYSITELIB}/pygments/lexers/minecraft.py
+${PYSITELIB}/pygments/lexers/minecraft.pyc
+${PYSITELIB}/pygments/lexers/minecraft.pyo
+${PYSITELIB}/pygments/lexers/mips.py
+${PYSITELIB}/pygments/lexers/mips.pyc
+${PYSITELIB}/pygments/lexers/mips.pyo
 ${PYSITELIB}/pygments/lexers/ml.py
 ${PYSITELIB}/pygments/lexers/ml.pyc
 ${PYSITELIB}/pygments/lexers/ml.pyo
@@ -502,6 +517,9 @@ ${PYSITELIB}/pygments/lexers/pawn.pyo
 ${PYSITELIB}/pygments/lexers/perl.py
 ${PYSITELIB}/pygments/lexers/perl.pyc
 ${PYSITELIB}/pygments/lexers/perl.pyo
+${PYSITELIB}/pygments/lexers/phix.py
+${PYSITELIB}/pygments/lexers/phix.pyc
+${PYSITELIB}/pygments/lexers/phix.pyo
 ${PYSITELIB}/pygments/lexers/php.py
 ${PYSITELIB}/pygments/lexers/php.pyc
 ${PYSITELIB}/pygments/lexers/php.pyo
@@ -661,6 +679,9 @@ ${PYSITELIB}/pygments/lexers/theorem.pyo
 ${PYSITELIB}/pygments/lexers/thingsdb.py
 ${PYSITELIB}/pygments/lexers/thingsdb.pyc
 ${PYSITELIB}/pygments/lexers/thingsdb.pyo
+${PYSITELIB}/pygments/lexers/tlb.py
+${PYSITELIB}/pygments/lexers/tlb.pyc
+${PYSITELIB}/pygments/lexers/tlb.pyo
 ${PYSITELIB}/pygments/lexers/tnt.py
 ${PYSITELIB}/pygments/lexers/tnt.pyc
 ${PYSITELIB}/pygments/lexers/tnt.pyo
@@ -703,6 +724,12 @@ ${PYSITELIB}/pygments/lexers/webmisc.pyo
 ${PYSITELIB}/pygments/lexers/whiley.py
 ${PYSITELIB}/pygments/lexers/whiley.pyc
 ${PYSITELIB}/pygments/lexers/whiley.pyo
+${PYSITELIB}/pygments/lexers/wowtoc.py
+${PYSITELIB}/pygments/lexers/wowtoc.pyc
+${PYSITELIB}/pygments/lexers/wowtoc.pyo
+${PYSITELIB}/pygments/lexers/wren.py
+${PYSITELIB}/pygments/lexers/wren.pyc
+${PYSITELIB}/pygments/lexers/wren.pyo
 ${PYSITELIB}/pygments/lexers/x10.py
 ${PYSITELIB}/pygments/lexers/x10.pyc
 ${PYSITELIB}/pygments/lexers/x10.pyo

Index: pkgsrc/textproc/py-pygments/distinfo
diff -u pkgsrc/textproc/py-pygments/distinfo:1.27 pkgsrc/textproc/py-pygments/distinfo:1.28
--- pkgsrc/textproc/py-pygments/distinfo:1.27   Tue Aug 16 14:01:18 2022
+++ pkgsrc/textproc/py-pygments/distinfo        Tue Jan 24 12:50:34 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.27 2022/08/16 14:01:18 adam Exp $
+$NetBSD: distinfo,v 1.28 2023/01/24 12:50:34 adam Exp $
 
-BLAKE2s (Pygments-2.13.0.tar.gz) = 910784f6e02dfb96265984ce4493c34e3941a5a92139134b2623faf4ce1ae259
-SHA512 (Pygments-2.13.0.tar.gz) = d492acf112423fa997f35d6d3cae18b89bf11619c696879c6df49697dca933b6d54d7cb22907e06812e0a562f03e8ed5ccefde5247bc1c51cf2d3d69e7d65422
-Size (Pygments-2.13.0.tar.gz) = 4324285 bytes
+BLAKE2s (Pygments-2.14.0.tar.gz) = bd9212b4c7a8b8cad7f386422eb39ec7685e5568be9f79d534f84810438cdf00
+SHA512 (Pygments-2.14.0.tar.gz) = 51416a8e2a8d0288cbbf6fd81e6870ffe9d999da255c43d0f870eb5cb4d01660416d136d39fad38b76c4bace3c3aa648fb306519e85e340545a87fc657aaeb15
+Size (Pygments-2.14.0.tar.gz) = 4434562 bytes



Home | Main Index | Thread Index | Old Index