./textproc/py-pygments, Python syntax highlighter

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


Branch: CURRENT, Version: 2.3.1, Package name: py27-pygments-2.3.1, 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/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 88f8da2d10cb21362a9e04b154932892c2695670
RMD160: 28d5989a475da06733ccf67b18dad1ca3b3cebfb
Filesize: 3050.992 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2016-08-28 17:48:37 by Thomas Klausner | Files touched by this commit (112)
Log message:
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.
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
Switch to MASTER_SITES_PYPI.
   2016-01-17 17:03:13 by Thomas Klausner | Files touched by this commit (1)
Log message:
Comment out py-sphinx build dependency since it introduces a cycle.
   2016-01-17 15:22:11 by Thomas Klausner | Files touched by this commit (3)
Log message:
Fix for code-injection vulnerability (CVE-2015-8557) from upstream.

From Rin Okuyama in PR 50661.