From 38557375ae77f5a74beba02a12566aacff938375 Mon Sep 17 00:00:00 2001 From: obache Date: Tue, 12 May 2009 13:45:01 +0000 Subject: Update Pygments to 1.0. While here, set LICENSE. Version 1.0 ----------- (codename Dreiundzwanzig, released Nov 23, 2008) - Don't use join(splitlines()) when converting newlines to ``\n``, because that doesn't keep all newlines at the end when the ``stripnl`` lexer option is False. - Add ``-N`` option to command-line interface to get a lexer name for a given filename. - Add Tango style, written by Andre Roberge for the Crunchy project. - Add Python3TracebackLexer and ``python3`` option to PythonConsoleLexer. - Fix a few bugs in the Haskell lexer. - Fix PythonTracebackLexer to be able to recognize SyntaxError and KeyboardInterrupt (#360). - Provide one formatter class per image format, so that surprises like:: pygmentize -f gif -o foo.gif foo.py creating a PNG file are avoided. - Actually use the `font_size` option of the image formatter. - Fixed numpy lexer that it doesn't listen for `*.py` any longer. - Fixed HTML formatter so that text options can be Unicode strings (#371). - Unified Diff lexer supports the "udiff" alias now. - Fix a few issues in Scala lexer (#367). - RubyConsoleLexer now supports simple prompt mode (#363). - JavascriptLexer is smarter about what constitutes a regex (#356). - Add Applescript lexer, thanks to Andreas Amann (#330). - Make the codetags more strict about matching words (#368). - NginxConfLexer is a little more accurate on mimetypes and variables (#370). --- textproc/py-pygments/Makefile | 6 ++++-- textproc/py-pygments/PLIST | 5 ++++- textproc/py-pygments/distinfo | 8 ++++---- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/textproc/py-pygments/Makefile b/textproc/py-pygments/Makefile index e61fa880a3f..b59b3d09f85 100644 --- a/textproc/py-pygments/Makefile +++ b/textproc/py-pygments/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2008/11/18 07:29:11 obache Exp $ +# $NetBSD: Makefile,v 1.4 2009/05/12 13:45:01 obache Exp $ # -DISTNAME= Pygments-0.11.1 +DISTNAME= Pygments-1.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} CATEGORIES= textproc python MASTER_SITES= http://pypi.python.org/packages/source/P/Pygments/ @@ -10,6 +10,8 @@ MAINTAINER= obache@NetBSD.org HOMEPAGE= http://pygments.org/ COMMENT= Python syntax highlighter +LICENSE= modified-bsd + PKG_DESTDIR_SUPPORT= user-destdir .include "../../lang/python/egg.mk" diff --git a/textproc/py-pygments/PLIST b/textproc/py-pygments/PLIST index 9db3740bf51..06e93ea377b 100644 --- a/textproc/py-pygments/PLIST +++ b/textproc/py-pygments/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2008/11/18 07:29:11 obache Exp $ +@comment $NetBSD: PLIST,v 1.3 2009/05/12 13:45:01 obache Exp $ bin/pygmentize ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -162,6 +162,9 @@ ${PYSITELIB}/pygments/styles/pastie.pyo ${PYSITELIB}/pygments/styles/perldoc.py ${PYSITELIB}/pygments/styles/perldoc.pyc ${PYSITELIB}/pygments/styles/perldoc.pyo +${PYSITELIB}/pygments/styles/tango.py +${PYSITELIB}/pygments/styles/tango.pyc +${PYSITELIB}/pygments/styles/tango.pyo ${PYSITELIB}/pygments/styles/trac.py ${PYSITELIB}/pygments/styles/trac.pyc ${PYSITELIB}/pygments/styles/trac.pyo diff --git a/textproc/py-pygments/distinfo b/textproc/py-pygments/distinfo index f531e50abda..c11d96479a6 100644 --- a/textproc/py-pygments/distinfo +++ b/textproc/py-pygments/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2008/11/18 07:29:11 obache Exp $ +$NetBSD: distinfo,v 1.3 2009/05/12 13:45:01 obache Exp $ -SHA1 (Pygments-0.11.1.tar.gz) = 1209029a1b06c779c523e71a33d096ec7f1237d1 -RMD160 (Pygments-0.11.1.tar.gz) = a0ff959c56a4754ec17141f59c0679e7f2a073da -Size (Pygments-0.11.1.tar.gz) = 865977 bytes +SHA1 (Pygments-1.0.tar.gz) = b71e33147fc402e361227b30e1f589eecafd42a7 +RMD160 (Pygments-1.0.tar.gz) = aa9d4816bb1bd1b67a5e6ac0f94d9ae3410df71b +Size (Pygments-1.0.tar.gz) = 930751 bytes -- cgit v1.2.3