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.3.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ddffdf0793c
branches:  trunk
changeset: 388944:6ddffdf0793c
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Dec 16 17:56:54 2018 +0000

description:
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:

 textproc/py-pygments/ALTERNATIVES |   2 +-
 textproc/py-pygments/Makefile     |  14 +++++++-------
 textproc/py-pygments/PLIST        |   7 +++++--
 textproc/py-pygments/distinfo     |  10 +++++-----
 4 files changed, 18 insertions(+), 15 deletions(-)

diffs (75 lines):

diff -r 3d7dee2f2e44 -r 6ddffdf0793c textproc/py-pygments/ALTERNATIVES
--- a/textproc/py-pygments/ALTERNATIVES Sun Dec 16 14:54:59 2018 +0000
+++ b/textproc/py-pygments/ALTERNATIVES Sun Dec 16 17:56:54 2018 +0000
@@ -1,1 +1,1 @@
-bin/pygmentize @PREFIX@/bin/pygmentize@PYVERSSUFFIX@
+bin/pygmentize @PREFIX@/bin/pygmentize-@PYVERSSUFFIX@
diff -r 3d7dee2f2e44 -r 6ddffdf0793c textproc/py-pygments/Makefile
--- a/textproc/py-pygments/Makefile     Sun Dec 16 14:54:59 2018 +0000
+++ b/textproc/py-pygments/Makefile     Sun Dec 16 17:56:54 2018 +0000
@@ -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 @@
 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 -r 3d7dee2f2e44 -r 6ddffdf0793c textproc/py-pygments/PLIST
--- a/textproc/py-pygments/PLIST        Sun Dec 16 14:54:59 2018 +0000
+++ b/textproc/py-pygments/PLIST        Sun Dec 16 17:56:54 2018 +0000
@@ -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/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 -r 3d7dee2f2e44 -r 6ddffdf0793c textproc/py-pygments/distinfo
--- a/textproc/py-pygments/distinfo     Sun Dec 16 14:54:59 2018 +0000
+++ b/textproc/py-pygments/distinfo     Sun Dec 16 17:56:54 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index