./textproc/py-pygments, Python syntax highlighter

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.5.2, Package name: py37-pygments-2.5.2, Maintainer: pkgsrc-users

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


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 6d2dc431070cdfe1bb48b7684aadca56b5c522ed
RMD160: e38d8d2e69af42784f2b7235ba5ee464df71901b
Filesize: 19789.047 KB

Version history: (Expand)


CVS history: (Expand)


   2020-05-17 23:38:47 by Adam Ciarcinski | Files touched by this commit (14)
Log message:
pytest from versioned depends
   2020-03-09 19:34:23 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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
   2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981)
Log message:
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.
   2019-08-03 14:28:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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
   2018-12-16 18:56:54 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
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
   2017-02-18 14:09:11 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
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.
   2017-01-03 14:23:05 by Jonathan Perkin | Files touched by this commit (52)
Log message:
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in \ 
post-install targets.
   2016-12-15 10:42:49 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
Version 2.1.3
- Fixed regression in Bash lexer