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
This commit is contained in:
adam 2019-08-03 12:28:49 +00:00
parent d44ee5da77
commit d7dded3c49
3 changed files with 47 additions and 11 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.28 2018/12/16 17:56:54 adam Exp $
# $NetBSD: Makefile,v 1.29 2019/08/03 12:28:49 adam Exp $
DISTNAME= Pygments-2.3.1
DISTNAME= Pygments-2.4.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pygments/}
@ -20,5 +20,8 @@ post-install:
${MV} ${DESTDIR}${PREFIX}/bin/pygmentize \
${DESTDIR}${PREFIX}/bin/pygmentize-${PYVERSSUFFIX} || ${TRUE}
do-test:
cd ${WRKSRC} && ${PYTHONBIN} tests/run.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.14 2018/12/16 17:56:54 adam Exp $
@comment $NetBSD: PLIST,v 1.15 2019/08/03 12:28:49 adam Exp $
bin/pygmentize-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@ -114,6 +114,9 @@ ${PYSITELIB}/pygments/lexers/_stata_builtins.pyo
${PYSITELIB}/pygments/lexers/_tsql_builtins.py
${PYSITELIB}/pygments/lexers/_tsql_builtins.pyc
${PYSITELIB}/pygments/lexers/_tsql_builtins.pyo
${PYSITELIB}/pygments/lexers/_vbscript_builtins.py
${PYSITELIB}/pygments/lexers/_vbscript_builtins.pyc
${PYSITELIB}/pygments/lexers/_vbscript_builtins.pyo
${PYSITELIB}/pygments/lexers/_vim_builtins.py
${PYSITELIB}/pygments/lexers/_vim_builtins.pyc
${PYSITELIB}/pygments/lexers/_vim_builtins.pyo
@ -150,6 +153,9 @@ ${PYSITELIB}/pygments/lexers/basic.pyo
${PYSITELIB}/pygments/lexers/bibtex.py
${PYSITELIB}/pygments/lexers/bibtex.pyc
${PYSITELIB}/pygments/lexers/bibtex.pyo
${PYSITELIB}/pygments/lexers/boa.py
${PYSITELIB}/pygments/lexers/boa.pyc
${PYSITELIB}/pygments/lexers/boa.pyo
${PYSITELIB}/pygments/lexers/business.py
${PYSITELIB}/pygments/lexers/business.pyc
${PYSITELIB}/pygments/lexers/business.pyo
@ -234,6 +240,9 @@ ${PYSITELIB}/pygments/lexers/fantom.pyo
${PYSITELIB}/pygments/lexers/felix.py
${PYSITELIB}/pygments/lexers/felix.pyc
${PYSITELIB}/pygments/lexers/felix.pyo
${PYSITELIB}/pygments/lexers/floscript.py
${PYSITELIB}/pygments/lexers/floscript.pyc
${PYSITELIB}/pygments/lexers/floscript.pyo
${PYSITELIB}/pygments/lexers/forth.py
${PYSITELIB}/pygments/lexers/forth.pyc
${PYSITELIB}/pygments/lexers/forth.pyo
@ -243,6 +252,9 @@ ${PYSITELIB}/pygments/lexers/fortran.pyo
${PYSITELIB}/pygments/lexers/foxpro.py
${PYSITELIB}/pygments/lexers/foxpro.pyc
${PYSITELIB}/pygments/lexers/foxpro.pyo
${PYSITELIB}/pygments/lexers/freefem.py
${PYSITELIB}/pygments/lexers/freefem.pyc
${PYSITELIB}/pygments/lexers/freefem.pyo
${PYSITELIB}/pygments/lexers/functional.py
${PYSITELIB}/pygments/lexers/functional.pyc
${PYSITELIB}/pygments/lexers/functional.pyo
@ -372,6 +384,9 @@ ${PYSITELIB}/pygments/lexers/perl.pyo
${PYSITELIB}/pygments/lexers/php.py
${PYSITELIB}/pygments/lexers/php.pyc
${PYSITELIB}/pygments/lexers/php.pyo
${PYSITELIB}/pygments/lexers/pony.py
${PYSITELIB}/pygments/lexers/pony.pyc
${PYSITELIB}/pygments/lexers/pony.pyo
${PYSITELIB}/pygments/lexers/praat.py
${PYSITELIB}/pygments/lexers/praat.pyc
${PYSITELIB}/pygments/lexers/praat.pyo
@ -417,9 +432,15 @@ ${PYSITELIB}/pygments/lexers/sas.pyo
${PYSITELIB}/pygments/lexers/scripting.py
${PYSITELIB}/pygments/lexers/scripting.pyc
${PYSITELIB}/pygments/lexers/scripting.pyo
${PYSITELIB}/pygments/lexers/sgf.py
${PYSITELIB}/pygments/lexers/sgf.pyc
${PYSITELIB}/pygments/lexers/sgf.pyo
${PYSITELIB}/pygments/lexers/shell.py
${PYSITELIB}/pygments/lexers/shell.pyc
${PYSITELIB}/pygments/lexers/shell.pyo
${PYSITELIB}/pygments/lexers/slash.py
${PYSITELIB}/pygments/lexers/slash.pyc
${PYSITELIB}/pygments/lexers/slash.pyo
${PYSITELIB}/pygments/lexers/smalltalk.py
${PYSITELIB}/pygments/lexers/smalltalk.pyc
${PYSITELIB}/pygments/lexers/smalltalk.pyo
@ -447,6 +468,9 @@ ${PYSITELIB}/pygments/lexers/tcl.pyo
${PYSITELIB}/pygments/lexers/templates.py
${PYSITELIB}/pygments/lexers/templates.pyc
${PYSITELIB}/pygments/lexers/templates.pyo
${PYSITELIB}/pygments/lexers/teraterm.py
${PYSITELIB}/pygments/lexers/teraterm.pyc
${PYSITELIB}/pygments/lexers/teraterm.pyo
${PYSITELIB}/pygments/lexers/testing.py
${PYSITELIB}/pygments/lexers/testing.pyc
${PYSITELIB}/pygments/lexers/testing.pyo
@ -468,6 +492,9 @@ ${PYSITELIB}/pygments/lexers/trafficscript.pyo
${PYSITELIB}/pygments/lexers/typoscript.py
${PYSITELIB}/pygments/lexers/typoscript.pyc
${PYSITELIB}/pygments/lexers/typoscript.pyo
${PYSITELIB}/pygments/lexers/unicon.py
${PYSITELIB}/pygments/lexers/unicon.pyc
${PYSITELIB}/pygments/lexers/unicon.pyo
${PYSITELIB}/pygments/lexers/urbi.py
${PYSITELIB}/pygments/lexers/urbi.pyc
${PYSITELIB}/pygments/lexers/urbi.pyo
@ -588,9 +615,15 @@ ${PYSITELIB}/pygments/styles/rrt.pyo
${PYSITELIB}/pygments/styles/sas.py
${PYSITELIB}/pygments/styles/sas.pyc
${PYSITELIB}/pygments/styles/sas.pyo
${PYSITELIB}/pygments/styles/stata.py
${PYSITELIB}/pygments/styles/stata.pyc
${PYSITELIB}/pygments/styles/stata.pyo
${PYSITELIB}/pygments/styles/solarized.py
${PYSITELIB}/pygments/styles/solarized.pyc
${PYSITELIB}/pygments/styles/solarized.pyo
${PYSITELIB}/pygments/styles/stata_dark.py
${PYSITELIB}/pygments/styles/stata_dark.pyc
${PYSITELIB}/pygments/styles/stata_dark.pyo
${PYSITELIB}/pygments/styles/stata_light.py
${PYSITELIB}/pygments/styles/stata_light.pyc
${PYSITELIB}/pygments/styles/stata_light.pyo
${PYSITELIB}/pygments/styles/tango.py
${PYSITELIB}/pygments/styles/tango.pyc
${PYSITELIB}/pygments/styles/tango.pyo

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.16 2018/12/16 17:56:54 adam Exp $
$NetBSD: distinfo,v 1.17 2019/08/03 12:28:49 adam Exp $
SHA1 (Pygments-2.3.1.tar.gz) = 88f8da2d10cb21362a9e04b154932892c2695670
RMD160 (Pygments-2.3.1.tar.gz) = 28d5989a475da06733ccf67b18dad1ca3b3cebfb
SHA512 (Pygments-2.3.1.tar.gz) = 2c36cb42f8dd62e04b7664b5e87f951a8428ccbb6dbe5b5b43d8c7e6923ada0ab55a231bb8e9ed79eb5a85344ed64d3acc8e7bc991ab1f49c58eb612b8002c1e
Size (Pygments-2.3.1.tar.gz) = 3124216 bytes
SHA1 (Pygments-2.4.2.tar.gz) = 5296c3b92ef0cbb8f4abede623be4a89e4f0f3c9
RMD160 (Pygments-2.4.2.tar.gz) = 08dba6d508c7d0077d43a3cff7cdc6afece63be6
SHA512 (Pygments-2.4.2.tar.gz) = c8f378700e99d9e5701ac7e27363921dbabab50a910686aafda1e016c813e99915fcfeed8298323b9b681b3d81f4265ab9a5bb75b8cdff0668c9eff745337b66
Size (Pygments-2.4.2.tar.gz) = 9405880 bytes