./textproc/py-pygments, Python syntax highlighter

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


Branch: CURRENT, Version: 2.2.0, Package name: py27-pygments-2.2.0, 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:
[devel/py-nose] [pkgtools/cwrappers]

Master sites:

SHA1: 5c6714bd6fd950c1478889f7b72fc7f6771d5163
RMD160: 8c676e2a67d76148573abcd44a927e6d762abb6b
Filesize: 2064.398 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797)
Log message:
Add SHA512 digests for distfiles for textproc category

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.