summaryrefslogtreecommitdiff
path: root/textproc/py-pygments
AgeCommit message (Collapse)AuthorFilesLines
2022-11-28Fix _PYTHON_VERSION check to avoid errorabs1-2/+2
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
2022-09-05Revert previous - this seems to be only papering over a not yet discoveredmartin1-6/+5
bug somewhere else that (sometimes) makes _PYTHON_VERSION non-numerical.
2022-09-04Comment out broken comparision .if ${_PYTHON_VERSION} < 38martin1-5/+6
make[7]: "/usr/pkgsrc/textproc/py-pygments/Makefile" line 22: String comparison operator must be either == or !=
2022-08-16py-pygments: updated to 2.13.0adam3-7/+28
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
2022-04-26py-pygments: updated to 2.12.0adam3-7/+47
Version 2.12.0 -------------- - Added lexers: * Cplint * Macaulay2 * Minecraft * Qlik * ``UnixConfigLexer`` for "colon-separated" config files, like ``/etc/passwd`` - Updated lexers: * Agda: Update keyword list * C family: Fix identifiers after ``case`` statements * Clojure: Highlight ratios * Csound: Update to 6.17 * CSS: Update the list of properties * Elpi: - Fix catastrophic backtracking - Fix handling of ``->`` * Futhark: Add missing tokens * Gherkin: Add ``But`` * Inform6: Update to 6.36 * JSON: Support C comments in JSON * LilyPond: - Fix incorrect lexing of names containing a built-in - Fix properties containing dashes * PHP: Update builtin function and keyword list * Scheme: Various improvements * Spice: Update the keyword list, add new types * Terraform: - Support non-idiomatic comments - Fix class name lexing - Add ``plugins`` argument to ``get_all_lexers()``. - Bump minimal Python version to 3.6 - Fix multiple lexers marking whitespace as ``Text`` - Remove various redundant uses of ``re.UNICODE`` - Associate ``.resource`` with the Robot framework - Associate ``.cljc`` with Clojure - Associate ``.tpp`` with C++ - Remove traces of Python 2 from the documentation - The ``native`` style was updated to meet the WCAG AAA contrast guidelines - Fix various typos - Fix ``Groff`` formatter not inheriting token styles correctly - Various improvements to the CI - The Ada lexer has been moved to a separate file - When ``linenos=table`` is used, the ``<table>`` itself is now wrapped with a ``<div class="highlight">`` tag instead of placing it inside the ``<td class="code">`` cell
2022-01-07py-pygments: updated to 2.11.2adam2-7/+6
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
2022-01-05python: egg.mk: add USE_PKG_RESOURCES flagwiz1-2/+4
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.
2022-01-04*: bump PKGREVISION for egg.mk userswiz1-1/+2
They now have a tool dependency on py-setuptools instead of a DEPENDS
2021-12-30py-pygments: updated to 2.11.0adam3-8/+54
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``
2021-10-26textproc: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./textproc/convertlit/distinfo clit18src.zip
2021-10-07textproc: Remove SHA1 hashes for distfilesnia1-2/+1
2021-08-25py-pygments: updated to 2.10.0adam3-9/+27
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
2021-05-06py-pygments: updated to 2.9.0adam3-8/+35
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 `<td>` holding the code, but outside the `<pre>`. This would invariably break the alignment with line numbers. * Now if `filename` is specified, a separate `<tr>` is emitted before the table content which contains a single `<th>` with `colspan=2` so it spans both the line number and code columns. The filename is still within `<span class="filename">...</span>` 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
2021-04-06py-pygments: updated to 2.8.1adam3-13/+74
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 ``<table>`` 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 ``<pre>``, once via ``<span class="special">``. 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
2020-05-17pytest from versioned dependsadam1-2/+4
2020-03-09py-pygments: updated to 2.5.2adam3-13/+34
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
2020-01-26all: migrate homepages from http to httpsrillig1-2/+2
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.
2019-08-03py-pygments: updated to 2.4.2adam3-11/+47
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
2018-12-16py-pygments: updated to 2.3.1adam4-15/+18
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
2017-02-18Version 2.2.0adam3-8/+74
- 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.
2017-01-03Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.jperkin1-2/+2
2016-12-15Version 2.1.3adam4-73/+74
- Fixed regression in Bash lexer
2016-08-28Remove unnecessary PLIST_SUBST and FILES_SUBST that are now providedwiz1-3/+1
by the infrastructure. Mark a couple more packages as not ready for python-3.x.
2016-06-08Switch to MASTER_SITES_PYPI.wiz1-2/+2
2016-01-17Comment out py-sphinx build dependency since it introduces a cycle.wiz1-2/+3
2016-01-17Fix for code-injection vulnerability (CVE-2015-8557) from upstream.wiz3-9/+71
From Rin Okuyama in PR 50661.
2015-11-04Add SHA512 digests for distfiles for textproc categoryagc1-1/+2
Problems found locating distfiles: Package cabocha: missing distfile cabocha-0.68.tar.bz2 Package convertlit: missing distfile clit18src.zip Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-05-22Changes 2.0.2:adam2-8/+7
* Fix Python tracebacks getting duplicated in the console lexer * Backquote-delimited identifiers are now recognized in F#
2015-03-15Set MAINTAINER to pkgsrc-users.hiramatsu1-2/+2
2015-01-23PYVERSSUFFIX also must be in FILES_SUBST, for ALTERNATIVES.obache1-1/+2
2015-01-01Rename bin/pygmentize to pygmentize${PYVERSSUFFIX} to fix conflict withwiz3-3/+9
other python versions of the same package. Add ALTERNATIVES file. Bump PKGREVISION.
2014-11-23Update to 2.0.1:wiz2-6/+6
Version 2.0.1 ------------- (released Nov 10, 2014) - Fix an encoding issue when using ``pygmentize`` with the ``-o`` option.
2014-11-19Update to 2.0:wiz3-34/+280
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).
2014-01-25Mark packages as not ready for python-3.x where applicable;wiz1-4/+1
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.
2013-03-03Update Pygments to 1.6.obache3-7/+28
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 <span> 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).
2012-10-25Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-17Allow python-3.x.wiz1-1/+3
2012-07-30Remove redundant and unnecessary item from description. (Okayed byreed1-1/+0
maintainer.)
2012-04-17update to 1.5drochner3-7/+25
changes: -many more lexers -bugfixes
2012-02-04No compiler is requilred.obache1-1/+3
2011-02-28Update Pygments to 1.4.obache3-7/+17
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 <http://offload.codeplay.com>`_ 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).
2010-03-10Update pygments to 1.3.1.obache3-8/+9
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.
2010-02-11Update to Pygments 1.2.2:joerg3-8/+16
- 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
2009-06-14Remove @dirrm entries from PLISTsjoerg1-7/+1
2009-05-19Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENTwiz1-2/+1
block). Uncomment some commented out LICENSE lines while here.
2009-05-12Update Pygments to 1.0.obache3-7/+12
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).
2008-11-18Update Pygments to 0.11.1.obache3-9/+11
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.
2008-09-12Default EGG_NAME to ${DISTNAME} in egg.mk and drop EGG_NAME from packages thatepg1-2/+1
set it to ${DISTNAME}.
2008-08-01Import py24-pygments-0.10 as textproc/py-pygments.obache4-0/+220
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!