pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-pygments



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Mar  9 18:34:23 UTC 2020

Modified Files:
        pkgsrc/textproc/py-pygments: Makefile PLIST distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/textproc/py-pygments/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/textproc/py-pygments/PLIST
cvs rdiff -u -r1.17 -r1.18 pkgsrc/textproc/py-pygments/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-pygments/Makefile
diff -u pkgsrc/textproc/py-pygments/Makefile:1.30 pkgsrc/textproc/py-pygments/Makefile:1.31
--- pkgsrc/textproc/py-pygments/Makefile:1.30   Sun Jan 26 17:32:17 2020
+++ pkgsrc/textproc/py-pygments/Makefile        Mon Mar  9 18:34:23 2020
@@ -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 @@ HOMEPAGE=   https://pygments.org/
 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"

Index: pkgsrc/textproc/py-pygments/PLIST
diff -u pkgsrc/textproc/py-pygments/PLIST:1.15 pkgsrc/textproc/py-pygments/PLIST:1.16
--- pkgsrc/textproc/py-pygments/PLIST:1.15      Sat Aug  3 12:28:49 2019
+++ pkgsrc/textproc/py-pygments/PLIST   Mon Mar  9 18:34:23 2020
@@ -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}/${EGG_INFODIR}/top_level.tx
 ${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/eiffel.pyo
 ${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/math.pyo
 ${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/rust.pyo
 ${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/smv.pyo
 ${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/x10.pyo
 ${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/fruity.pyo
 ${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

Index: pkgsrc/textproc/py-pygments/distinfo
diff -u pkgsrc/textproc/py-pygments/distinfo:1.17 pkgsrc/textproc/py-pygments/distinfo:1.18
--- pkgsrc/textproc/py-pygments/distinfo:1.17   Sat Aug  3 12:28:49 2019
+++ pkgsrc/textproc/py-pygments/distinfo        Mon Mar  9 18:34:23 2020
@@ -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