head 1.51; access; symbols pkgsrc-2023Q4:1.51.0.2 pkgsrc-2023Q4-base:1.51 pkgsrc-2023Q3:1.48.0.2 pkgsrc-2023Q3-base:1.48 pkgsrc-2023Q2:1.47.0.2 pkgsrc-2023Q2-base:1.47 pkgsrc-2023Q1:1.45.0.2 pkgsrc-2023Q1-base:1.45 pkgsrc-2022Q4:1.44.0.2 pkgsrc-2022Q4-base:1.44 pkgsrc-2022Q3:1.43.0.2 pkgsrc-2022Q3-base:1.43 pkgsrc-2022Q2:1.40.0.2 pkgsrc-2022Q2-base:1.40 pkgsrc-2022Q1:1.39.0.2 pkgsrc-2022Q1-base:1.39 pkgsrc-2021Q4:1.35.0.4 pkgsrc-2021Q4-base:1.35 pkgsrc-2021Q3:1.35.0.2 pkgsrc-2021Q3-base:1.35 pkgsrc-2021Q2:1.34.0.2 pkgsrc-2021Q2-base:1.34 pkgsrc-2021Q1:1.32.0.8 pkgsrc-2021Q1-base:1.32 pkgsrc-2020Q4:1.32.0.6 pkgsrc-2020Q4-base:1.32 pkgsrc-2020Q3:1.32.0.4 pkgsrc-2020Q3-base:1.32 pkgsrc-2020Q2:1.32.0.2 pkgsrc-2020Q2-base:1.32 pkgsrc-2020Q1:1.31.0.2 pkgsrc-2020Q1-base:1.31 pkgsrc-2019Q4:1.29.0.6 pkgsrc-2019Q4-base:1.29 pkgsrc-2019Q3:1.29.0.2 pkgsrc-2019Q3-base:1.29 pkgsrc-2019Q2:1.28.0.6 pkgsrc-2019Q2-base:1.28 pkgsrc-2019Q1:1.28.0.4 pkgsrc-2019Q1-base:1.28 pkgsrc-2018Q4:1.28.0.2 pkgsrc-2018Q4-base:1.28 pkgsrc-2018Q3:1.27.0.16 pkgsrc-2018Q3-base:1.27 pkgsrc-2018Q2:1.27.0.14 pkgsrc-2018Q2-base:1.27 pkgsrc-2018Q1:1.27.0.12 pkgsrc-2018Q1-base:1.27 pkgsrc-2017Q4:1.27.0.10 pkgsrc-2017Q4-base:1.27 pkgsrc-2017Q3:1.27.0.8 pkgsrc-2017Q3-base:1.27 pkgsrc-2017Q2:1.27.0.4 pkgsrc-2017Q2-base:1.27 pkgsrc-2017Q1:1.27.0.2 pkgsrc-2017Q1-base:1.27 pkgsrc-2016Q4:1.25.0.2 pkgsrc-2016Q4-base:1.25 pkgsrc-2016Q3:1.24.0.2 pkgsrc-2016Q3-base:1.24 pkgsrc-2016Q2:1.23.0.2 pkgsrc-2016Q2-base:1.23 pkgsrc-2016Q1:1.22.0.2 pkgsrc-2016Q1-base:1.22 pkgsrc-2015Q4:1.20.0.6 pkgsrc-2015Q4-base:1.20 pkgsrc-2015Q3:1.20.0.4 pkgsrc-2015Q3-base:1.20 pkgsrc-2015Q2:1.20.0.2 pkgsrc-2015Q2-base:1.20 pkgsrc-2015Q1:1.19.0.2 pkgsrc-2015Q1-base:1.19 pkgsrc-2014Q4:1.16.0.2 pkgsrc-2014Q4-base:1.16 pkgsrc-2014Q3:1.14.0.6 pkgsrc-2014Q3-base:1.14 pkgsrc-2014Q2:1.14.0.4 pkgsrc-2014Q2-base:1.14 pkgsrc-2014Q1:1.14.0.2 pkgsrc-2014Q1-base:1.14 pkgsrc-2013Q4:1.13.0.8 pkgsrc-2013Q4-base:1.13 pkgsrc-2013Q3:1.13.0.6 pkgsrc-2013Q3-base:1.13 pkgsrc-2013Q2:1.13.0.4 pkgsrc-2013Q2-base:1.13 pkgsrc-2013Q1:1.13.0.2 pkgsrc-2013Q1-base:1.13 pkgsrc-2012Q4:1.12.0.2 pkgsrc-2012Q4-base:1.12 pkgsrc-2012Q3:1.10.0.4 pkgsrc-2012Q3-base:1.10 pkgsrc-2012Q2:1.10.0.2 pkgsrc-2012Q2-base:1.10 pkgsrc-2012Q1:1.9.0.2 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.8.0.8 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.6 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.4 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.2 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.7.0.8 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.6 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.4 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.2 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.5.0.6 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.4 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.2 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.3.0.4 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.2 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.2.0.4 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.2 cube-native-xorg-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.51 date 2023.11.22.10.07.37; author adam; state Exp; branches; next 1.50; commitid v8L17KzEv1k8GANE; 1.50 date 2023.11.19.16.17.50; author wiz; state Exp; branches; next 1.49; commitid tQuSuDWMs7LZOeNE; 1.49 date 2023.10.28.19.57.19; author wiz; state Exp; branches; next 1.48; commitid jP8MYROLWZ3yJqKE; 1.48 date 2023.08.06.20.23.35; author adam; state Exp; branches; next 1.47; commitid I9hCMNRHf2kAyLzE; 1.47 date 2023.04.19.05.04.48; author adam; state Exp; branches; next 1.46; commitid YUE228eTJIIGYFlE; 1.46 date 2023.04.17.06.59.57; author adam; state Exp; branches; next 1.45; commitid vVg2NSSkDo19GqlE; 1.45 date 2023.01.24.12.50.34; author adam; state Exp; branches; next 1.44; commitid Ff5CP6pxGxXKhNaE; 1.44 date 2022.11.28.20.54.40; author abs; state Exp; branches; next 1.43; commitid W8Wb1RJm3fONMv3E; 1.43 date 2022.09.05.07.38.41; author martin; state Exp; branches; next 1.42; commitid 1pizRwOtCRsE5ESD; 1.42 date 2022.09.04.05.48.05; author martin; state Exp; branches; next 1.41; commitid ObMqOA48kf4HvvSD; 1.41 date 2022.08.16.14.01.18; author adam; state Exp; branches; next 1.40; commitid 8CWiSg2Uya6UQ6QD; 1.40 date 2022.04.26.10.53.29; author adam; state Exp; branches; next 1.39; commitid KZJ4PXLaJ82ApHBD; 1.39 date 2022.01.07.12.20.37; author adam; state Exp; branches; next 1.38; commitid EFreRlSzywHQoHnD; 1.38 date 2022.01.05.15.41.26; author wiz; state Exp; branches; next 1.37; commitid FQ77UruBIUsgzsnD; 1.37 date 2022.01.04.20.55.03; author wiz; state Exp; branches; next 1.36; commitid CYyhdK9qtoffkmnD; 1.36 date 2021.12.30.17.05.08; author adam; state Exp; branches; next 1.35; commitid RLQtWoivinBieHmD; 1.35 date 2021.08.25.07.25.59; author adam; state Exp; branches; next 1.34; commitid kuxyf9b7YV1O6k6D; 1.34 date 2021.05.06.07.40.56; author adam; state Exp; branches; next 1.33; commitid aHZT6WTtD653L3SC; 1.33 date 2021.04.06.15.27.29; author adam; state Exp; branches; next 1.32; commitid 5VG54m4wmn7PifOC; 1.32 date 2020.05.17.21.38.46; author adam; state Exp; branches; next 1.31; commitid ATHktg7q5XTbMD8C; 1.31 date 2020.03.09.18.34.23; author adam; state Exp; branches; next 1.30; commitid 5s6XtKlUZoP1YKZB; 1.30 date 2020.01.26.17.32.17; author rillig; state Exp; branches; next 1.29; commitid 4fBBvoSLJaGd0eUB; 1.29 date 2019.08.03.12.28.49; author adam; state Exp; branches; next 1.28; commitid pZXfmgaeypQ6ZzxB; 1.28 date 2018.12.16.17.56.54; author adam; state Exp; branches; next 1.27; commitid n81kNu5o66q7c34B; 1.27 date 2017.02.18.13.09.11; author adam; state Exp; branches; next 1.26; commitid 7zgkI97FmkEz0rGz; 1.26 date 2017.01.03.13.23.04; author jperkin; state Exp; branches; next 1.25; commitid C9GLdDCVrmakywAz; 1.25 date 2016.12.15.09.42.49; author adam; state Exp; branches; next 1.24; commitid 9sj13rNBjDYFX3yz; 1.24 date 2016.08.28.15.48.35; author wiz; state Exp; branches; next 1.23; commitid rTBn3EBawNhbu5kz; 1.23 date 2016.06.08.17.43.40; author wiz; state Exp; branches; next 1.22; commitid z4yEulWexjFaJG9z; 1.22 date 2016.01.17.16.03.13; author wiz; state Exp; branches; next 1.21; commitid yhS12irv1IwLLiRy; 1.21 date 2016.01.17.14.22.11; author wiz; state Exp; branches; next 1.20; commitid ez7rdlfxXgB3diRy; 1.20 date 2015.05.22.08.18.01; author adam; state Exp; branches 1.20.6.1; next 1.19; commitid 0XpSEe9qEXQqUpmy; 1.19 date 2015.03.15.20.13.24; author hiramatsu; state Exp; branches; next 1.18; commitid UNMLkIxlnpBs3Kdy; 1.18 date 2015.01.23.07.07.42; author obache; state Exp; branches; next 1.17; commitid tUH2QHyPys7ll77y; 1.17 date 2015.01.01.11.36.07; author wiz; state Exp; branches; next 1.16; commitid exLp27g1XBggxj4y; 1.16 date 2014.11.23.15.08.11; author wiz; state Exp; branches; next 1.15; commitid hhL1pFBBNzuYXjZx; 1.15 date 2014.11.19.12.57.55; author wiz; state Exp; branches; next 1.14; commitid I9bPhdnMIbwfnNYx; 1.14 date 2014.01.25.10.30.25; author wiz; state Exp; branches; next 1.13; commitid VOWgk3vYhVXj8umx; 1.13 date 2013.03.03.07.31.30; author obache; state Exp; branches; next 1.12; 1.12 date 2012.10.25.06.56.51; author asau; state Exp; branches; next 1.11; 1.11 date 2012.10.17.22.16.36; author wiz; state Exp; branches; next 1.10; 1.10 date 2012.04.17.17.35.25; author drochner; state Exp; branches; next 1.9; 1.9 date 2012.02.04.12.35.12; author obache; state Exp; branches; next 1.8; 1.8 date 2011.02.28.08.54.04; author obache; state Exp; branches; next 1.7; 1.7 date 2010.03.10.14.06.55; author obache; state Exp; branches; next 1.6; 1.6 date 2010.02.11.12.57.38; author joerg; state Exp; branches; next 1.5; 1.5 date 2009.05.19.08.59.36; author wiz; state Exp; branches; next 1.4; 1.4 date 2009.05.12.13.45.01; author obache; state Exp; branches; next 1.3; 1.3 date 2008.11.18.07.29.11; author obache; state Exp; branches; next 1.2; 1.2 date 2008.09.12.05.32.38; author epg; state Exp; branches; next 1.1; 1.1 date 2008.08.01.08.31.38; author obache; state Exp; branches 1.1.1.1; next ; 1.20.6.1 date 2016.01.19.19.05.21; author bsiegert; state Exp; branches; next ; commitid onVDgWPmraclIzRy; 1.1.1.1 date 2008.08.01.08.31.38; author obache; state Exp; branches; next ; desc @@ 1.51 log @py-pygments: updated to 2.17.2 Version 2.17.2 * Fix a packaging issue on macOS @ text @# $NetBSD: Makefile,v 1.50 2023/11/19 16:17:50 wiz Exp $ DISTNAME= pygments-2.17.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pygments/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://pygments.org/ COMMENT= Python syntax highlighter LICENSE= 2-clause-bsd TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling TEST_DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml TEST_DEPENDS+= ${PYPKGPREFIX}-wcag-contrast-ratio-[0-9]*:../../graphics/py-wcag-contrast-ratio USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} pygmentize pygmentize-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/wheel.mk" .include "../../mk/bsd.pkg.mk" @ 1.50 log @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) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2023/10/28 19:57:19 wiz Exp $ d3 1 a3 1 DISTNAME= pygments-2.17.1 @ 1.49 log @python/wheel.mk: simplify a lot, and switch to 'installer' for installation This follows the recommended bootstrap method (flit_core, build, installer). However, installer installs different files than pip, so update PLISTs for all packages using wheel.mk and bump their PKGREVISIONs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2023/08/06 20:23:35 adam Exp $ d3 2 a4 3 DISTNAME= Pygments-2.16.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} PKGREVISION= 1 d6 1 a6 1 MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pygments/} d13 1 a13 2 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel a14 1 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test a24 3 do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests @ 1.48 log @py-pygments: updated to 2.16.1 Version 2.16.1 -------------- - Fix ``native`` style missing from style list Version 2.16.0 -------------- (released August 6th, 2023) - New lexers: * ASN.1 * Blueprint * BQN * DNS zone files * GraphQL * Linux desktop files (following the specification of the Freedesktop group, formerly known as XDG) * NVIDIA PTX * OpenSCAD * systemd * TLS presentation language * Verifpal * YARA - Updated lexers: * ASC: Add ``application/pem-certificate-chain`` mimetype * C/C++: Refine keyword lists * Carbon: Fix long processing times on invalid input, fix number lexing * Elpi: Handle quotations * Go: Support additional built-ins * HTTP: Support empty headers also recognize responses in ``analyse_text`` implementation highlight URL encoded data * Igor Pro: Update to Igor Pro 9 * lean: Recognize expressions nested within attributes * Macaulay2: Update builtins * Markdown: Allow extra characters after language name in code blocks * NestedText: Update to version 3 * scdoc: Improve language guessing implementation * Spice: Update to latest version * Transact SQL: Add Pre-sorted Group keyword * Uxntal: Update for current runes * Wikitext: Fix templates in wiki links; fix a language converter false positive; add bold italic markup - Add ``Generic.EmphStrong`` token for bold italic markup - Add Lightbulb style - Improve contrast in Monokai style - Add documentation how to create terminal code highlighting commands - Add support for loading TrueType fonts to the ``ImageFormatter`` @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2023/04/19 05:04:48 adam Exp $ d5 1 d14 1 @ 1.47 log @py-pygments: updated to 2.15.1 Version 2.15.1 -------------- - Updated lexers: * Java properties: Fix catastrophic backtracking - Fix Python console traceback lexing being too strict and sometimes reordering output @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2023/04/17 06:59:57 adam Exp $ d3 1 a3 1 DISTNAME= Pygments-2.15.1 @ 1.46 log @py-pygments: updated to 2.15.0 Version 2.15.0 -------------- - Added lexers: * Carbon * Dax * MediaWiki Wikitext * PostgreSQL Explain * WGSL (WebGPU Shading Language) * X++ - Updated lexers: * AMDGPU: Add support for ``scratch_`` instructions, the ``attr*.*`` argument, as well as the ``off`` modifier * APDL: Miscellaneous improvements * bash/tcsh: - Move ``break`` to keywords - Improve bash math expansion lexing * Chapel: Support attributes * CMake: Implement bracket style comments * CSS: Improve lexing of numbers inside function calls * diff: Support normal diff syntax, as opposed to unified diff syntax * GLSL, HLSL: - Support line continuations in preprocessor code - Improve preprocessor directive handling * LilyPond: minor update of builtins * PHP: support attributes parameters * Python: - Add missing builtins - Fix inconsistent lexing of ``None`` * Rebol/Red: Don't require script headers * Spice: Update keywords * SQL+Jinja (``analyse_text`` method): Fix catastrophic backtracking * Terraform: Add ``hcl`` alias - Declare support for Python 3.11 and drop support for Python 3.6 - Update ``native`` style to improve contrast - Update `github-dark`` style to match latest Primer style - Revert a change that made guessing lexers based on file names slower on Python 3.10 and older - Fix some places where a locale-dependent encoding could unintentionally be used instead of UTF-8 - Fix Python traceback handling - Groff formatter: sort color definitions for reproducibility - Move project metadata to ``pyproject.toml``, remove ``setup.py`` and ``setup.cfg`` - The top-level ``Makefile`` has been removed. Instead, all shortcuts for developing are now defined and run through tox. The ``doc`` folder still contains a ``Makefile`` as an alternative to ``tox -e doc``. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2023/01/24 12:50:34 adam Exp $ d3 1 a3 1 DISTNAME= Pygments-2.15.0 @ 1.45 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2022/11/28 20:54:40 abs Exp $ d3 1 a3 1 DISTNAME= Pygments-2.14.0 d13 1 a19 2 USE_PKG_RESOURCES= yes d29 1 a29 1 .include "../../lang/python/egg.mk" @ 1.44 log @Fix _PYTHON_VERSION check to avoid error Replace .if ${_PYTHON_VERSION} < 38 with .if ${_PYTHON_VERSION} == 37 as otherwise will fail when ${_PYTHON_VERSION} is "none". Triggered for "make clean-depends" for a package with PYTHON_VERSIONS_ACCEPTED=27 which depends on textproc/py-pygments @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2022/09/05 07:38:41 martin Exp $ d3 1 a3 1 DISTNAME= Pygments-2.13.0 d19 2 a22 7 .include "../../lang/python/pyversion.mk" .if ${_PYTHON_VERSION} == 37 DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata .endif USE_PKG_RESOURCES= yes @ 1.43 log @Revert previous - this seems to be only papering over a not yet discovered bug somewhere else that (sometimes) makes _PYTHON_VERSION non-numerical. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2022/09/04 05:48:05 martin Exp $ d22 1 a22 1 .if ${_PYTHON_VERSION} < 38 @ 1.42 log @Comment out broken comparision .if ${_PYTHON_VERSION} < 38 make[7]: "/usr/pkgsrc/textproc/py-pygments/Makefile" line 22: String comparison operator must be either == or != @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2022/08/16 14:01:18 adam Exp $ d21 4 a24 5 # XXXX the < comparision does not work! # .include "../../lang/python/pyversion.mk" # .if ${_PYTHON_VERSION} < 38 # DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata # .endif @ 1.41 log @py-pygments: updated to 2.13.0 Version 2.13.0 -------------- - Added lexers: * COMAL-80 * JMESPath * Sql+Jinja - Updated lexers: * Ada: support Ada 2022 because it disturbs lexing of aspects * Agda: allow straight quotes in module names * C family (C, C++ and many others): allow comments between elements of function headers, e.g. between the arguments and the opening brace for the body * C++: Resolve several cases of ``Error`` tokens * Coq: add some common keywords, improve recognition of ``Set`` and qualified identifiers * F*: Allow C-style comments anywhere in a line * Fortran: fix catastrophic backtracking with backslashes in strings * Go: add support for generics * Inform: update for version 6.40 * Isabelle: recognize cartouches * Java: support multiline strings aka. text blocks * Kotlin: add ``value`` modifier * LilyPond: add some missing builtins * Macaulay2: update builtins * Matlab session: fix traceback when a line continuation ellipsis appears in the output * .NET: add aliases for LibreOffice Basic, OpenOfficeBasic and StarOffice Basic * Nim: use ``Name.Builtin`` instead of ``Keyword.Type`` * PHP: fix `\"$var\"` inside strings * Python: only recognize ``\N``, ``\u`` and ``\U`` escape sequences in string literals, but not in bytes literals where they are not supported * Tcl: support ``${name}`` variables * Terraform: accept leading whitespace for `<<` heredoc delimiters * Teraterm: Various improvements * Spice: add support for the recently added features including more builtin functions and bin, oct, hex number formats - Added styles: * GitHub dark * StarOffice * Nord (`nord` and `nord-darker`) - Pygments now tries to use the ``importlib.metadata`` module to discover plugins instead of the slower ``pkg_resources`` particular, this largely speeds up the ``pygmentize`` script when the lexer is not specified. ``importlib.metadata`` is only available in the Python standard library since Python 3.8. For older versions, there exists an ``importlib_metadata`` backport on PyPI. For this reason, Pygments now defines a packaging extra ``plugins``, which adds a requirement on ``importlib_metadata`` if the Python version is older than 3.8. Thus, in order to install Pygments with optimal plugin support even for old Python versions, you should do:: pip install pygments[plugins] Pygments still falls back on ``pkg_resources`` if neither ``importlib.metadata`` nor ``importlib_metadata`` is found, but it will be slower. - Silently ignore ``BrokenPipeError`` in the command-line interface - The ``HtmlFormatter`` now uses the ``linespans`` attribute for ``anchorlinenos`` if the ``lineanchors`` attribute is unset - The ``highlight``, ``lex`` and ``format`` functions no longer wrongly report "argument must be a lexer/formatter instance, not a class" in some cases where this is not the actual problem - Fix warnings in doc build - The ``codetagify`` filter now recognizes ``FIXME`` tags by default - The ``pygmentize`` command now recognizes if the ``COLORTERM`` environment variable is set to a value indicating that true-color support is available. In that case, it uses the ``TerminalTrueColorFormatter`` by default - Remove redundant caches for filename patterns - Use new non-deprecated Pillow API for text bounding box in ``ImageFormatter`` - Remove ``default_style`` - Stop treating ``DeprecationWarnings`` as errors in the unit tests @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2022/04/26 10:53:29 adam Exp $ d21 5 a25 4 .include "../../lang/python/pyversion.mk" .if ${_PYTHON_VERSION} < 38 DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata .endif @ 1.40 log @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 ```` itself is now wrapped with a ``
`` tag instead of placing it inside the ``
` is emitted before the table content which contains a single `
`` cell @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2022/01/07 12:20:37 adam Exp $ d3 1 a3 1 DISTNAME= Pygments-2.12.0 d21 5 @ 1.39 log @py-pygments: updated to 2.11.2 Version 2.11.2 -------------- - Updated lexers: * C-family: Fix incorrect handling of labels * Java: Fixed an issue with ``record`` keywords result in ``Error`` tokens in some cases - Fix links to line numbers not working correctly - Remove ``underline`` from ``Whitespace`` style in the ``Tango`` theme - Fix ``IRC`` and ``Terminal256`` formatters not backtracking correctly for custom token types, resulting in some unstyled tokens Version 2.11.1 -------------- - Updated lexers: * C-family: Handle return types with multiple tokens (e.g. ``unsigned int``) * JSON: Fix a regression which caused whitespace before ``:`` to result in ``Error`` tokens * SPICE: Various improvements @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2022/01/05 15:41:26 wiz Exp $ d3 1 a3 1 DISTNAME= Pygments-2.11.2 d15 1 @ 1.38 log @python: egg.mk: add USE_PKG_RESOURCES flag This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2022/01/04 20:55:03 wiz Exp $ d3 1 a3 1 DISTNAME= Pygments-2.11.0 a4 1 PKGREVISION= 2 @ 1.37 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2021/12/30 17:05:08 adam Exp $ d5 1 a5 1 PKGREVISION= 1 d21 2 @ 1.36 log @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`` @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2021/08/25 07:25:59 adam Exp $ d5 1 @ 1.35 log @py-pygments: updated to 2.10.0 Version 2.10.0 - Added lexers: * ASC armored files * GSQL * Javascript REPL * procfile * Smithy - Updated lexers: * C-family: Fix preprocessor token issues * C# * CSound * Fennel * JavaScript * LLVM * Rust - Fix lexing of "break" and "continue" - Improve attribute handling * Scala: Add support for the ``\`` operator * Swift * Tcl: Allow ``,`` and ``@@`` in strings - Fix assert statements in TNT lexer. - Token types across all lexers have been unified (using the most common token type name) - Improve Jasmin min score analysis - Add new alias for Go files - Fix multi-line console highlighting - Add a new trivial lexer which outputs everything as `Text.Generic.Output` - Use the ``.ini`` lexer for ``systemd`` files - Fix a ``FutureWarning`` related to ``words()`` - ``pwsh`` is now recognized as an alias for PowerShell @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2021/05/06 07:40:56 adam Exp $ d3 1 a3 1 DISTNAME= Pygments-2.10.0 d13 1 d25 1 a25 1 cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests @ 1.34 log @py-pygments: updated to 2.9.0 Version 2.9.0 ------------- - Added lexers: * APDL, gcode * Kuin * NestedText * OMG IDL * TEAL * ThingsDB * WebAssembly - Updated lexers: * AMDGPU * APL * C/C++: Improve namespace handling * Chapel * Coq * Cython * Groovy * JavaScript * Julia * Octave: Allow multiline and block-percent comments * PowerShell: Improve lexing of ``:`` * PromQL * Python: Improve float parsing * Rust * Scala: Rewrite to support Scala3 * Swift * Terraform: Support 0.14 syntax * Velocity: Detect multi-line patterns - Add Pango formatter - Autopygmentize uses ``file`` first instead of ``pygments -N`` - Fix links - Fix issue with LaTeX formatter and ``minted`` - Improve alias order - Improve line number colors - Fix CTag related issue - Recognize ``.leex`` as Elixir templates - Updated `filename` handling in HTML formatter if `linenos='table'` * Previously the filename would be emitted within the `` holding the code, but outside the `
`. This would invariably break the alignment
    with line numbers.
  * Now if `filename` is specified, a separate `
` with `colspan=2` so it spans both the line number and code columns. The filename is still within `...` so any existing styles should still apply, although the CSS path may need to change. * For an example of the new output format see `table_cls_step_1_start_1_special_0_noanchor_filename.html` in the `tests/html_linenos_expected_output/` directory. * For more details and discussion see the issue https://github.com/pygments/pygments/issues/1757 - Added styles: * Gruvbox light+dark @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2021/04/06 15:27:29 adam Exp $ d3 1 a3 1 DISTNAME= Pygments-2.9.0 d13 1 a13 1 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../textproc/py-test @ 1.33 log @py-pygments: updated to 2.8.1 Version 2.8.1 ------------- (released March 7, 2021) - Fix issue with LaTeX formatter and ``minted`` Version 2.8.0 ------------- (released February 14, 2021) - Added lexers: * AMDGPU * CDDL * Futhark * Graphviz/DOT - Updated lexers: * AutoIt: Support single quoted strings * C/C++ & related: Fix mishandling '*/' * Cocoa: Add builtin types * Console * Eiffel: Fix performance issues * Fortran: Improve combined keyword detection * J: Fix operator ``?`` lexing * JavaScript/TypeScript: Fix escapes in backtick strings * Kotlin: Improve string interpolation, modifier keyword handling, and various small issues * LESS: Support single-line comments * Matlab: - Add support for class properties - Update builtin functions - Various cleanups * Python: Improve handling of raw f-strings * Ruby: Better method name handling * Stata: Updated keywords - Added styles: * Material * Zenburn - The `pygmentize` script now uses `argparse`, all options should work as before - Add `pygmentize -C` option to guess a lexer from content - With this release, Pygments moves to a new internal testing system See ``Contributing.md`` for details. The main advantage of this new change is a much better test coverage of all existing example lexers. It also makes it much easier to add new test snippets. - Make guessing prefer Python 3 lexer - Do not guess MIME or SQL without reason - Changed setuptools to use a declarative config through ``setup.cfg``. Building Pygments now requires setuptools 39.2+. - Add markdown to MarkdownLexer aliases - Change line number handling * In ```` based output, the ``td.linenos`` element will have either a ``normal`` or ``special`` class attached. Previously, only ``special`` line numbers got a class. This prevents styles from getting applied twice - once via ``
``, once via ````. This also means
    that ``td.linenos pre`` is no longer styled, instead, use
    ``td.linenos .normal`` and ``td.linenos .special``.
  * In the "inline" style, the DOM element order was changed. The line number
    is added first, then the line is wrapped is wrapped by the highlighter.
    This fixes lines not being fully highlighted.
  * The visual output for inline and non-inline line numbers & highlighting,
    as well as class-based and inline styling is now consistent.
  * Line number styles are set to ``background-color: transparent`` and
    ``color: inherit`` by default. This works much better with dark styles
    which don't have colors set for line numbers.

- Remove "raw" alias from RawTokenLexer, so that it cannot be
  selected by alias.
- Fix RawTokenLexer to work in Python 3 and handle exceptions.
- Add prompt colors to the Solarized theme
- Image formatter supports background colors now
- Add support for anchors in conjunction with inline line numbers
- Modernize the codebase using ``pyupgrade``
- Add support for line numbers to the ``terminal256`` formatter
- Improve ``analyze_text`` logic for ``ECL``
- Improve ``analyze_text`` logic for ``CBM Basic V2``
- Improve LaTeX formatter

Version 2.7.4
-------------
(released January 12, 2021)

- Updated lexers:

  - Apache configurations: Improve handling of malformed tags
  - CSS: Add support for variables
  - Crystal
  - Coq
  - Fortran: Add missing keywords
  - Ini
  - JavaScript and variants
  - Markdown
  - Shell

    - Lex trailing whitespace as part of the prompt
    - Add missing ``in`` keyword

  - SQL - Fix keywords
  - Typescript: Fix incorrect punctuation handling

- Fix infinite loop in SML lexer
- Fix backtracking string regexes in JavaScript/TypeScript, Modula2
  and many other lexers
- Limit recursion with nesting Ruby heredocs
- Fix a few inefficient regexes for guessing lexers
- Fix the raw token lexer handling of Unicode
- Revert a private API change in the HTML formatter
  please note that private APIs remain subject to change!
- Fix several exponential/cubic-complexity regexes found by
  Ben Caller/Doyensec
- Fix incorrect MATLAB example

Thanks to Google's OSS-Fuzz project for finding many of these bugs.

Version 2.7.3
-------------
(released December 6, 2020)

- Updated lexers:

  * Ada
  * HTML
  * Java
  * JavaScript
  * JSON
  * Lean
  * LLVM
  * Mason
  * MySQL
  * Rust
  * Turtle

- Deprecated JsonBareObjectLexer, which is now identical to JsonLexer
- The ``ImgFormatter`` now calculates the exact character width, which fixes some issues with overlapping text
- Documentation fixes
- Fixed duplicated Juttle language alias
- Added support for Kotlin scripts
- Removed CSS rule which forced margin to 0


Version 2.7.2
-------------
(released October 24, 2020)

- Updated lexers:

  * Latex
  * LLVM
  * SPARQL

- Fix Python console/traceback lexer problems with custom exceptions without messages
- Allow loading ttc fonts on Mac/image formatter
- Improve ``analyze_text`` across a variety of lexers
- Remove CSS rule which forced the vertical padding to 0 for line numbers
- Fix ``TNTLexer`` crashing on unexpected EOL
- ``regexlint`` can be now run locally as part of ``tox`` tests
- Fix typos
- Add Python 3.9 as a supported version


Version 2.7.1
-------------
(released September 16, 2020)

- Fixed a regression in the JSON lexer


Version 2.7.0
-------------
(released September 12, 2020)

- Added lexers:

  * Arrow
  * BARE
  * Devicetree
  * F*
  * GDScript
  * Pointless
  * PromQL
  * PsySH
  * Singularity
  * TiddlyWiki5
  * TNT
  * YANG

- Updated lexers:

  * APL
  * C++
  * Chapel
  * CMake
  * CSound
  * Cython
  * Dart
  * Fennel
  * Fortran
  * GAS
  * HTTP
  * Inform 6
  * Javascript
  * JSON
  * Lean
  * Matlab
  * Markdown
  * MySQL
  * NASM
  * Nim
  * PostgreSQL
  * PowerShell
  * Protobuf
  * Robot
  * SQL
  * SystemVerilog
  * TeraTerm
  * XML

- Added a new filter for math symbols
- The Kconfig lexer will match Kconfig derivative names now
- Improved HTML formatter output
- ``.markdown`` is now recognized as an extension for Markdown files
- Fixed line number colors for Solarized
- Improvements to exception handling
- Improvements to tests
- Various code cleanups


Version 2.6.1
-------------
(released March 8, 2020)

- This release fixes a packaging issue. No functional changes.


Version 2.6
-----------
(released March 8, 2020)

- Running Pygments on Python 2.x is no longer supported.
  (The Python 2 lexer still exists.)

- Added lexers:

  * Linux kernel logs
  * LLVM MIR
  * MiniScript
  * Mosel
  * Parsing Expression Grammar
  * ReasonML
  * Ride
  * Sieve
  * USD
  * WebIDL

- Updated lexers:

  * Apache2
  * Chapel
  * CSound
  * D
  * Haskell
  * Idris
  * Perl6/Raku lexer
  * Python3
  * Rust: Updated lexer to cover more builtins (mostly macros) and miscellaneous
    new syntax
  * SQL: Add temporal support keywords

- The 256-color/true-color terminal formatters now support the italic attribute
  in styles
- Support HTTP 2/3 header
- Support missing reason in HTTP header
- Boogie/Silver: support line continuations and triggers, move contract keywords
  to separate category
- GAS: support C-style comments
- Fix names in S lexer
- Fix numeric literals in Ada
- Recognize ``.mjs`` files as Javascript
- Recognize ``.eex`` files as Elixir
- Fix ``re.MULTILINE`` usage
- Recognize ``pipenv`` and ``poetry`` dependency & lock files
- Improve font search on Windows
- Remove unused script block
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2020/05/17 21:38:46 adam Exp $
d3 1
a3 1
DISTNAME=	Pygments-2.8.1
@


1.32
log
@pytest from versioned depends
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2020/03/09 18:34:23 adam Exp $
d3 1
a3 1
DISTNAME=	Pygments-2.5.2
d13 1
a13 2
# circular dependency
#TEST_DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
d15 1
a15 1
PYTHON_VERSIONED_DEPENDENCIES=	test:test
d17 1
a17 1
USE_LANGUAGES=	# none
a26 1
.include "../../lang/python/versioned_dependencies.mk"
@


1.31
log
@py-pygments: updated to 2.5.2

Version 2.5.2

Fix incompatibility with some setuptools versions
Fix lexing of ReST field lists
Fix lexing of Matlab keywords as field names
Recognize double-quoted strings in Matlab
Avoid slow backtracking in Vim lexer
Fix Scala highlighting of types
Highlight field lists more consistently in ReST
Fix highlighting Matlab keywords in field names
Recognize Matlab double quoted strings
Add some Terraform keywords
Update Modelica lexer to 3.4
Update Crystal examples


Version 2.5.1

This release fixes a packaging issue. No functional changes.


Version 2.5.0

Added lexers:

Email
Erlang, Elixir shells
Notmuch
Scdoc
Solidity
Zeek (new name for Bro)
Zig

Updated lexers:

Apache2 Configuration
Bash sessions
CSound
Dart
Dockerfile
Emacs Lisp
Handlebars
Java
Logtalk
Matlab
Praat
Python3
Ruby
YAML
Velocity

Added styles:

Inkpot

The PythonLexer class is now an alias for the former Python3Lexer. The old PythonLexer is available as Python2Lexer. Same change has been done for the PythonTracebackLexer. The python3 option for the PythonConsoleLexer is now true by default.
Bump NasmLexer priority over TasmLexer for .asm files
Default font in the ImageFormatter has been updated
Test suite switched to py.test, removed nose dependency
Reduce TeraTerm lexer score – it used to match nearly all languages
Treat Skylark/Starlark files as Python files
Image formatter: actually respect line_number_separator option
Add LICENSE file to wheel builds
Agda: fix lambda highlighting
Dart: support @@ annotations
Dockerfile: accept FROM ... AS syntax
Emacs Lisp: add more string functions
GAS: accept registers in directive arguments
Java: make structural punctuation (braces, parens, colon, comma) Punctuation, not Operator
Java: support var contextual keyword
Matlab: Fix recognition of function keyword
Python: recognize .jy filenames
Python: recognize f string prefix
Ruby: support squiggly heredocs
Shell sessions: recognize Virtualenv prompt
Velocity: support silent reference syntax
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2020/01/26 17:32:17 rillig Exp $
a12 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
d16 2
d28 1
@


1.30
log
@all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2019/08/03 12:28:49 adam Exp $
d3 1
a3 1
DISTNAME=	Pygments-2.4.2
d13 1
a13 1
TEST_DEPENDS+=	${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
d17 1
a17 1
USE_LANGUAGES=		# none
d20 2
a21 2
	${MV} ${DESTDIR}${PREFIX}/bin/pygmentize \
		${DESTDIR}${PREFIX}/bin/pygmentize-${PYVERSSUFFIX} || ${TRUE}
d24 1
a24 1
	cd ${WRKSRC} && ${PYTHONBIN} tests/run.py
@


1.29
log
@py-pygments: updated to 2.4.2

Version 2.4.2
- Fix encoding error when guessing lexer with given ``encoding`` option


Version 2.4.1
- Updated lexers:
  * Coq
  * MSDOS Session
  * NASM
  * Objective-C
  * Prolog
  * TypeScript
- Support CSS variables in stylesheets
- Fix F# lexer name
- Fix ``TerminalFormatter`` using bold for bright text


Version 2.4.0
- Added lexers:
  * Augeas
  * BBC Basic
  * Boa
  * Charm++ CI
  * DASM16
  * FloScript
  * FreeFem++
  * Hspec
  * Pony
  * SGF
  * Slash
  * Slurm
  * Tera Term Language
  * TOML
  * Unicon
  * VBScript

- Updated lexers:
  * Apache2
  * Cypher
  * LLVM
  * Makefiles
  * PHP
  * Rust
  * SQL
  * Stan
  * Stata
  * Terraform
  * YAML

- Add solarized style
- Add support for Markdown reference-style links
- Add license information to generated HTML/CSS files
- Change ANSI color names
- Fix catastrophic backtracking in the bash lexer
- Fix documentation failing to build using Sphinx 2.0
- Fix incorrect links in the Lisp and R lexer documentation
- Fix rare unicode errors on Python 2.7
- Fix lexers popping from an empty stack
- TypoScript uses ``.typoscript`` now
- Updated Trove classifiers and ``pip`` requirements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2018/12/16 17:56:54 adam Exp $
d9 1
a9 1
HOMEPAGE=	http://pygments.org/
@


1.28
log
@py-pygments: updated to 2.3.1

Version 2.3.1

- Updated lexers:
  * ASM
  * Chapel
  * Clean
  * CSound
  * Elm
  * Fortran
  * GLSL
  * Haskell
  * Hy
  * Igor Pro
  * PowerShell
  * Python
  * SLexer
  * YAML

- Fix invalid string escape sequences
- Fix FutureWarning introduced by regex changes in Python 3.7


Version 2.3.0

- Added lexers:
  * Fennel
  * HLSL

- Updated lexers:
  * Dockerfile

- Minimum Python versions changed to 2.7 and 3.5
- Added support for Python 3.7 generator changes
- Fix incorrect token type in SCSS for single-quote strings
- Use terminal256 formatter if TERM contains 256
- Fix incorrect handling of GitHub style fences in Markdown
- Fix %a not being highlighted in Python3 strings
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2017/02/18 13:09:11 adam Exp $
d3 1
a3 1
DISTNAME=	Pygments-2.3.1
d23 3
@


1.27
log
@Version 2.2.0

- Added lexers:
  * AMPL
  * TypoScript
  * Varnish config
  * Clean
  * WDiff
  * Flatline
  * Silver
  * HSAIL
  * JSGF
  * NCAR command language
  * Extempore
  * Cap'n Proto
  * Whiley
  * Monte
  * Crystal
  * Snowball
  * CapDL
  * NuSMV
  * SAS, Stata
- Added the ability to load lexer and formatter classes directly from files
  with the `-x` command line option and the `lexers.load_lexer_from_file()`
  and `formatters.load_formatter_from_file()` functions.
- Added `lexers.find_lexer_class_by_name()`.
- Added new token types and lexing for magic methods and variables in Python
  and PHP.
- Added a new token type for string affixes and lexing for them in Python, C++
  and Postgresql lexers.
- Added a new token type for heredoc (and similar) string delimiters and
  lexing for them in C++, Perl, PHP, Postgresql and Ruby lexers.
- Styles can now define colors with ANSI colors for use in the 256-color
  terminal formatter.
- Improved the CSS lexer.
- Added "Rainbow Dash" style.
- Delay loading `pkg_resources`, which takes a long while to import.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2017/01/03 13:23:04 jperkin Exp $
d3 1
a3 1
DISTNAME=	Pygments-2.2.0
d13 3
a15 4
# test dependencies
BUILD_DEPENDS+=	${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
# can't depend on sphinx since sphinx depends on pygments
#BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
d20 2
a21 1
	${MV} ${DESTDIR}${PREFIX}/bin/pygmentize ${DESTDIR}${PREFIX}/bin/pygmentize${PYVERSSUFFIX} || ${TRUE}
@


1.26
log
@Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2016/12/15 09:42:49 adam Exp $
d3 1
a3 1
DISTNAME=	Pygments-2.1.3
@


1.25
log
@Version 2.1.3
- Fixed regression in Bash lexer
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2016/08/28 15:48:35 wiz Exp $
d21 1
a21 1
	${MV} ${DESTDIR}${PREFIX}/bin/pygmentize ${DESTDIR}${PREFIX}/bin/pygmentize${PYVERSSUFFIX}
@


1.24
log
@Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2016/06/08 17:43:40 wiz Exp $
d3 1
a3 2
DISTNAME=	Pygments-2.0.2
PKGREVISION=	1
@


1.23
log
@Switch to MASTER_SITES_PYPI.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2016/01/17 16:03:13 wiz Exp $
a19 2
PLIST_SUBST+=		PYVERSSUFFIX=${PYVERSSUFFIX}
FILES_SUBST+=		PYVERSSUFFIX=${PYVERSSUFFIX}
@


1.22
log
@Comment out py-sphinx build dependency since it introduces a cycle.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2016/01/17 14:22:11 wiz Exp $
d7 1
a7 1
MASTER_SITES=	http://pypi.python.org/packages/source/P/Pygments/
@


1.21
log
@Fix for code-injection vulnerability (CVE-2015-8557) from upstream.

From Rin Okuyama in PR 50661.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2015/05/22 08:18:01 adam Exp $
d16 2
a17 1
BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
@


1.20
log
@Changes 2.0.2:
* Fix Python tracebacks getting duplicated in the console lexer
* Backquote-delimited identifiers are now recognized in F#
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2015/03/15 20:13:24 hiramatsu Exp $
d4 1
d14 4
a21 7
.include "../../mk/bsd.prefs.mk"

.if !empty(PKGSRC_RUN_TEST:M[yY][eE][sS])
BUILD_DEPENDS+=	${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
TEST_TARGET=	test
.endif

@


1.20.6.1
log
@Pullup ticket #4900 - requested by wiz
textproc/py-pygments: security fix

Revisions pulled up:
- textproc/py-pygments/Makefile                                 1.21-1.22
- textproc/py-pygments/distinfo                                 1.13
- textproc/py-pygments/patches/patch-img.py                     1.1

---
   Module Name:    pkgsrc
   Committed By:   wiz
   Date:           Sun Jan 17 14:22:11 UTC 2016

   Modified Files:
           pkgsrc/textproc/py-pygments: Makefile distinfo
   Added Files:
           pkgsrc/textproc/py-pygments/patches: patch-img.py

   Log Message:
   Fix for code-injection vulnerability (CVE-2015-8557) from upstream.

   From Rin Okuyama in PR 50661.

---
   Module Name:    pkgsrc
   Committed By:   wiz
   Date:           Sun Jan 17 16:03:13 UTC 2016

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

   Log Message:
   Comment out py-sphinx build dependency since it introduces a cycle.
@
text
@d1 1
a1 1
# $NetBSD$
a3 1
PKGREVISION=	1
a12 5
# test dependencies
BUILD_DEPENDS+=	${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
# can't depend on sphinx since sphinx depends on pygments
#BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx

d17 7
@


1.19
log
@Set MAINTAINER to pkgsrc-users.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2015/01/23 07:07:42 obache Exp $
d3 1
a3 1
DISTNAME=	Pygments-2.0.1
a4 1
PKGREVISION=	1
d13 1
a13 1
USE_LANGUAGES=		#none
@


1.18
log
@PYVERSSUFFIX also must be in FILES_SUBST, for ALTERNATIVES.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2015/01/01 11:36:07 wiz Exp $
d9 1
a9 1
MAINTAINER=	obache@@NetBSD.org
@


1.17
log
@Rename bin/pygmentize to pygmentize${PYVERSSUFFIX} to fix conflict with
other python versions of the same package. Add ALTERNATIVES file.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2014/11/23 15:08:11 wiz Exp $
d16 1
@


1.16
log
@Update to 2.0.1:

Version 2.0.1
-------------
(released Nov 10, 2014)

- Fix an encoding issue when using ``pygmentize`` with the ``-o`` option.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2014/11/19 12:57:55 wiz Exp $
d5 1
d15 1
d24 3
@


1.15
log
@Update to 2.0:

Version 2.0
-----------
(released Nov 9, 2014)

- Default lexer encoding is now "guess", i.e. UTF-8 / Locale / Latin1 is
  tried in that order.

- Major update to Swift lexer (pull request #410).

- Multiple fixes to lexer guessing in conflicting cases:

  * recognize HTML5 by doctype
  * recognize XML by XML declaration
  * don't recognize C/C++ as SystemVerilog

- Simplified regexes and builtin lists.


Version 2.0rc1
--------------
(released Oct 16, 2014)

- Dropped Python 2.4 and 2.5 compatibility.  This is in favor of single-source
  compatibility between Python 2.6, 2.7 and 3.3+.

- New website and documentation based on Sphinx (finally!)

- Lexers added:

  * APL (#969)
  * Agda and Literate Agda (pull request #203)
  * Alloy (pull request #355)
  * AmbientTalk
  * BlitzBasic (pull request #197)
  * ChaiScript (pull request #24)
  * Chapel (pull request #256)
  * Cirru (pull request #275)
  * Clay (pull request #184)
  * ColdFusion CFC (pull request #283)
  * Cryptol and Literate Cryptol (pull request #344)
  * Cypher (pull request #257)
  * Docker config files
  * EBNF (pull request #193)
  * Eiffel (pull request #273)
  * GAP (pull request #311)
  * Golo (pull request #309)
  * Handlebars (pull request #186)
  * Hy (pull request #238)
  * Idris and Literate Idris (pull request #210)
  * Igor Pro (pull request #172)
  * Inform 6/7 (pull request #281)
  * Intel objdump (pull request #279)
  * Isabelle (pull request #386)
  * Jasmin (pull request #349)
  * JSON-LD (pull request #289)
  * Kal (pull request #233)
  * Lean (pull request #399)
  * LSL (pull request #296)
  * Limbo (pull request #291)
  * Liquid (#977)
  * MQL (pull request #285)
  * MaskJS (pull request #280)
  * Mozilla preprocessors
  * Mathematica (pull request #245)
  * NesC (pull request #166)
  * Nit (pull request #375)
  * Nix (pull request #267)
  * Pan
  * Pawn (pull request #211)
  * Perl 6 (pull request #181)
  * Pig (pull request #304)
  * Pike (pull request #237)
  * QBasic (pull request #182)
  * Red (pull request #341)
  * ResourceBundle (#1038)
  * Rexx (pull request #199)
  * Rql (pull request #251)
  * Rsl
  * SPARQL (pull request #78)
  * Slim (pull request #366)
  * Swift (pull request #371)
  * Swig (pull request #168)
  * TADS 3 (pull request #407)
  * Todo.txt todo lists
  * Twig (pull request #404)

- Added a helper to "optimize" regular expressions that match one of many
  literal words; this can save 20% and more lexing time with lexers that
  highlight many keywords or builtins.

- New styles: "xcode" and "igor", similar to the default highlighting of
  the respective IDEs.

- The command-line "pygmentize" tool now tries a little harder to find the
  correct encoding for files and the terminal (#979).

- Added "inencoding" option for lexers to override "encoding" analogous
  to "outencoding" (#800).

- Added line-by-line "streaming" mode for pygmentize with the "-s" option.
  (pull request #165)  Only fully works for lexers that have no constructs spanning
  lines!

- Added an "envname" option to the LaTeX formatter to select a replacement
  verbatim environment (pull request #235).

- Updated the Makefile lexer to yield a little more useful highlighting.

- Lexer aliases passed to ``get_lexer_by_name()`` are now case-insensitive.

- File name matching in lexers and formatters will now use a regex cache
  for speed (pull request #205).

- Pygments will now recognize "vim" modelines when guessing the lexer for
  a file based on content (pull request #118).

- Major restructure of the ``pygments.lexers`` module namespace.  There are now
  many more modules with less lexers per module.  Old modules are still around
  and re-export the lexers they previously contained.

- The NameHighlightFilter now works with any Name.* token type (#790).

- Python 3 lexer: add new exceptions from PEP 3151.

- Opa lexer: add new keywords (pull request #170).

- Julia lexer: add keywords and underscore-separated number
  literals (pull request #176).

- Lasso lexer: fix method highlighting, update builtins. Fix
  guessing so that plain XML isn't always taken as Lasso (pull request #163).

- Objective C/C++ lexers: allow "@@" prefixing any expression (#871).

- Ruby lexer: fix lexing of Name::Space tokens (#860) and of symbols
  in hashes (#873).

- Stan lexer: update for version 2.4.0 of the language (pull request #162, PR#255, PR#377).

- JavaScript lexer: add the "yield" keyword (pull request #196).

- HTTP lexer: support for PATCH method (pull request #190).

- Koka lexer: update to newest language spec (pull request #201).

- Haxe lexer: rewrite and support for Haxe 3 (pull request #174).

- Prolog lexer: add different kinds of numeric literals (#864).

- F# lexer: rewrite with newest spec for F# 3.0 (#842), fix a bug with
  dotted chains (#948).

- Kotlin lexer: general update (pull request #271).

- Rebol lexer: fix comment detection and analyse_text (pull request #261).

- LLVM lexer: update keywords to v3.4 (pull request #258).

- PHP lexer: add new keywords and binary literals (pull request #222).

- external/markdown-processor.py updated to newest python-markdown (pull request #221).

- CSS lexer: some highlighting order fixes (pull request #231).

- Ceylon lexer: fix parsing of nested multiline comments (#915).

- C family lexers: fix parsing of indented preprocessor directives (#944).

- Rust lexer: update to 0.9 language version (pull request #270, PR#388).

- Elixir lexer: update to 0.15 language version (pull request #392).

- Fix swallowing incomplete tracebacks in Python console lexer (#874).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2014/01/25 10:30:25 wiz Exp $
d3 1
a3 1
DISTNAME=	Pygments-2.0
@


1.14
log
@Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2013/03/03 07:31:30 obache Exp $
d3 1
a3 1
DISTNAME=	Pygments-1.6
@


1.13
log
@Update Pygments to 1.6.

Version 1.6
-----------
(released Feb 3, 2013)

- Lexers added:

  * Dylan console (PR#149)
  * Logos (PR#150)
  * Shell sessions (PR#158)

- Fix guessed lexers not receiving lexer options (#838).

- Fix unquoted HTML attribute lexing in Opa (#841).

- Fixes to the Dart lexer (PR#160).


Version 1.6rc1
--------------
(released Jan 9, 2013)

- Lexers added:

  * AspectJ (PR#90)
  * AutoIt (PR#122)
  * BUGS-like languages (PR#89)
  * Ceylon (PR#86)
  * Croc (new name for MiniD)
  * CUDA (PR#75)
  * Dg (PR#116)
  * IDL (PR#115)
  * Jags (PR#89)
  * Julia (PR#61)
  * Kconfig (#711)
  * Lasso (PR#95, PR#113)
  * LiveScript (PR#84)
  * Monkey (PR#117)
  * Mscgen (PR#80)
  * NSIS scripts (PR#136)
  * OpenCOBOL (PR#72)
  * QML (PR#123)
  * Puppet (PR#133)
  * Racket (PR#94)
  * Rdoc (PR#99)
  * Robot Framework (PR#137)
  * RPM spec files (PR#124)
  * Rust (PR#67)
  * Smali (Dalvik assembly)
  * SourcePawn (PR#39)
  * Stan (PR#89)
  * Treetop (PR#125)
  * TypeScript (PR#114)
  * VGL (PR#12)
  * Visual FoxPro (#762)
  * Windows Registry (#819)
  * Xtend (PR#68)

- The HTML formatter now supports linking to tags using CTags files, when the
  python-ctags package is installed (PR#87).

- The HTML formatter now has a "linespans" option that wraps every line in a
   tag with a specific id (PR#82).

- When deriving a lexer from another lexer with token definitions, definitions
  for states not in the child lexer are now inherited.  If you override a state
  in the child lexer, an "inherit" keyword has been added to insert the base
  state at that position (PR#141).

- The C family lexers now inherit token definitions from a common base class,
  removing code duplication (PR#141).

- Use "colorama" on Windows for console color output (PR#142).

- Fix Template Haskell highlighting (PR#63).

- Fix some S/R lexer errors (PR#91).

- Fix a bug in the Prolog lexer with names that start with 'is' (#810).

- Rewrite Dylan lexer, add Dylan LID lexer (PR#147).

- Add a Java quickstart document (PR#146).

- Add a "external/autopygmentize" file that can be used as .lessfilter (#802).
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.12 2012/10/25 06:56:51 asau Exp $
#
a14 2
PYTHON_VERSIONS_INCLUDE_3X=	yes

@


1.12
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2012/10/17 22:16:36 wiz Exp $
d4 1
a4 1
DISTNAME=	Pygments-1.5
@


1.11
log
@Allow python-3.x.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2012/04/17 17:35:25 drochner Exp $
a13 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.10
log
@update to 1.5
changes:
-many more lexers
-bugfixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2012/02/04 12:35:12 obache Exp $
d18 2
@


1.9
log
@No compiler is requilred.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2011/02/28 08:54:04 obache Exp $
d4 1
a4 1
DISTNAME=	Pygments-1.4
@


1.8
log
@Update Pygments to 1.4.
While here, add PKG_RUN_TEST support.

Version 1.4
-----------
(codename Unschärfe, released Jan 03, 2010)

- Lexers added:

  * Factor (#520)
  * PostScript (#486)
  * Verilog (#491)
  * BlitzMax Basic (#478)
  * Ioke (#465)
  * Java properties, split out of the INI lexer (#445)
  * Scss (#509)
  * Duel/JBST
  * XQuery (#617)
  * Mason (#615)
  * GoodData (#609)
  * SSP (#473)
  * Autohotkey (#417)
  * Google Protocol Buffers
  * Hybris (#506)

- Do not fail in analyse_text methods (#618).

- Performance improvements in the HTML formatter (#523).

- With the ``noclasses`` option in the HTML formatter, some styles
  present in the stylesheet were not added as inline styles.

- Four fixes to the Lua lexer (#480, #481, #482, #497).

- More context-sensitive Gherkin lexer with support for more i18n translations.

- Support new OO keywords in Matlab lexer (#521).

- Small fix in the CoffeeScript lexer (#519).

- A bugfix for backslashes in ocaml strings (#499).

- Fix unicode/raw docstrings in the Python lexer (#489).

- Allow PIL to work without PIL.pth (#502).

- Allow seconds as a unit in CSS (#496).

- Support ``application/javascript`` as a JavaScript mime type (#504).

- Support `Offload `_ C++ Extensions as
  keywords in the C++ lexer (#484).

- Escape more characters in LaTeX output (#505).

- Update Haml/Sass lexers to version 3 (#509).

- Small PHP lexer string escaping fix (#515).

- Support comments before preprocessor directives, and unsigned/
  long long literals in C/C++ (#613, #616).

- Support line continuations in the INI lexer (#494).

- Fix lexing of Dylan string and char literals (#628).

- Fix class/procedure name highlighting in VB.NET lexer (#624).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2010/03/10 14:06:55 obache Exp $
d16 2
@


1.7
log
@Update pygments to 1.3.1.
While here, fixes(?) LICENSE from modified-bsd to 2-clause-bsd.

Version 1.3.1
-------------
(bugfix release, released Mar 05, 2010)

- The ``pygmentize`` script was missing from the distribution.


Version 1.3
-----------
(codename Schneeglöckchen, released Mar 01, 2010)

- Added the ``ensurenl`` lexer option, which can be used to suppress the
  automatic addition of a newline to the lexer input.

- Lexers added:

  * Ada
  * Coldfusion
  * Modula-2
  * haXe
  * R console
  * Objective-J
  * Haml and Sass
  * CoffeeScript

- Enhanced reStructuredText highlighting.

- Added support for PHP 5.3 namespaces in the PHP lexer.

- Added a bash completion script for `pygmentize`, to the external/
  directory (#466).

- Fixed a bug in `do_insertions()` used for multi-lexer languages.

- Fixed a Ruby regex highlighting bug (#476).

- Fixed regex highlighting bugs in Perl lexer (#258).

- Add small enhancements to the C lexer (#467) and Bash lexer (#469).

- Small fixes for the Tcl, Debian control file, Nginx config,
  Smalltalk, Objective-C, Clojure, Lua lexers.

- Gherkin lexer: Fixed single apostrophe bug and added new i18n keywords.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2010/02/11 12:57:38 joerg Exp $
d4 1
a4 1
DISTNAME=	Pygments-1.3.1
d16 7
@


1.6
log
@Update to Pygments 1.2.2:
- Various bugfixes and improvements to the lexers
- New lexers for Antlr/Ragel, Asymptote, Ba(sh), Erlang shell, Go, Gherkin,
  GLSL, Prolog, Evoque, Modelica, Rebol, MXML, Cython, ABAP, ASP.net,
  Vala, Newspeak, CMake and OOC
- New style: Monokai
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2009/05/19 08:59:36 wiz Exp $
d4 1
a4 1
DISTNAME=	Pygments-1.2.2
d12 1
a12 1
LICENSE=	modified-bsd
@


1.5
log
@Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT
block). Uncomment some commented out LICENSE lines while here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2009/05/12 13:45:01 obache Exp $
d4 1
a4 1
DISTNAME=	Pygments-1.0
@


1.4
log
@Update Pygments to 1.0.
While here, set LICENSE.

Version 1.0
-----------
(codename Dreiundzwanzig, released Nov 23, 2008)

- Don't use join(splitlines()) when converting newlines to ``\n``,
  because that doesn't keep all newlines at the end when the
  ``stripnl`` lexer option is False.

- Add ``-N`` option to command-line interface to get a lexer name
  for a given filename.

- Add Tango style, written by Andre Roberge for the Crunchy project.

- Add Python3TracebackLexer and ``python3`` option to
  PythonConsoleLexer.

- Fix a few bugs in the Haskell lexer.

- Fix PythonTracebackLexer to be able to recognize SyntaxError and
  KeyboardInterrupt (#360).

- Provide one formatter class per image format, so that surprises like::

    pygmentize -f gif -o foo.gif foo.py

  creating a PNG file are avoided.

- Actually use the `font_size` option of the image formatter.

- Fixed numpy lexer that it doesn't listen for `*.py` any longer.

- Fixed HTML formatter so that text options can be Unicode
  strings (#371).

- Unified Diff lexer supports the "udiff" alias now.

- Fix a few issues in Scala lexer (#367).

- RubyConsoleLexer now supports simple prompt mode (#363).

- JavascriptLexer is smarter about what constitutes a regex (#356).

- Add Applescript lexer, thanks to Andreas Amann (#330).

- Make the codetags more strict about matching words (#368).

- NginxConfLexer is a little more accurate on mimetypes and
  variables (#370).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2008/11/18 07:29:11 obache Exp $
a11 1

@


1.3
log
@Update Pygments to 0.11.1.

Pygments changelog
==================

Version 0.11.1
--------------
(released Aug 24, 2008)

- Fix a Jython compatibility issue in pygments.unistring (#358).


Version 0.11
------------
(codename Straußenei, released Aug 23, 2008)

Many thanks go to Tim Hatch for writing or integrating most of the bug
fixes and new features.

- Lexers added:

  * Nasm-style assembly language, thanks to delroth
  * YAML, thanks to Kirill Simonov
  * ActionScript 3, thanks to Pierre Bourdon
  * Cheetah/Spitfire templates, thanks to Matt Good
  * Lighttpd config files
  * Nginx config files
  * Gnuplot plotting scripts
  * Clojure
  * POV-Ray scene files
  * Sqlite3 interactive console sessions
  * Scala source files, thanks to Krzysiek Goj

- Lexers improved:
  * C lexer highlights standard library functions now and supports C99
    types.
  * Bash lexer now correctly highlights heredocs without preceding
    whitespace.
  * Vim lexer now highlights hex colors properly and knows a couple
    more keywords.
  * Irc logs lexer now handles xchat's default time format (#340) and
    correctly highlights lines ending in ``>``.
  * Support more delimiters for perl regular expressions (#258).
  * ObjectiveC lexer now supports 2.0 features.

- Added "Visual Studio" style.

- Updated markdown processor to Markdown 1.7.

- Support roman/sans/mono style defs and use them in the LaTeX
  formatter.

- The RawTokenFormatter is no longer registered to ``*.raw`` and it's
  documented that tokenization with this lexer may raise exceptions.

- New option ``hl_lines`` to HTML formatter, to highlight certain
  lines.

- New option ``prestyles`` to HTML formatter.

- New option *-g* to pygmentize, to allow lexer guessing based on
  filetext (can be slowish, so file extensions are still checked
  first).

- ``guess_lexer()`` now makes its decision much faster due to a cache
  of whether data is xml-like (a check which is used in several
  versions of ``analyse_text()``.  Several lexers also have more
  accurate ``analyse_text()`` now.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2008/09/12 05:32:38 epg Exp $
d4 1
a4 1
DISTNAME=	Pygments-0.11.1
d13 2
@


1.2
log
@Default EGG_NAME to ${DISTNAME} in egg.mk and drop EGG_NAME from packages that
set it to ${DISTNAME}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2008/08/01 08:31:38 obache Exp $
d4 1
a4 1
DISTNAME=	Pygments-0.10
d7 1
a7 2
MASTER_SITES=	http://pypi.python.org/packages/source/P/Pygments/	\
		${MASTER_SITE_SOURCEFORGE:=pygments/}
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
a5 1
EGG_NAME=	${DISTNAME}
@


1.1.1.1
log
@Import py24-pygments-0.10 as textproc/py-pygments.

Pygments is a syntax highlighting package written in Python.

It is a generic syntax highlighter for general use in all kinds of software
such as forum systems, wikis or other applications that need to prettify
source code. Highlights are:

* a wide range of common languages and markup formats is supported
* special attention is paid to details, increasing quality by a fair amount
* support for new languages and formats are added easily
* a number of output formats, presently HTML, LaTeX, RTF and ANSI sequences
* it is usable as a command-line tool and as a library
* ... and it highlights even Brainfuck!
@
text
@@