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 Nov 19 16:17:50 UTC 2023

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

Log Message:
py-pygments: update to 2.17.1.

Version 2.17.1
--------------
(released November 19, 2023)

- Updated lexers:

  * TOML: Fix bug making lexing of single-quoted strings too eager

Version 2.17.0
--------------
(released November 18, 2023)

- New lexers:

  * JSX (#2524, #709)
  * Kusto (#2552)
  * ldaprc (#2532)
  * LDIF (#2489)
  * PRQL (#2507, #2523, #2559)
  * Visual Prolog and Visual Prolog Grammar (#2480)
  * Vyper (#2531, #2579)

- Updated lexers:

  * Cypher: fix comment matching, add missing keywords (#2504)
  * Fortran: add ``elseif`` keyword (#2528)
  * Lean: make it available as ``lean3``, in preparation for
    a possible switch to ``lean`` highlighting as Lean 4 (#2546)
  * JSON: add MIME types and file extensions for several line-delimited
    JSON formats (#2490)
  * Nix: many improvements (#2551, #1800)
  * OCaml: Add ``and`` keyword, remove ``value`` from keywords (#2521)
  * Python: add ``starlark`` and ``bazel`` aliases (#2517, #2516)
  * Snowball: Treat ``len`` like ``size`` (#2508)
  * Spice: add ``panic`` keyword and ``->`` operator (#2510)
  * squid.conf: fix catastrophic backtracking (#2583)
  * TOML: rewritten, with many fixes (#2576)
  * Turtle: support blank nodes (#2581)
  * Wikitext: fix erroneous highlighting of LanguageConverter markup
    (#2493), add missing variant languages (#2494)
  * CMake: support ``[=[ bracketed arguments ]=]``` (#2549)

- Fix ctags support and tests (#2487)
- Include ``Lexer.add_filter`` in the documentation (#2519)
- Add a ``Lean3Lexer`` alias (#2546)
- The ``pygments.styles`` module contains a new ``STYLES`` variable
  with a dictionary of built-in styles.  The old ``STYLE_MAP`` variable,
  which uses a different format, is kept for backwards compatibility.
- On Windows, add a new installation extra (``windows-terminal``) which pulls in
  dependencies for colored console output. See :doc:`cmdline` for more details.
  (#2505)
- Support more file types in ``autopygmentize`` script (#2513)
- Change color of numbers in ``rrt`` style (#2526)
- Fix error when trying to look up plugin formatters by file extension
  of the output format (#2563)
- Use Hatchling as a build backend instead of setuptools.
  This change is transparent to most users. Distribution packagers
  who build without build isolation need to add hatchling as a build
  dependency and remove setuptools. People downloading source distributions
  and wheels from PyPI directly should note that they now have ``pygments``
  in their file names instead of ``Pygments``. (#2573)
- Improve the test framework to also check for lost tokens when processing the
  snippets and example files (#2582.)
- Improve the *Dracula* style definition to make it easier to maintain (#2575)


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/textproc/py-pygments/Makefile
cvs rdiff -u -r1.26 -r1.27 pkgsrc/textproc/py-pygments/PLIST
cvs rdiff -u -r1.31 -r1.32 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.49 pkgsrc/textproc/py-pygments/Makefile:1.50
--- pkgsrc/textproc/py-pygments/Makefile:1.49   Sat Oct 28 19:57:19 2023
+++ pkgsrc/textproc/py-pygments/Makefile        Sun Nov 19 16:17:50 2023
@@ -1,20 +1,17 @@
-# $NetBSD: Makefile,v 1.49 2023/10/28 19:57:19 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2023/11/19 16:17:50 wiz Exp $
 
-DISTNAME=      Pygments-2.16.1
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION=   1
+DISTNAME=      pygments-2.17.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
-MASTER_SITES=  ${MASTER_SITE_PYPI:=P/Pygments/}
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pygments/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://pygments.org/
 COMMENT=       Python syntax highlighter
 LICENSE=       2-clause-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
 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
@@ -25,8 +22,5 @@ post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} pygmentize pygmentize-${PYVERSSUFFIX} || ${TRUE}
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-pygments/PLIST
diff -u pkgsrc/textproc/py-pygments/PLIST:1.26 pkgsrc/textproc/py-pygments/PLIST:1.27
--- pkgsrc/textproc/py-pygments/PLIST:1.26      Sat Oct 28 19:57:19 2023
+++ pkgsrc/textproc/py-pygments/PLIST   Sun Nov 19 16:17:50 2023
@@ -1,12 +1,11 @@
-@comment $NetBSD: PLIST,v 1.26 2023/10/28 19:57:19 wiz Exp $
+@comment $NetBSD: PLIST,v 1.27 2023/11/19 16:17:50 wiz Exp $
 bin/pygmentize-${PYVERSSUFFIX}
-${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/pygments/__init__.py
 ${PYSITELIB}/pygments/__init__.pyc
 ${PYSITELIB}/pygments/__init__.pyo
@@ -439,6 +438,9 @@ ${PYSITELIB}/pygments/lexers/jslt.pyo
 ${PYSITELIB}/pygments/lexers/jsonnet.py
 ${PYSITELIB}/pygments/lexers/jsonnet.pyc
 ${PYSITELIB}/pygments/lexers/jsonnet.pyo
+${PYSITELIB}/pygments/lexers/jsx.py
+${PYSITELIB}/pygments/lexers/jsx.pyc
+${PYSITELIB}/pygments/lexers/jsx.pyo
 ${PYSITELIB}/pygments/lexers/julia.py
 ${PYSITELIB}/pygments/lexers/julia.pyc
 ${PYSITELIB}/pygments/lexers/julia.pyo
@@ -448,6 +450,15 @@ ${PYSITELIB}/pygments/lexers/jvm.pyo
 ${PYSITELIB}/pygments/lexers/kuin.py
 ${PYSITELIB}/pygments/lexers/kuin.pyc
 ${PYSITELIB}/pygments/lexers/kuin.pyo
+${PYSITELIB}/pygments/lexers/kusto.py
+${PYSITELIB}/pygments/lexers/kusto.pyc
+${PYSITELIB}/pygments/lexers/kusto.pyo
+${PYSITELIB}/pygments/lexers/ldap.py
+${PYSITELIB}/pygments/lexers/ldap.pyc
+${PYSITELIB}/pygments/lexers/ldap.pyo
+${PYSITELIB}/pygments/lexers/lean.py
+${PYSITELIB}/pygments/lexers/lean.pyc
+${PYSITELIB}/pygments/lexers/lean.pyo
 ${PYSITELIB}/pygments/lexers/lilypond.py
 ${PYSITELIB}/pygments/lexers/lilypond.pyc
 ${PYSITELIB}/pygments/lexers/lilypond.pyo
@@ -565,6 +576,9 @@ ${PYSITELIB}/pygments/lexers/prolog.pyo
 ${PYSITELIB}/pygments/lexers/promql.py
 ${PYSITELIB}/pygments/lexers/promql.pyc
 ${PYSITELIB}/pygments/lexers/promql.pyo
+${PYSITELIB}/pygments/lexers/prql.py
+${PYSITELIB}/pygments/lexers/prql.pyc
+${PYSITELIB}/pygments/lexers/prql.pyo
 ${PYSITELIB}/pygments/lexers/ptx.py
 ${PYSITELIB}/pygments/lexers/ptx.pyc
 ${PYSITELIB}/pygments/lexers/ptx.pyo
@@ -742,6 +756,12 @@ ${PYSITELIB}/pygments/lexers/verificatio
 ${PYSITELIB}/pygments/lexers/verifpal.py
 ${PYSITELIB}/pygments/lexers/verifpal.pyc
 ${PYSITELIB}/pygments/lexers/verifpal.pyo
+${PYSITELIB}/pygments/lexers/vip.py
+${PYSITELIB}/pygments/lexers/vip.pyc
+${PYSITELIB}/pygments/lexers/vip.pyo
+${PYSITELIB}/pygments/lexers/vyper.py
+${PYSITELIB}/pygments/lexers/vyper.pyc
+${PYSITELIB}/pygments/lexers/vyper.pyo
 ${PYSITELIB}/pygments/lexers/web.py
 ${PYSITELIB}/pygments/lexers/web.pyc
 ${PYSITELIB}/pygments/lexers/web.pyo
@@ -802,6 +822,9 @@ ${PYSITELIB}/pygments/style.pyo
 ${PYSITELIB}/pygments/styles/__init__.py
 ${PYSITELIB}/pygments/styles/__init__.pyc
 ${PYSITELIB}/pygments/styles/__init__.pyo
+${PYSITELIB}/pygments/styles/_mapping.py
+${PYSITELIB}/pygments/styles/_mapping.pyc
+${PYSITELIB}/pygments/styles/_mapping.pyo
 ${PYSITELIB}/pygments/styles/abap.py
 ${PYSITELIB}/pygments/styles/abap.pyc
 ${PYSITELIB}/pygments/styles/abap.pyo

Index: pkgsrc/textproc/py-pygments/distinfo
diff -u pkgsrc/textproc/py-pygments/distinfo:1.31 pkgsrc/textproc/py-pygments/distinfo:1.32
--- pkgsrc/textproc/py-pygments/distinfo:1.31   Sun Aug  6 20:23:35 2023
+++ pkgsrc/textproc/py-pygments/distinfo        Sun Nov 19 16:17:50 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.31 2023/08/06 20:23:35 adam Exp $
+$NetBSD: distinfo,v 1.32 2023/11/19 16:17:50 wiz Exp $
 
-BLAKE2s (Pygments-2.16.1.tar.gz) = 9d009e439aa8078440e3328cb4de63f52f622f2fb8c7d28732f637d003a8156a
-SHA512 (Pygments-2.16.1.tar.gz) = 9b66c79c03e7ecd36cc00efd428a0a6b372e70dbccdcaae26eff4d56c07a17e2e00d2cf0291eb6624ffd1c896b797789b973e80ccbca4240d56daad95eacfd80
-Size (Pygments-2.16.1.tar.gz) = 4872980 bytes
+BLAKE2s (pygments-2.17.1.tar.gz) = 946a7a585bf9c985d675827b6e2f77f4e915c2ae04991875ec89d05df1819231
+SHA512 (pygments-2.17.1.tar.gz) = 587f9d32bbb6c9bdbe53db2f5a24b93323905cd515acf3a0e73318c00bdbb71e109d9258de54ac45a1d85fe285ffdd1b9b0397b41391124754f41af4c9e02e4b
+Size (pygments-2.17.1.tar.gz) = 4827687 bytes



Home | Main Index | Thread Index | Old Index