diff options
author | adam <adam@pkgsrc.org> | 2018-12-16 17:56:54 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-12-16 17:56:54 +0000 |
commit | 26804710297f96db3ad306742fa5aa42eac4df5c (patch) | |
tree | 0400c4ece0161ebfcd114331bf4ef7486b04f201 /textproc/py-pygments | |
parent | 9d95a40ed4ae070e71efad19c1d51287861c192a (diff) | |
download | pkgsrc-26804710297f96db3ad306742fa5aa42eac4df5c.tar.gz |
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
Diffstat (limited to 'textproc/py-pygments')
-rw-r--r-- | textproc/py-pygments/ALTERNATIVES | 2 | ||||
-rw-r--r-- | textproc/py-pygments/Makefile | 14 | ||||
-rw-r--r-- | textproc/py-pygments/PLIST | 7 | ||||
-rw-r--r-- | textproc/py-pygments/distinfo | 10 |
4 files changed, 18 insertions, 15 deletions
diff --git a/textproc/py-pygments/ALTERNATIVES b/textproc/py-pygments/ALTERNATIVES index 5fea61e0634..4c73e7ab30a 100644 --- a/textproc/py-pygments/ALTERNATIVES +++ b/textproc/py-pygments/ALTERNATIVES @@ -1 +1 @@ -bin/pygmentize @PREFIX@/bin/pygmentize@PYVERSSUFFIX@ +bin/pygmentize @PREFIX@/bin/pygmentize-@PYVERSSUFFIX@ diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile index 12b59b8f487..90f6e153347 100644 --- a/textproc/py-pygments/Makefile +++ b/textproc/py-pygments/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.27 2017/02/18 13:09:11 adam Exp $ +# $NetBSD: Makefile,v 1.28 2018/12/16 17:56:54 adam Exp $ -DISTNAME= Pygments-2.2.0 +DISTNAME= Pygments-2.3.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pygments/} @@ -10,15 +10,15 @@ HOMEPAGE= http://pygments.org/ COMMENT= Python syntax highlighter LICENSE= 2-clause-bsd -# test dependencies -BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose -# can't depend on sphinx since sphinx depends on pygments -#BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx +TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose +# circular dependency +#TEST_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx USE_LANGUAGES= # none post-install: - ${MV} ${DESTDIR}${PREFIX}/bin/pygmentize ${DESTDIR}${PREFIX}/bin/pygmentize${PYVERSSUFFIX} || ${TRUE} + ${MV} ${DESTDIR}${PREFIX}/bin/pygmentize \ + ${DESTDIR}${PREFIX}/bin/pygmentize-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-pygments/PLIST b/textproc/py-pygments/PLIST index 8cf43b2e817..302d8f3d594 100644 --- a/textproc/py-pygments/PLIST +++ b/textproc/py-pygments/PLIST @@ -1,5 +1,5 @@ -@comment $NetBSD: PLIST,v 1.13 2017/02/18 13:09:11 adam Exp $ -bin/pygmentize${PYVERSSUFFIX} +@comment $NetBSD: PLIST,v 1.14 2018/12/16 17:56:54 adam Exp $ +bin/pygmentize-${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -489,6 +489,9 @@ ${PYSITELIB}/pygments/lexers/whiley.pyo ${PYSITELIB}/pygments/lexers/x10.py ${PYSITELIB}/pygments/lexers/x10.pyc ${PYSITELIB}/pygments/lexers/x10.pyo +${PYSITELIB}/pygments/lexers/xorg.py +${PYSITELIB}/pygments/lexers/xorg.pyc +${PYSITELIB}/pygments/lexers/xorg.pyo ${PYSITELIB}/pygments/modeline.py ${PYSITELIB}/pygments/modeline.pyc ${PYSITELIB}/pygments/modeline.pyo diff --git a/textproc/py-pygments/distinfo b/textproc/py-pygments/distinfo index e8e694da1bd..f8341fbb308 100644 --- a/textproc/py-pygments/distinfo +++ b/textproc/py-pygments/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.15 2017/02/18 13:09:11 adam Exp $ +$NetBSD: distinfo,v 1.16 2018/12/16 17:56:54 adam Exp $ -SHA1 (Pygments-2.2.0.tar.gz) = 5c6714bd6fd950c1478889f7b72fc7f6771d5163 -RMD160 (Pygments-2.2.0.tar.gz) = 8c676e2a67d76148573abcd44a927e6d762abb6b -SHA512 (Pygments-2.2.0.tar.gz) = cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29 -Size (Pygments-2.2.0.tar.gz) = 2113944 bytes +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 |