Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id C022E1A9239 for ; Thu, 30 Dec 2021 17:05:11 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id E9CBE84E89; Thu, 30 Dec 2021 17:05:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3140184E7C for ; Thu, 30 Dec 2021 17:05:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id IOv36NIfdAp5 for ; Thu, 30 Dec 2021 17:05:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 0B06784D1C for ; Thu, 30 Dec 2021 17:05:09 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id F0DBDFAEC; Thu, 30 Dec 2021 17:05:08 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1640883908247190" MIME-Version: 1.0 Date: Thu, 30 Dec 2021 17:05:08 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/textproc/py-pygments To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20211230170508.F0DBDFAEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1640883908247190 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Thu Dec 30 17:05:08 UTC 2021 Modified Files: pkgsrc/textproc/py-pygments: Makefile PLIST distinfo Log Message: py-pygments: updated to 2.11.0 Version 2.11.0 -------------- - Added lexers: * BDD * Elpi * LilyPond * Maxima * Rita * Savi * Sed * Sophia contracts * Spice * ``.SRCINFO`` - Updated lexers: * ABNF: Allow one-character rules * Assembly: Fix incorrect token endings * Bibtex: Distinguish between ``comment`` and ``commentary`` * C family: Support unicode identifiers * CDDL: Fix slow lexing speed * Debian control: Add missing fields * Devicetree: Recognize hexadecimal addresses for nodes * GDScript: Add ``void`` data type * GSQL - Fix comment handling - Fix catastrophic backtracking * HTML, XML: Improve comment handling * Java: Add ``yield`` * Makefiles * objdump-nasm: Improve handling of ``--no-show-raw-insn`` dumps * Prolog: Support escaped ``\`` inside quoted strings * Python: - Support ``~`` in tracebacks - Support the pattern matching keywords * RobotFramework: Improve empty brace handling * Terraform - Add the 'set' type - Support heredocs - Added styles: * Dracula * Friendly Grayscale * LilyPond * One-Dark .. note:: All of the new styles unfortunately do not conform to WCAG recommendations. - There is new infrastructure in place to improve style accessibility. The default style has been updated to conform to WCAG recommendations. All styles are now checked for sufficient contrast by default to prevent regressions. - Clean up unused imports - Fix multiple lexers producing repeated single-character tokens - Fix multiple lexers marking whitespace as ``Text`` - Remove duplicated assignments in the Paraiso style - ``pygmentize`` supports JSON output for the various list functions now, making it easier to consume them from scripts. - Use the ``shell`` lexer for ``kshrc`` files - Use the ``ruby`` lexer for ``Vagrantfile`` files - Use the C lexer for ``.xbm`` and ``.xpm`` files - Add a ``groff`` formatter - Update documentation - Line anchors now link to themselves - Add official support for Python 3.10 - Fix several missing colors in dark styles: Gruvbox dark, Monokai, Rrt, Sas, Strata dark - Associate more file types with ``man`` pages - The ``HtmlFormatter`` can now emit tooltips for each token to ease debugging of lexers - Add ``f90`` as an alias for ``fortran`` To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 pkgsrc/textproc/py-pygments/Makefile cvs rdiff -u -r1.19 -r1.20 pkgsrc/textproc/py-pygments/PLIST cvs rdiff -u -r1.23 -r1.24 pkgsrc/textproc/py-pygments/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1640883908247190 Content-Disposition: inline Content-Length: 8759 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/py-pygments/Makefile diff -u pkgsrc/textproc/py-pygments/Makefile:1.35 pkgsrc/textproc/py-pygments/Makefile:1.36 --- pkgsrc/textproc/py-pygments/Makefile:1.35 Wed Aug 25 07:25:59 2021 +++ pkgsrc/textproc/py-pygments/Makefile Thu Dec 30 17:05:08 2021 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.35 2021/08/25 07:25:59 adam Exp $ +# $NetBSD: Makefile,v 1.36 2021/12/30 17:05:08 adam Exp $ -DISTNAME= Pygments-2.10.0 +DISTNAME= Pygments-2.11.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pygments/} @@ -10,6 +10,7 @@ HOMEPAGE= https://pygments.org/ COMMENT= Python syntax highlighter LICENSE= 2-clause-bsd +TEST_DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test USE_LANGUAGES= # none @@ -21,7 +22,7 @@ post-install: ${MV} pygmentize pygmentize-${PYVERSSUFFIX} || ${TRUE} do-test: - cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/textproc/py-pygments/PLIST diff -u pkgsrc/textproc/py-pygments/PLIST:1.19 pkgsrc/textproc/py-pygments/PLIST:1.20 --- pkgsrc/textproc/py-pygments/PLIST:1.19 Wed Aug 25 07:25:59 2021 +++ pkgsrc/textproc/py-pygments/PLIST Thu Dec 30 17:05:08 2021 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.19 2021/08/25 07:25:59 adam Exp $ +@comment $NetBSD: PLIST,v 1.20 2021/12/30 17:05:08 adam Exp $ bin/pygmentize-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -36,6 +36,9 @@ ${PYSITELIB}/pygments/formatters/_mappin ${PYSITELIB}/pygments/formatters/bbcode.py ${PYSITELIB}/pygments/formatters/bbcode.pyc ${PYSITELIB}/pygments/formatters/bbcode.pyo +${PYSITELIB}/pygments/formatters/groff.py +${PYSITELIB}/pygments/formatters/groff.pyc +${PYSITELIB}/pygments/formatters/groff.pyo ${PYSITELIB}/pygments/formatters/html.py ${PYSITELIB}/pygments/formatters/html.pyc ${PYSITELIB}/pygments/formatters/html.pyo @@ -90,6 +93,9 @@ ${PYSITELIB}/pygments/lexers/_julia_buil ${PYSITELIB}/pygments/lexers/_lasso_builtins.py ${PYSITELIB}/pygments/lexers/_lasso_builtins.pyc ${PYSITELIB}/pygments/lexers/_lasso_builtins.pyo +${PYSITELIB}/pygments/lexers/_lilypond_builtins.py +${PYSITELIB}/pygments/lexers/_lilypond_builtins.pyc +${PYSITELIB}/pygments/lexers/_lilypond_builtins.pyo ${PYSITELIB}/pygments/lexers/_lua_builtins.py ${PYSITELIB}/pygments/lexers/_lua_builtins.pyc ${PYSITELIB}/pygments/lexers/_lua_builtins.pyo @@ -180,6 +186,9 @@ ${PYSITELIB}/pygments/lexers/bare.pyo ${PYSITELIB}/pygments/lexers/basic.py ${PYSITELIB}/pygments/lexers/basic.pyc ${PYSITELIB}/pygments/lexers/basic.pyo +${PYSITELIB}/pygments/lexers/bdd.py +${PYSITELIB}/pygments/lexers/bdd.pyc +${PYSITELIB}/pygments/lexers/bdd.pyo ${PYSITELIB}/pygments/lexers/bibtex.py ${PYSITELIB}/pygments/lexers/bibtex.pyc ${PYSITELIB}/pygments/lexers/bibtex.pyo @@ -258,6 +267,9 @@ ${PYSITELIB}/pygments/lexers/eiffel.pyo ${PYSITELIB}/pygments/lexers/elm.py ${PYSITELIB}/pygments/lexers/elm.pyc ${PYSITELIB}/pygments/lexers/elm.pyo +${PYSITELIB}/pygments/lexers/elpi.py +${PYSITELIB}/pygments/lexers/elpi.pyc +${PYSITELIB}/pygments/lexers/elpi.pyo ${PYSITELIB}/pygments/lexers/email.py ${PYSITELIB}/pygments/lexers/email.pyc ${PYSITELIB}/pygments/lexers/email.pyo @@ -375,6 +387,9 @@ ${PYSITELIB}/pygments/lexers/jvm.pyo ${PYSITELIB}/pygments/lexers/kuin.py ${PYSITELIB}/pygments/lexers/kuin.pyc ${PYSITELIB}/pygments/lexers/kuin.pyo +${PYSITELIB}/pygments/lexers/lilypond.py +${PYSITELIB}/pygments/lexers/lilypond.pyc +${PYSITELIB}/pygments/lexers/lilypond.pyo ${PYSITELIB}/pygments/lexers/lisp.py ${PYSITELIB}/pygments/lexers/lisp.pyc ${PYSITELIB}/pygments/lexers/lisp.pyo @@ -390,6 +405,9 @@ ${PYSITELIB}/pygments/lexers/math.pyo ${PYSITELIB}/pygments/lexers/matlab.py ${PYSITELIB}/pygments/lexers/matlab.pyc ${PYSITELIB}/pygments/lexers/matlab.pyo +${PYSITELIB}/pygments/lexers/maxima.py +${PYSITELIB}/pygments/lexers/maxima.pyc +${PYSITELIB}/pygments/lexers/maxima.pyo ${PYSITELIB}/pygments/lexers/meson.py ${PYSITELIB}/pygments/lexers/meson.pyc ${PYSITELIB}/pygments/lexers/meson.pyo @@ -492,6 +510,9 @@ ${PYSITELIB}/pygments/lexers/resource.py ${PYSITELIB}/pygments/lexers/ride.py ${PYSITELIB}/pygments/lexers/ride.pyc ${PYSITELIB}/pygments/lexers/ride.pyo +${PYSITELIB}/pygments/lexers/rita.py +${PYSITELIB}/pygments/lexers/rita.pyc +${PYSITELIB}/pygments/lexers/rita.pyo ${PYSITELIB}/pygments/lexers/rnc.py ${PYSITELIB}/pygments/lexers/rnc.pyc ${PYSITELIB}/pygments/lexers/rnc.pyo @@ -510,6 +531,9 @@ ${PYSITELIB}/pygments/lexers/rust.pyo ${PYSITELIB}/pygments/lexers/sas.py ${PYSITELIB}/pygments/lexers/sas.pyc ${PYSITELIB}/pygments/lexers/sas.pyo +${PYSITELIB}/pygments/lexers/savi.py +${PYSITELIB}/pygments/lexers/savi.pyc +${PYSITELIB}/pygments/lexers/savi.pyo ${PYSITELIB}/pygments/lexers/scdoc.py ${PYSITELIB}/pygments/lexers/scdoc.pyc ${PYSITELIB}/pygments/lexers/scdoc.pyo @@ -543,12 +567,21 @@ ${PYSITELIB}/pygments/lexers/snobol.pyo ${PYSITELIB}/pygments/lexers/solidity.py ${PYSITELIB}/pygments/lexers/solidity.pyc ${PYSITELIB}/pygments/lexers/solidity.pyo +${PYSITELIB}/pygments/lexers/sophia.py +${PYSITELIB}/pygments/lexers/sophia.pyc +${PYSITELIB}/pygments/lexers/sophia.pyo ${PYSITELIB}/pygments/lexers/special.py ${PYSITELIB}/pygments/lexers/special.pyc ${PYSITELIB}/pygments/lexers/special.pyo +${PYSITELIB}/pygments/lexers/spice.py +${PYSITELIB}/pygments/lexers/spice.pyc +${PYSITELIB}/pygments/lexers/spice.pyo ${PYSITELIB}/pygments/lexers/sql.py ${PYSITELIB}/pygments/lexers/sql.pyc ${PYSITELIB}/pygments/lexers/sql.pyo +${PYSITELIB}/pygments/lexers/srcinfo.py +${PYSITELIB}/pygments/lexers/srcinfo.pyc +${PYSITELIB}/pygments/lexers/srcinfo.pyo ${PYSITELIB}/pygments/lexers/stata.py ${PYSITELIB}/pygments/lexers/stata.pyc ${PYSITELIB}/pygments/lexers/stata.pyo @@ -684,12 +717,18 @@ ${PYSITELIB}/pygments/styles/colorful.py ${PYSITELIB}/pygments/styles/default.py ${PYSITELIB}/pygments/styles/default.pyc ${PYSITELIB}/pygments/styles/default.pyo +${PYSITELIB}/pygments/styles/dracula.py +${PYSITELIB}/pygments/styles/dracula.pyc +${PYSITELIB}/pygments/styles/dracula.pyo ${PYSITELIB}/pygments/styles/emacs.py ${PYSITELIB}/pygments/styles/emacs.pyc ${PYSITELIB}/pygments/styles/emacs.pyo ${PYSITELIB}/pygments/styles/friendly.py ${PYSITELIB}/pygments/styles/friendly.pyc ${PYSITELIB}/pygments/styles/friendly.pyo +${PYSITELIB}/pygments/styles/friendly_grayscale.py +${PYSITELIB}/pygments/styles/friendly_grayscale.pyc +${PYSITELIB}/pygments/styles/friendly_grayscale.pyo ${PYSITELIB}/pygments/styles/fruity.py ${PYSITELIB}/pygments/styles/fruity.pyc ${PYSITELIB}/pygments/styles/fruity.pyo @@ -702,6 +741,9 @@ ${PYSITELIB}/pygments/styles/igor.pyo ${PYSITELIB}/pygments/styles/inkpot.py ${PYSITELIB}/pygments/styles/inkpot.pyc ${PYSITELIB}/pygments/styles/inkpot.pyo +${PYSITELIB}/pygments/styles/lilypond.py +${PYSITELIB}/pygments/styles/lilypond.pyc +${PYSITELIB}/pygments/styles/lilypond.pyo ${PYSITELIB}/pygments/styles/lovelace.py ${PYSITELIB}/pygments/styles/lovelace.pyc ${PYSITELIB}/pygments/styles/lovelace.pyo @@ -720,6 +762,9 @@ ${PYSITELIB}/pygments/styles/murphy.pyo ${PYSITELIB}/pygments/styles/native.py ${PYSITELIB}/pygments/styles/native.pyc ${PYSITELIB}/pygments/styles/native.pyo +${PYSITELIB}/pygments/styles/onedark.py +${PYSITELIB}/pygments/styles/onedark.pyc +${PYSITELIB}/pygments/styles/onedark.pyo ${PYSITELIB}/pygments/styles/paraiso_dark.py ${PYSITELIB}/pygments/styles/paraiso_dark.pyc ${PYSITELIB}/pygments/styles/paraiso_dark.pyo Index: pkgsrc/textproc/py-pygments/distinfo diff -u pkgsrc/textproc/py-pygments/distinfo:1.23 pkgsrc/textproc/py-pygments/distinfo:1.24 --- pkgsrc/textproc/py-pygments/distinfo:1.23 Tue Oct 26 11:23:11 2021 +++ pkgsrc/textproc/py-pygments/distinfo Thu Dec 30 17:05:08 2021 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.23 2021/10/26 11:23:11 nia Exp $ +$NetBSD: distinfo,v 1.24 2021/12/30 17:05:08 adam Exp $ -BLAKE2s (Pygments-2.10.0.tar.gz) = fff3dc97c2c5d0536ee50a71e9d38f4999c4147e9fe7dfa35d06347700584cba -SHA512 (Pygments-2.10.0.tar.gz) = 28fdf35e333717795f199e0ef936d6df16ac0752324839ac36cabd2f9f6759a57663527d37f1c2f470258d63c3cf190f6dd4b631b21c849fc76575036fbdae12 -Size (Pygments-2.10.0.tar.gz) = 4052321 bytes +BLAKE2s (Pygments-2.11.0.tar.gz) = 1f312a6a0fad414a90ce30e85f39ba8947eda0c02b5adcb9b0d5f842290e632d +SHA512 (Pygments-2.11.0.tar.gz) = 761b722cdcbc41bc730843e8120ae3c0d634db9918c1c1870d89b79002b55f245c896ed9301c44b665e573a8584d5f8504623fe9d4c63820b57a2cfcae576b33 +Size (Pygments-2.11.0.tar.gz) = 4157814 bytes --_----------=_1640883908247190--