pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-pygments py-pygments: updated to 2.5.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/eb01f3d6c3a3
branches: trunk
changeset: 412600:eb01f3d6c3a3
user: adam <adam%pkgsrc.org@localhost>
date: Mon Mar 09 18:34:23 2020 +0000
description:
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
diffstat:
textproc/py-pygments/Makefile | 14 +++++++-------
textproc/py-pygments/PLIST | 23 ++++++++++++++++++++++-
textproc/py-pygments/distinfo | 10 +++++-----
3 files changed, 34 insertions(+), 13 deletions(-)
diffs (130 lines):
diff -r 6b76c7bff131 -r eb01f3d6c3a3 textproc/py-pygments/Makefile
--- a/textproc/py-pygments/Makefile Mon Mar 09 17:36:43 2020 +0000
+++ b/textproc/py-pygments/Makefile Mon Mar 09 18:34:23 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2020/01/26 17:32:17 rillig Exp $
+# $NetBSD: Makefile,v 1.31 2020/03/09 18:34:23 adam Exp $
-DISTNAME= Pygments-2.4.2
+DISTNAME= Pygments-2.5.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pygments/}
@@ -10,18 +10,18 @@
COMMENT= Python syntax highlighter
LICENSE= 2-clause-bsd
-TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
# circular dependency
#TEST_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
-USE_LANGUAGES= # none
+USE_LANGUAGES= # none
post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/pygmentize \
- ${DESTDIR}${PREFIX}/bin/pygmentize-${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} pygmentize pygmentize-${PYVERSSUFFIX} || ${TRUE}
do-test:
- cd ${WRKSRC} && ${PYTHONBIN} tests/run.py
+ cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 6b76c7bff131 -r eb01f3d6c3a3 textproc/py-pygments/PLIST
--- a/textproc/py-pygments/PLIST Mon Mar 09 17:36:43 2020 +0000
+++ b/textproc/py-pygments/PLIST Mon Mar 09 18:34:23 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2019/08/03 12:28:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2020/03/09 18:34:23 adam Exp $
bin/pygmentize-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -9,6 +9,9 @@
${PYSITELIB}/pygments/__init__.py
${PYSITELIB}/pygments/__init__.pyc
${PYSITELIB}/pygments/__init__.pyo
+${PYSITELIB}/pygments/__main__.py
+${PYSITELIB}/pygments/__main__.pyc
+${PYSITELIB}/pygments/__main__.pyo
${PYSITELIB}/pygments/cmdline.py
${PYSITELIB}/pygments/cmdline.pyc
${PYSITELIB}/pygments/cmdline.pyo
@@ -222,6 +225,9 @@
${PYSITELIB}/pygments/lexers/elm.py
${PYSITELIB}/pygments/lexers/elm.pyc
${PYSITELIB}/pygments/lexers/elm.pyo
+${PYSITELIB}/pygments/lexers/email.py
+${PYSITELIB}/pygments/lexers/email.pyc
+${PYSITELIB}/pygments/lexers/email.pyo
${PYSITELIB}/pygments/lexers/erlang.py
${PYSITELIB}/pygments/lexers/erlang.pyc
${PYSITELIB}/pygments/lexers/erlang.pyo
@@ -330,6 +336,9 @@
${PYSITELIB}/pygments/lexers/matlab.py
${PYSITELIB}/pygments/lexers/matlab.pyc
${PYSITELIB}/pygments/lexers/matlab.pyo
+${PYSITELIB}/pygments/lexers/mime.py
+${PYSITELIB}/pygments/lexers/mime.pyc
+${PYSITELIB}/pygments/lexers/mime.pyo
${PYSITELIB}/pygments/lexers/ml.py
${PYSITELIB}/pygments/lexers/ml.pyc
${PYSITELIB}/pygments/lexers/ml.pyo
@@ -429,6 +438,9 @@
${PYSITELIB}/pygments/lexers/sas.py
${PYSITELIB}/pygments/lexers/sas.pyc
${PYSITELIB}/pygments/lexers/sas.pyo
+${PYSITELIB}/pygments/lexers/scdoc.py
+${PYSITELIB}/pygments/lexers/scdoc.pyc
+${PYSITELIB}/pygments/lexers/scdoc.pyo
${PYSITELIB}/pygments/lexers/scripting.py
${PYSITELIB}/pygments/lexers/scripting.pyc
${PYSITELIB}/pygments/lexers/scripting.pyo
@@ -450,6 +462,9 @@
${PYSITELIB}/pygments/lexers/snobol.py
${PYSITELIB}/pygments/lexers/snobol.pyc
${PYSITELIB}/pygments/lexers/snobol.pyo
+${PYSITELIB}/pygments/lexers/solidity.py
+${PYSITELIB}/pygments/lexers/solidity.pyc
+${PYSITELIB}/pygments/lexers/solidity.pyo
${PYSITELIB}/pygments/lexers/special.py
${PYSITELIB}/pygments/lexers/special.pyc
${PYSITELIB}/pygments/lexers/special.pyo
@@ -519,6 +534,9 @@
${PYSITELIB}/pygments/lexers/xorg.py
${PYSITELIB}/pygments/lexers/xorg.pyc
${PYSITELIB}/pygments/lexers/xorg.pyo
+${PYSITELIB}/pygments/lexers/zig.py
+${PYSITELIB}/pygments/lexers/zig.pyc
+${PYSITELIB}/pygments/lexers/zig.pyo
${PYSITELIB}/pygments/modeline.py
${PYSITELIB}/pygments/modeline.pyc
${PYSITELIB}/pygments/modeline.pyo
@@ -579,6 +597,9 @@
${PYSITELIB}/pygments/styles/igor.py
${PYSITELIB}/pygments/styles/igor.pyc
${PYSITELIB}/pygments/styles/igor.pyo
+${PYSITELIB}/pygments/styles/inkpot.py
+${PYSITELIB}/pygments/styles/inkpot.pyc
+${PYSITELIB}/pygments/styles/inkpot.pyo
${PYSITELIB}/pygments/styles/lovelace.py
${PYSITELIB}/pygments/styles/lovelace.pyc
${PYSITELIB}/pygments/styles/lovelace.pyo
diff -r 6b76c7bff131 -r eb01f3d6c3a3 textproc/py-pygments/distinfo
--- a/textproc/py-pygments/distinfo Mon Mar 09 17:36:43 2020 +0000
+++ b/textproc/py-pygments/distinfo Mon Mar 09 18:34:23 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.17 2019/08/03 12:28:49 adam Exp $
+$NetBSD: distinfo,v 1.18 2020/03/09 18:34:23 adam Exp $
-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
+SHA1 (Pygments-2.5.2.tar.gz) = 6d2dc431070cdfe1bb48b7684aadca56b5c522ed
+RMD160 (Pygments-2.5.2.tar.gz) = e38d8d2e69af42784f2b7235ba5ee464df71901b
+SHA512 (Pygments-2.5.2.tar.gz) = d6715ca26cdb68d4c771bb530b2395805025c14c78d9099b033d3410ea239c41033fb611e43e39cbaa4ac38078a09324d8cfde42269129be0a096dcc13586859
+Size (Pygments-2.5.2.tar.gz) = 20263984 bytes
Home |
Main Index |
Thread Index |
Old Index